summaryrefslogtreecommitdiff
path: root/user/appres/APKBUILD
blob: 0f8b4de4128e481d8c713927598ec9877f9b0dce (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
# Contributor: Dan Theisen <djt@hxx.in>
# Maintainer: Dan Theisen <djt@hxx.in>
pkgname=appres
pkgver=1.0.7
pkgrel=0
pkgdesc="list X application resource database"
url="https://www.X.org/"
arch="all"
license="X11"
depends=""
makedepends="libx11-dev libxt-dev xproto meson"
subpackages="$pkgname-doc"
source="https://www.x.org/releases/individual/app/$pkgname-$pkgver.tar.xz"

build() {
	meson setup \
		-Dprefix=/usr \
		-Dsysconfdir=/etc \
		-Dmandir=/usr/share/man \
		-Dlocalstatedir=/var \
		build
	meson compile -C build
}

check() {
	meson test -C build
}

package() {
	DESTDIR="$pkgdir" meson install -C build
}

sha512sums="5948f869124dd7160ffe109b0fc7ccdca45c3b3f551a382a0bcf2c2af9e3832b0d4451e2868ca93a38de8e8e2caf1946ac72936b3256e99a32437d0ddd937a60  appres-1.0.7.tar.xz"