summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--user/xrdb/APKBUILD39
1 files changed, 39 insertions, 0 deletions
diff --git a/user/xrdb/APKBUILD b/user/xrdb/APKBUILD
new file mode 100644
index 000000000..cf528a143
--- /dev/null
+++ b/user/xrdb/APKBUILD
@@ -0,0 +1,39 @@
+# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
+# Contributor: Natanael Copa <ncopa@alpinelinux.org>
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=xrdb
+pkgver=1.1.1
+pkgrel=0
+pkgdesc="Utility to manipulate the X11 server resources database"
+url="https://www.X.Org/"
+arch="all"
+license="MIT AND X11"
+depends="mcpp"
+makedepends="libx11-dev libxmu-dev util-macros"
+subpackages="$pkgname-doc"
+source="https://www.X.Org/releases/individual/app/$pkgname-$pkgver.tar.bz2"
+
+build() {
+ cd "$builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info \
+ --localstatedir=/var \
+ --with-cpp=/usr/bin/mcpp
+ make
+}
+
+check() {
+ cd "$builddir"
+ make check
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="20c342004ef911fc4d3ef4ac3ac15d1c30bb946b8156f3a6916c242e470be0cb63261563462fd1e2e07b1a7cc527b8cacf5f913e31b02196629a95043cf8d13f xrdb-1.1.1.tar.bz2"