summaryrefslogtreecommitdiff
path: root/user/libxklavier
diff options
context:
space:
mode:
authorKiyoshi Aman <kiyoshi.aman+apkfission@gmail.com>2018-08-18 12:51:19 -0500
committerKiyoshi Aman <kiyoshi.aman+apkfission@gmail.com>2018-08-18 17:32:54 -0500
commitf1427f597b809b05a18ab7aad4fd7c846fb3a26d (patch)
treea71b0a63ed7ce0c40ba46a0dfc1ea38ec1189638 /user/libxklavier
parent73cadaada686b3b0ad7a65221c6642326b3451fc (diff)
downloadpackages-f1427f597b809b05a18ab7aad4fd7c846fb3a26d.tar.gz
packages-f1427f597b809b05a18ab7aad4fd7c846fb3a26d.tar.bz2
packages-f1427f597b809b05a18ab7aad4fd7c846fb3a26d.tar.xz
packages-f1427f597b809b05a18ab7aad4fd7c846fb3a26d.zip
user/libxklavier: new package
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
+}
+