summaryrefslogtreecommitdiff
path: root/user
diff options
context:
space:
mode:
authorDan Theisen <djt@hxx.in>2018-04-26 23:10:04 -0700
committerDan Theisen <djt@hxx.in>2018-04-26 23:10:04 -0700
commit08e1ebc4af39d6cec66bd6d6b66e6b6ee87edee0 (patch)
treed656e06bd0293deac546f6a0d5a3cec5c484a681 /user
parent3c67273f9c556ba0568b11bfef9116a347fb0afd (diff)
downloadpackages-08e1ebc4af39d6cec66bd6d6b66e6b6ee87edee0.tar.gz
packages-08e1ebc4af39d6cec66bd6d6b66e6b6ee87edee0.tar.bz2
packages-08e1ebc4af39d6cec66bd6d6b66e6b6ee87edee0.tar.xz
packages-08e1ebc4af39d6cec66bd6d6b66e6b6ee87edee0.zip
user/appres: new package
Diffstat (limited to 'user')
-rw-r--r--user/appres/APKBUILD39
1 files changed, 39 insertions, 0 deletions
diff --git a/user/appres/APKBUILD b/user/appres/APKBUILD
new file mode 100644
index 000000000..7f5f0b7dd
--- /dev/null
+++ b/user/appres/APKBUILD
@@ -0,0 +1,39 @@
+# Contributor: Dan Theisen <djt@hxx.in>
+# Maintainer: Dan Theisen <djt@hxx.in>
+pkgname=appres
+pkgver=1.0.5
+pkgrel=0
+pkgdesc="list X application resource database"
+url="https://xorg.freedesktop.org/"
+arch="all"
+license="X11"
+depends=""
+makedepends="libx11-dev libxt-dev xproto"
+install=""
+subpackages="$pkgname-doc"
+source="https://xorg.freedesktop.org/archive/individual/app/$pkgname-$pkgver.tar.bz2"
+builddir="$srcdir/$pkgname-$pkgver"
+
+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="70825563cd80f0f433c48ab2fdae888072939c1b22fb22340b70b9444c97916275ed92c9e5bf9a06bb76c32a5371b89ff7c0211a9a47a227c88311078c2c4137 appres-1.0.5.tar.bz2"