summaryrefslogtreecommitdiff
path: root/user/xkbutils/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-01-01 07:27:11 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-01-01 07:27:11 +0000
commit1e5d4f1d3dd7a272ea878e16a2e35a457a8b3a88 (patch)
tree111f33faafbf8770c9e3378eac0975daa2755620 /user/xkbutils/APKBUILD
parent8d5509832f6bb9d47c5561e284fbe9ceb59a2e46 (diff)
downloadpackages-1e5d4f1d3dd7a272ea878e16a2e35a457a8b3a88.tar.gz
packages-1e5d4f1d3dd7a272ea878e16a2e35a457a8b3a88.tar.bz2
packages-1e5d4f1d3dd7a272ea878e16a2e35a457a8b3a88.tar.xz
packages-1e5d4f1d3dd7a272ea878e16a2e35a457a8b3a88.zip
user/xkbutils: new package
Diffstat (limited to 'user/xkbutils/APKBUILD')
-rw-r--r--user/xkbutils/APKBUILD44
1 files changed, 44 insertions, 0 deletions
diff --git a/user/xkbutils/APKBUILD b/user/xkbutils/APKBUILD
new file mode 100644
index 000000000..d627a69a8
--- /dev/null
+++ b/user/xkbutils/APKBUILD
@@ -0,0 +1,44 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=xkbutils
+pkgver=1.0.4
+pkgrel=0
+pkgdesc="Utilities for managing keyboards using XKB"
+url="https://www.X.Org/"
+arch="all"
+license="MIT AND X11"
+depends=""
+makedepends="libx11-dev libxaw-dev libxt-dev util-macros xorgproto-dev"
+subpackages="$pkgname-doc"
+source="https://www.x.org/releases/individual/app/xkbutils-$pkgver.tar.bz2"
+
+prepare() {
+ cd "$builddir"
+ default_prepare
+ chmod a+w config.sub
+ 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
+}
+
+sha512sums="5bb6cb52ac02a4ec18332559853815585ca86e00e8c6452483af10c4db75811fe00952575dbbad5b7d03b9d6498830fb45d617b1b3c5c1cea8445f1131856a4d xkbutils-1.0.4.tar.bz2"