summaryrefslogtreecommitdiff
path: root/user/xcb-util-xrm/APKBUILD
blob: dfdefaba7baccb81ebafee097d7174434ddd3841 (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
35
# Contributor: William Pitcock <nenolod@dereferenced.org>
# Contributor: Jakub Skrzypnik <j.skrzypnik@openmailbox.org>
# Maintainer: Dan Theisen <djt@hxx.in>
pkgname=xcb-util-xrm
pkgver=1.3
pkgrel=0
pkgdesc="Utility functions for the X resource manager"
url="https://github.com/Airblader/xcb-util-xrm"
arch="all"
license="MIT"
depends=""
makedepends="m4 bsd-compat-headers libx11-dev libxcb-dev util-macros xcb-util-dev"
subpackages="$pkgname-dev"
source="https://github.com/Airblader/$pkgname/releases/download/v$pkgver/$pkgname-$pkgver.tar.gz"

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

check() {
	make check
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="d8a427ed6d1f1568ce58db9b89284e4fafcc7b7929c31bccf70e5ccd91f3f6cb9c87ff25c4e64d95b0c6215cfecde6c0ee2b3a18759817aea3169ba87602c5de  xcb-util-xrm-1.3.tar.gz"