summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Theisen <djt@hxx.in>2018-09-25 13:20:02 -0700
committerDan Theisen <djt@hxx.in>2018-09-25 14:12:20 -0700
commit8447866656dbaf47548205e1c1c23a432bdac1d3 (patch)
tree488581f7912284568180689dab496a7ef83922c5
parentbcbf02c88923b122ed03cb9ab6b727838c60d2f7 (diff)
downloadpackages-8447866656dbaf47548205e1c1c23a432bdac1d3.tar.gz
packages-8447866656dbaf47548205e1c1c23a432bdac1d3.tar.bz2
packages-8447866656dbaf47548205e1c1c23a432bdac1d3.tar.xz
packages-8447866656dbaf47548205e1c1c23a432bdac1d3.zip
user/xcb-util-xrm: new package, import from alpine and fix up
-rw-r--r--user/xcb-util-xrm/APKBUILD37
1 files changed, 37 insertions, 0 deletions
diff --git a/user/xcb-util-xrm/APKBUILD b/user/xcb-util-xrm/APKBUILD
new file mode 100644
index 000000000..d368f1544
--- /dev/null
+++ b/user/xcb-util-xrm/APKBUILD
@@ -0,0 +1,37 @@
+# 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"
+makedepends="m4 bsd-compat-headers libx11-dev libxcb-dev util-macros xcb-util-dev"
+source="https://github.com/Airblader/$pkgname/releases/download/v$pkgver/$pkgname-$pkgver.tar.gz"
+subpackages="$pkgname-dev"
+
+build() {
+ cd "$builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --localstatedir=/var
+ make
+}
+
+check() {
+ cd "$builddir"
+ make check
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="d8a427ed6d1f1568ce58db9b89284e4fafcc7b7929c31bccf70e5ccd91f3f6cb9c87ff25c4e64d95b0c6215cfecde6c0ee2b3a18759817aea3169ba87602c5de xcb-util-xrm-1.3.tar.gz"