summaryrefslogtreecommitdiffstats
path: root/main/libxext/APKBUILD
blob: 1561fa3735274aee1045837b059049b5095b5bef (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=libxext
pkgver=1.3.1
pkgrel=0
pkgdesc="X11 miscellaneous extensions library"
url="http://xorg.freedesktop.org/"
arch="all"
license="custom"
depends=
makedepends="pkgconfig xproto xextproto libx11-dev libxau-dev"
subpackages="$pkgname-dev $pkgname-doc"
source="http://xorg.freedesktop.org/releases/individual/lib/libXext-$pkgver.tar.bz2"

depends_dev="xextproto libx11-dev libxau-dev"
build() {
	cd "$srcdir"/libXext-$pkgver
	./configure --prefix=/usr --sysconfdir=/etc
	make
}

package() {
	cd "$srcdir"/libXext-$pkgver
	make DESTDIR="$pkgdir" install || return 1
	rm "$pkgdir"/usr/lib/*.la || return 1
}
md5sums="71251a22bc47068d60a95f50ed2ec3cf  libXext-1.3.1.tar.bz2"