diff options
Diffstat (limited to 'user')
-rw-r--r-- | user/xkbutils/APKBUILD | 44 |
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" |