summaryrefslogtreecommitdiff
path: root/user/libxext/APKBUILD
blob: 70f0f9b4ef95ba4114bdbf4a4e98fd824d80ddee (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
27
28
29
30
31
32
33
34
35
36
37
38
39
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=libxext
pkgver=1.3.3
pkgrel=3
pkgdesc="X11 miscellaneous extensions library"
url="https://www.X.Org/"
arch="all"
license="X11"
depends=
depends_dev="libxau-dev"
makedepends="$depends_dev libx11-dev util-macros xmlto xorgproto"
subpackages="$pkgname-dev $pkgname-doc"
source="https://www.X.Org/releases/individual/lib/libXext-$pkgver.tar.bz2
	"
builddir="$srcdir"/libXext-$pkgver

build() {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--with-xmlto \
		--without-fop
	make
}

check() {
	cd "$builddir"
	make check
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
}

sha512sums="669d61545d10b999872addbf5628127840a221cbeaafb5ffa4328e0e0e1823583ece973bcafd5f13852ed58d4b0fe313a35f304ac80c6ed2b382cbbca977761a  libXext-1.3.3.tar.bz2"