summaryrefslogtreecommitdiff
path: root/community/libxkbcommon/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/libxkbcommon/PKGBUILD')
-rw-r--r--community/libxkbcommon/PKGBUILD26
1 files changed, 26 insertions, 0 deletions
diff --git a/community/libxkbcommon/PKGBUILD b/community/libxkbcommon/PKGBUILD
new file mode 100644
index 000000000..04bacedb1
--- /dev/null
+++ b/community/libxkbcommon/PKGBUILD
@@ -0,0 +1,26 @@
+# Maintainer: Daniel Micay <danielmicay@gmail.com>
+# Contributor: Mladen Pejakovic <pejakm@gmail.com>
+
+pkgname=libxkbcommon
+pkgver=0.2.0
+pkgrel=3
+pkgdesc="Keyboard handling library using XKB data"
+arch=(i686 x86_64)
+url="http://xkbcommon.org/"
+license=('custom')
+depends=(glibc)
+makedepends=(doxygen xorg-util-macros)
+source=("http://xkbcommon.org/download/$pkgname-$pkgver.tar.bz2")
+md5sums=('2be3d4a255d02c7d46fc6a9486f21f6a')
+
+build() {
+ cd $srcdir/$pkgname-$pkgver
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make DESTDIR="$pkgdir" install
+ install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
+}