blob: 0f5a773b07dd8c4a6736865bb6c20aaad5ac4949 (
plain) (
tree)
|
|
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
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"
|