aboutsummaryrefslogtreecommitdiffstats
path: root/main/libxau/APKBUILD
blob: cd5217fda8be00241986095e441a01e8ea1611c3 (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libxau
pkgver=1.0.8
pkgrel=1
pkgdesc="X11 authorisation library"
url="http://xorg.freedesktop.org/"
arch="all"
license="custom"
depends=
makedepends="xproto"
subpackages="$pkgname-dev $pkgname-doc"
source="http://xorg.freedesktop.org/releases/individual/lib/libXau-$pkgver.tar.bz2"

build() {
	cd "$srcdir"/libXau-$pkgver
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		|| return 1
	make || return 1
}

package() {
	cd "$srcdir"/libXau-$pkgver
	make DESTDIR="$pkgdir" install || return 1
	install -m755 -d "$pkgdir"/usr/share/licenses/$pkgname
	install -m644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING || return 1
}
md5sums="685f8abbffa6d145c0f930f00703b21b  libXau-1.0.8.tar.bz2"
sha256sums="fdd477320aeb5cdd67272838722d6b7d544887dfe7de46e1e7cc0c27c2bea4f2  libXau-1.0.8.tar.bz2"
sha512sums="9f933d22f8f2411ae770094589cbe170c631a1437d572664e0fa6b9608e6ec39deef752f2dd6408ab45acdf01bf1827ef3ced640a33da787d9cfb546f12397b5  libXau-1.0.8.tar.bz2"