APKBUILD 829 Bytes
Newer Older
Natanael Copa's avatar
Natanael Copa committed
1 2
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libxcomposite
3 4
pkgver=0.4.2
pkgrel=0
Natanael Copa's avatar
Natanael Copa committed
5 6 7 8 9 10 11 12 13
pkgdesc="X11 Composite extension library"
url="http://xorg.freedesktop.org/"
license="custom"
subpackages="$pkgname-dev $pkgname-doc"
depends=
makedepends="pkgconfig libxfixes-dev libxext-dev compositeproto"
source="http://xorg.freedesktop.org//releases/individual/lib/libXcomposite-$pkgver.tar.bz2"

depends_dev="xproto compositeproto libxfixes-dev libx11-dev libxext-dev"
14 15 16
_builddir="$srcdir"/libXcomposite-$pkgver
build() {
	cd "$_builddir"
Natanael Copa's avatar
Natanael Copa committed
17 18 19
	./configure --prefix=/usr \
		--sysconfdir=/etc
	make || return 1
20 21 22 23
}

package() {
	cd "$_builddir"
Natanael Copa's avatar
Natanael Copa committed
24 25 26 27
	make DESTDIR="$pkgdir" install || return 1
	install -D -m644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}

28
md5sums="e38dc98509149083f6c31b49b484e63c  libXcomposite-0.4.2.tar.bz2"