summaryrefslogtreecommitdiff
path: root/user/xkbcomp/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'user/xkbcomp/APKBUILD')
-rw-r--r--user/xkbcomp/APKBUILD37
1 files changed, 37 insertions, 0 deletions
diff --git a/user/xkbcomp/APKBUILD b/user/xkbcomp/APKBUILD
new file mode 100644
index 000000000..b79b4593d
--- /dev/null
+++ b/user/xkbcomp/APKBUILD
@@ -0,0 +1,37 @@
+# Contributor: Natanael Copa <ncopa@alpinelinux.org>
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=xkbcomp
+pkgver=1.4.2
+pkgrel=0
+pkgdesc="Keyboard layout compiler for X11"
+url="https://www.X.Org/"
+arch="all"
+license="MIT AND X11"
+depends=""
+makedepends="libx11-dev libxkbfile-dev util-macros"
+subpackages="$pkgname-dev $pkgname-doc"
+source="https://www.X.Org/releases/individual/app/$pkgname-$pkgver.tar.bz2"
+
+build() {
+ cd "$builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info
+ make
+}
+
+check() {
+ cd "$builddir"
+ make check
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="b00d1eb08c19be86044418c8ea3bfc3c3973406c481878270138a70ed9dab348acb8e4d0af8678879598ffbd7df1c640a63d0abad3d7481758be99af8dd7734e xkbcomp-1.4.2.tar.bz2"