summaryrefslogtreecommitdiff
path: root/user
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-06 00:33:12 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-06 00:33:12 -0500
commitaaa6bc3b8dbec92ade35443d4053a94bd973b6c0 (patch)
treeee07a70d4bdda94bcd43b18a573cc3ec82c9b8c0 /user
parent38724b2f5a798f0c77f83bf4d9626fa0bc07dc9b (diff)
downloadpackages-aaa6bc3b8dbec92ade35443d4053a94bd973b6c0.tar.gz
packages-aaa6bc3b8dbec92ade35443d4053a94bd973b6c0.tar.bz2
packages-aaa6bc3b8dbec92ade35443d4053a94bd973b6c0.tar.xz
packages-aaa6bc3b8dbec92ade35443d4053a94bd973b6c0.zip
user/libSM: pull in, take, fix
Diffstat (limited to 'user')
-rw-r--r--user/libsm/APKBUILD41
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"