aboutsummaryrefslogtreecommitdiffstats
path: root/main/libxau/APKBUILD
blob: ed0cb7f218eb05a3a30aee34bea4c6f35102988d (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
29
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libxau
pkgver=1.0.7
pkgrel=0
pkgdesc="X11 authorisation library"
url="http://xorg.freedesktop.org/"
arch="all"
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
	rm "$pkgdir"/usr/lib/*.la || return 1
	install -m755 -d "$pkgdir"/usr/share/licenses/$pkgname
	install -m644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING || return 1
}
md5sums="2d241521df40d27034413436d1a1465c  libXau-1.0.7.tar.bz2"