summaryrefslogtreecommitdiff
path: root/user/libxkbui/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'user/libxkbui/APKBUILD')
-rw-r--r--user/libxkbui/APKBUILD39
1 files changed, 39 insertions, 0 deletions
diff --git a/user/libxkbui/APKBUILD b/user/libxkbui/APKBUILD
new file mode 100644
index 000000000..80340714e
--- /dev/null
+++ b/user/libxkbui/APKBUILD
@@ -0,0 +1,39 @@
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=libxkbui
+pkgver=1.0.2
+pkgrel=9
+pkgdesc="X11 keyboard UI presentation library"
+url="https://www.X.Org/"
+arch="all"
+license="MIT"
+depends=""
+makedepends="libice-dev libsm-dev libx11-dev libxkbfile-dev libxt-dev xorgproto-dev"
+subpackages="$pkgname-dev"
+source="https://www.X.Org/releases/individual/lib/$pkgname-$pkgver.tar.bz2"
+
+prepare() {
+ cd "$builddir"
+ update_config_sub
+ default_prepare
+}
+
+build() {
+ cd "$builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr
+ make
+}
+
+check() {
+ cd "$builddir"
+ make check
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="ccfa2c8f740ae66e5b7c2ed19a8243696a34fb60d45d8d01bb540eb925d69c95ebe16b7a54f4362acc3170b1543f44eea8910135b11c4af88abce3637726062d libxkbui-1.0.2.tar.bz2"