summaryrefslogtreecommitdiffstats
path: root/main/libsm/APKBUILD
blob: fbf28f6bd77e54b6c57c6be41c85ec49c836758f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libsm
pkgver=1.2.0
pkgrel=0
pkgdesc="X11 Session Management library"
url="http://xorg.freedesktop.org/"
arch="x86 x86_64"
license="custom"
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"

depends_dev="libice-dev xproto"

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
}
md5sums="e78c447bf1790552b644eca81b542742  libSM-1.2.0.tar.bz2"