summaryrefslogtreecommitdiffstats
path: root/main/libxklavier/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/libxklavier/APKBUILD')
-rw-r--r--main/libxklavier/APKBUILD25
1 files changed, 25 insertions, 0 deletions
diff --git a/main/libxklavier/APKBUILD b/main/libxklavier/APKBUILD
new file mode 100644
index 000000000..522a032a7
--- /dev/null
+++ b/main/libxklavier/APKBUILD
@@ -0,0 +1,25 @@
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=libxklavier
+pkgver=4.0
+pkgrel=0
+pkgdesc="High-level API for X Keyboard Extension"
+url="http://gswitchit.sourceforge.net"
+license="LGPL"
+subpackages="$pkgname-dev $pkgname-doc"
+depends="xkeyboard-config iso-codes"
+makedepends="pkgconfig libxkbfile-dev libxml2-dev glib-dev libxi-dev iso-codes
+ gettext-dev libiconv-dev"
+source="http://ftp.gnome.org/pub/gnome/sources/$pkgname/$pkgver/$pkgname-$pkgver.tar.bz2"
+
+depends_dev="libxml2-dev glib-dev gettext-dev"
+
+build ()
+{
+ cd "$srcdir"/$pkgname-$pkgver
+ ./configure --prefix=/usr \
+ --with-xkb-base=/usr/share/X11/xkb \
+ --disable-static || return 1
+ make || return 1
+ make DESTDIR="$pkgdir" install || return 1
+}
+md5sums="1b714ba04835fb49511f9e1444a5ea4c libxklavier-4.0.tar.bz2"