From 5a2db4d0fee073c0198acfe169e90067ab154df6 Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Wed, 8 May 2019 18:46:53 +0000 Subject: user/libxres: new package --- user/libxres/APKBUILD | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 user/libxres/APKBUILD 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 +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" -- cgit v1.2.3-70-g09d2