summaryrefslogtreecommitdiffstats
path: root/main/libxfixes/APKBUILD
blob: 7fc8ba0a90a06fd213aa93bf8f79dd39620cc014 (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=libxfixes
pkgver=5.0
pkgrel=0
pkgdesc="X11 miscellaneous 'fixes' extension library"
url="http://xorg.freedesktop.org/"
arch="all"
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="678071bd7f9f7467e2fc712d81022318  libXfixes-5.0.tar.bz2"