summaryrefslogtreecommitdiff
path: root/user/libxklavier
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-09-09 02:53:31 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-09-09 02:53:31 +0000
commit4e61295ff26501e80db2de6f770ee14db5f031be (patch)
treeba2581c40ad94e6abe1d6523789c641ed66142e6 /user/libxklavier
parenteb5d8657735fbc915cba5ae1ef29303e07432b60 (diff)
parent4a0822e2bef80e8bf5e22084b4e52c42cfcbe848 (diff)
downloadpackages-67876279d61dff51fdb33705ea26005f538aab2b.tar.gz
packages-67876279d61dff51fdb33705ea26005f538aab2b.tar.bz2
packages-67876279d61dff51fdb33705ea26005f538aab2b.tar.xz
packages-67876279d61dff51fdb33705ea26005f538aab2b.zip
Merge XFCE 4 from @Aerdan1.0-beta1
Diffstat (limited to 'user/libxklavier')
-rw-r--r--user/libxklavier/APKBUILD42
1 files changed, 42 insertions, 0 deletions
diff --git a/user/libxklavier/APKBUILD b/user/libxklavier/APKBUILD
new file mode 100644
index 000000000..f34d89506
--- /dev/null
+++ b/user/libxklavier/APKBUILD
@@ -0,0 +1,42 @@
+# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
+# Maintainer: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
+pkgname=libxklavier
+pkgver=5.3
+pkgrel=0
+pkgdesc="High-level API for XKB"
+url="https://www.freedesktop.org/wiki/Software/LibXklavier/"
+arch="all"
+license="LGPL-2.0+"
+makedepends="libx11-dev libxml2-dev glib-dev libxcb-dev libxi-dev iso-codes-dev"
+subpackages="$pkgname-dev $pkgname-doc"
+source="https://download.gnome.org/sources/libxklavier/$pkgver/libxklavier-$pkgver.tar.xz"
+sha512sums="7bec94aeedbe80aec2c44c9e2a3b7ea170618970fff3c1b5e677f1b292241e208b74eabd825d477eeab25bb0ee1d27f9b55f986a19ea8aacb078651a0c83b289 libxklavier-5.3.tar.xz"
+
+prepare() {
+ cd "$builddir"
+ default_prepare
+ update_config_sub
+}
+
+build() {
+ cd "$builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --localstatedir=/var
+ make
+}
+
+check() {
+ cd "$builddir"
+ make check
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+}
+