# Maintainer: A. Wilcox pkgname=libsm pkgver=1.2.2 pkgrel=2 pkgdesc="X11 session management library" url="https://www.X.Org/" arch="all" license="MIT AND X11" depends= makedepends="libice-dev util-linux-dev util-macros xmlto xorgproto-dev xtrans" checkdepends="check-dev" subpackages="$pkgname-dev $pkgname-doc" source="https://www.X.Org/releases/individual/lib/libSM-$pkgver.tar.bz2" builddir="$srcdir"/libSM-$pkgver build() { cd "$builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc \ --with-libuuid \ --enable-docs \ --with-xmlto \ --without-fop make } check() { cd "$builddir" make check } package() { cd "$builddir" make DESTDIR="$pkgdir" install install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING } sha512sums="dfb91dcc7200fce8d0a62953ae4b81fcb00d525674bbcc6dfcaa23ecb35e1213ceb07cc51f590072dce2107909903160d9f3636a0434fe2a605b1e9a9bd0a6ca libSM-1.2.2.tar.bz2"