diff options
Diffstat (limited to 'user')
-rw-r--r-- | user/libsm/APKBUILD | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/user/libsm/APKBUILD b/user/libsm/APKBUILD new file mode 100644 index 000000000..0f5a773b0 --- /dev/null +++ b/user/libsm/APKBUILD @@ -0,0 +1,41 @@ +# 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" |