aboutsummaryrefslogtreecommitdiffstats
path: root/main/libxfixes/APKBUILD
blob: df130f988e072499543c73d6833141cdc2d38e17 (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
27
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libxfixes
pkgver=5.0
pkgrel=1
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
	rm "$pkgdir"/usr/lib/*.la || return 1
}
md5sums="678071bd7f9f7467e2fc712d81022318  libXfixes-5.0.tar.bz2"