summaryrefslogtreecommitdiff
path: root/user/xkbprint
diff options
context:
space:
mode:
Diffstat (limited to 'user/xkbprint')
-rw-r--r--user/xkbprint/APKBUILD37
1 files changed, 37 insertions, 0 deletions
diff --git a/user/xkbprint/APKBUILD b/user/xkbprint/APKBUILD
new file mode 100644
index 000000000..3661c7da9
--- /dev/null
+++ b/user/xkbprint/APKBUILD
@@ -0,0 +1,37 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=xkbprint
+pkgver=1.0.4
+pkgrel=0
+pkgdesc="Tool to generate PostScript descriptions of XKB keyboard layouts"
+url="https://www.X.Org/"
+arch="all"
+license="X11"
+depends=""
+makedepends="libx11-dev libxkbfile-dev util-macros xorgproto-dev"
+subpackages="$pkgname-doc"
+source="https://www.x.org/releases/individual/app/xkbprint-$pkgver.tar.bz2"
+
+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
+}
+
+sha512sums="bb65a93ae737cd4b78787fef51972f4d0072a272166f82103bfaa92cf275db6363fae3530539b7c9a4139f6b87512019ac15ab3478d4ad05967ad18a8e80033a xkbprint-1.0.4.tar.bz2"