aboutsummaryrefslogtreecommitdiffstats
path: root/main/libxfixes/APKBUILD
blob: a7315f6e290f128a84686f91addcfe6fecc66b88 (plain) (blame)
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=libxfixes
pkgver=4.0.5
pkgrel=0
pkgdesc="X11 miscellaneous 'fixes' extension library"
url="http://xorg.freedesktop.org/"
arch="x86 x86_64"
license="custom"
depends=
makedepends="pkgconfig xproto libx11-dev fixesproto xextproto"
subpackages="$pkgname-dev $pkgname-doc"
source="http://xorg.freedesktop.org/releases/individual/lib/libXfixes-$pkgver.tar.bz2"

depends_dev="xproto fixesproto libx11-dev"
_builddir="$srcdir"/libXfixes-$pkgver
build() {
	cd "$_builddir"
	./configure --prefix=/usr --sysconfdir=/etc --build=${CHOST} --host=${CHOST}
	make || return 1
}

package() {
	cd "$_builddir"
	make DESTDIR="$pkgdir" install || return 1
}
md5sums="1b4b8386bd5d1751b2c7177223ad4629  libXfixes-4.0.5.tar.bz2"