From f1427f597b809b05a18ab7aad4fd7c846fb3a26d Mon Sep 17 00:00:00 2001 From: Kiyoshi Aman Date: Sat, 18 Aug 2018 12:51:19 -0500 Subject: user/libxklavier: new package --- user/libxklavier/APKBUILD | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 user/libxklavier/APKBUILD (limited to 'user/libxklavier/APKBUILD') 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 +# Maintainer: Kiyoshi Aman +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 +} + -- cgit v1.2.3-70-g09d2