summaryrefslogtreecommitdiffstats
path: root/main/xcb-util/APKBUILD
blob: cc2731bafb1dbd44eda5d21c85c40780251679a6 (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xcb-util
pkgver=0.3.8
pkgrel=2
pkgdesc="Utility libraries for XC Binding"
url="http://xcb.freedesktop.org"
arch="all"
license="GPL"
subpackages="$pkgname-dev"
depends=
depends_dev="libxcb-dev"
makedepends="m4 $depends_dev gperf pkgconfig"
source="http://xcb.freedesktop.org/dist/$pkgname-$pkgver.tar.bz2"

build() {
	cd "$srcdir"/$pkgname-$pkgver
	./configure --prefix=/usr --disable-static || return 1
	make || return 1
}

package() {
	cd "$srcdir"/$pkgname-$pkgver
	make DESTDIR="$pkgdir" install || return 1
	rm "$pkgdir"/usr/lib/*.la || return 1
}
md5sums="8ce019c4bbf20dce246b98f177cfccff  xcb-util-0.3.8.tar.bz2"