summaryrefslogtreecommitdiffstats
path: root/main/libxau/APKBUILD
blob: b0ee7ce566bd55e14461286640d1bec260f7450f (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=libxau
pkgver=1.0.6
pkgrel=0
pkgdesc="X11 authorisation library"
url="http://xorg.freedesktop.org/"
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"