summaryrefslogtreecommitdiff
path: root/user/libxau/APKBUILD
blob: 0cce6002e64df130d86142700c0c5e6f378ec139 (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
34
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=libxau
pkgver=1.0.10
pkgrel=0
pkgdesc="X11 authorisation library"
url="https://www.X.Org/"
arch="all"
license="X11"
depends=""
makedepends="xorgproto-dev util-macros"
subpackages="$pkgname-dev $pkgname-doc"
source="https://www.X.Org/releases/individual/lib/libXau-$pkgver.tar.xz"
builddir="$srcdir"/libXau-$pkgver

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc
	make
}

check() {
	make check
}

package() {
	make DESTDIR="$pkgdir" install
	install -m755 -d "$pkgdir"/usr/share/licenses/$pkgname
	install -m644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
}

sha512sums="e56a862a7bbccb108c9683eeb8b643d2587a121dd96982e1e7edc5bd0b676302d244bfaa750afc7fb2ad31df8b825095d779b6e2ab2c76f94e47095d90071ebb  libXau-1.0.10.tar.xz"