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

depends_dev="xproto"

build() {
	cd "$srcdir"/libXau-$pkgver
	./configure --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="4a2cbd83727682f9ee1c1e719bac6adb  libXau-1.0.6.tar.bz2"