summaryrefslogtreecommitdiffstats
path: root/x11/libxres/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'x11/libxres/APKBUILD')
-rw-r--r--x11/libxres/APKBUILD23
1 files changed, 23 insertions, 0 deletions
diff --git a/x11/libxres/APKBUILD b/x11/libxres/APKBUILD
new file mode 100644
index 000000000..688a92585
--- /dev/null
+++ b/x11/libxres/APKBUILD
@@ -0,0 +1,23 @@
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=libxres
+pkgver=1.0.3
+pkgrel=0
+pkgdesc="X11 Resource extension library"
+url="http://xorg.freedesktop.org"
+license="custom"
+subpackages="$pkgname-dev $pkgname-doc"
+makedepends="pkgconfig libxext-dev resourceproto"
+depends=
+source="http://xorg.freedesktop.org/releases/individual/lib/libXres-$pkgver.tar.bz2"
+
+depends_dev="xproto libx11-dev libxext-dev"
+build ()
+{
+ cd "$srcdir"/libXres-$pkgver
+ ./configure --prefix=/usr \
+ --sysconfdir=/etc
+ make || return 1
+ make DESTDIR="$pkgdir" install || return 1
+ install -D -m644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+md5sums="de66ffb657aba64c9d6dbdeabb757f3e libXres-1.0.3.tar.bz2"