summaryrefslogtreecommitdiff
path: root/user
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-05-08 18:46:53 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-05-08 18:46:53 +0000
commit5a2db4d0fee073c0198acfe169e90067ab154df6 (patch)
tree1833c1ec28647989116c4c6bcdaecd5355dc84cd /user
parent37ea8ed6a2f92f6e4ffd963f8ff1565fddd8f4a8 (diff)
downloadpackages-5a2db4d0fee073c0198acfe169e90067ab154df6.tar.gz
packages-5a2db4d0fee073c0198acfe169e90067ab154df6.tar.bz2
packages-5a2db4d0fee073c0198acfe169e90067ab154df6.tar.xz
packages-5a2db4d0fee073c0198acfe169e90067ab154df6.zip
user/libxres: new package
Diffstat (limited to 'user')
-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"