aboutsummaryrefslogtreecommitdiffstats
path: root/x11/libxkbfile
diff options
context:
space:
mode:
Diffstat (limited to 'x11/libxkbfile')
-rw-r--r--x11/libxkbfile/APKBUILD23
1 files changed, 23 insertions, 0 deletions
diff --git a/x11/libxkbfile/APKBUILD b/x11/libxkbfile/APKBUILD
new file mode 100644
index 0000000000..fdc4507245
--- /dev/null
+++ b/x11/libxkbfile/APKBUILD
@@ -0,0 +1,23 @@
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=libxkbfile
+pkgver=1.0.5
+pkgrel=0
+pkgdesc="X11 keyboard file manipulation library"
+url="http://xorg.freedesktop.org/"
+license="custom"
+depends="libX11 uclibc"
+makedepends="pkgconfig libX11-dev"
+subpackages="$pkgname-dev"
+source="http://xorg.freedesktop.org/releases/individual/lib/$pkgname-$pkgver.tar.bz2"
+
+depends_dev="libX11-dev kbproto"
+build () {
+ cd "$srcdir"/$pkgname-$pkgver
+ ./configure --prefix=/usr \
+ --sysconfdir=/etc
+ make || return 1
+ make DESTDIR="$pkgdir" install || return 1
+ install -D -m644 "$srcdir"/$pkgname-$pkgver/COPYING \
+ "$pkgdir"/usr/share/licenses/$pkgname/COPYING
+}
+md5sums="0726a845fe5a56551de2718c9f6b0e35 libxkbfile-1.0.5.tar.bz2"