summaryrefslogtreecommitdiffstats
path: root/main/libxau/APKBUILD
blob: 9de33f4861a6cc9206af611a81e7f3c43b3d9c14 (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.5
pkgrel=3
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="993b3185c629e4b89401fca072dcb663  libXau-1.0.5.tar.bz2"