summaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
Diffstat (limited to 'main')
-rw-r--r--main/libsm/APKBUILD8
1 files changed, 6 insertions, 2 deletions
diff --git a/main/libsm/APKBUILD b/main/libsm/APKBUILD
index 63a7303c5..1628e677a 100644
--- a/main/libsm/APKBUILD
+++ b/main/libsm/APKBUILD
@@ -1,11 +1,11 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libsm
pkgver=1.1.1
-pkgrel=1
+pkgrel=2
pkgdesc="X11 Session Management library"
url="http://xorg.freedesktop.org/"
license="custom"
-depends="libice libuuid"
+depends=
subpackages="$pkgname-dev $pkgname-doc"
makedepends="pkgconfig libice-dev e2fsprogs-dev xproto xtrans"
source="http://xorg.freedesktop.org/releases/individual/lib/libSM-$pkgver.tar.bz2"
@@ -16,6 +16,10 @@ build () {
cd "$srcdir"/libSM-$pkgver
./configure --prefix=/usr --sysconfdir=/etc || return 1
make || return 1
+}
+
+package() {
+ cd "$srcdir"/libSM-$pkgver
make DESTDIR="$pkgdir" install || return 1
install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
}