APKBUILD 879 Bytes
Newer Older
Natanael Copa's avatar
Natanael Copa committed
1 2
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libxcomposite
3
pkgver=0.4.3
4
pkgrel=2
Natanael Copa's avatar
Natanael Copa committed
5 6
pkgdesc="X11 Composite extension library"
url="http://xorg.freedesktop.org/"
7
arch="all"
Natanael Copa's avatar
Natanael Copa committed
8 9 10 11 12 13 14
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"
15 16 17
_builddir="$srcdir"/libXcomposite-$pkgver
build() {
	cd "$_builddir"
Natanael Copa's avatar
Natanael Copa committed
18 19 20
	./configure --prefix=/usr \
		--sysconfdir=/etc
	make || return 1
21 22 23 24
}

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

30
md5sums="a60e0b5c276d0aa9e2d3b982c98f61c8  libXcomposite-0.4.3.tar.bz2"