APP=libsm
VERSION=1.2.3
BUILD=1sml
HOMEPAGE="https://xorg.freedesktop.org/"
DOWNLOAD="https://xorg.freedesktop.org/releases/individual/lib/libSM-1.2.3.tar.gz"
DESC="X11 Session Management library"
REQUIRES="util-linux xorgproto xorg-macros xtrans libice"

build() {
  mkandenterbuilddir
  rm -rf libSM-$VERSION

  tar xf $SRCDIR/libSM-$VERSION.tar.?z*
  cd libSM-$VERSION
  fixbuilddirpermissions

  ./configure \
    --prefix="" \
    --disable-static

  make
  make install DESTDIR=$PKG

  cp COPYING $PKGDOCS/

  mkfinalpkg
}

SHA512SUMS="
9442e1fe1cc4cebf304fa1b84af60e59d10dda9486bf6aef0b338153647f2d3826d0c86a4594695718b2ffd70004ebbd4162514e163db3b2c941b5bad2470129  libSM-1.2.3.tar.xz
"
