summaryrefslogtreecommitdiff
path: root/user/libxres
diff options
context:
space:
mode:
Diffstat (limited to 'user/libxres')
-rw-r--r--user/libxres/APKBUILD34
1 files changed, 34 insertions, 0 deletions
diff --git a/user/libxres/APKBUILD b/user/libxres/APKBUILD
new file mode 100644
index 000000000..9244440c4
--- /dev/null
+++ b/user/libxres/APKBUILD
@@ -0,0 +1,34 @@
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=libxres
+pkgver=1.2.0
+pkgrel=0
+pkgdesc="X11 X-Resource extension library"
+url="https://www.X.Org/"
+arch="all"
+license="MIT AND X11"
+subpackages="$pkgname-dev $pkgname-doc"
+depends=""
+makedepends="libx11-dev libxext-dev util-macros xorgproto-dev"
+source="https://www.X.Org/releases/individual/lib/libXres-$pkgver.tar.bz2"
+builddir="$srcdir"/libXres-$pkgver
+
+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="8eb5a36b1f030eb4e27e676cc4befcc073da66a7bce2b39089314e1facb629d13b087bb53ca2c95fe5291857da7ff9f80c6ab28fb3e245eeb9e0344937900172 libXres-1.2.0.tar.bz2"