summaryrefslogtreecommitdiff
path: root/user/setxkbmap/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'user/setxkbmap/APKBUILD')
-rw-r--r--user/setxkbmap/APKBUILD36
1 files changed, 36 insertions, 0 deletions
diff --git a/user/setxkbmap/APKBUILD b/user/setxkbmap/APKBUILD
new file mode 100644
index 000000000..637166f29
--- /dev/null
+++ b/user/setxkbmap/APKBUILD
@@ -0,0 +1,36 @@
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=setxkbmap
+pkgver=1.3.1
+pkgrel=2
+pkgdesc="Set keyboard layout in X11"
+url="https://www.X.Org/"
+arch="all"
+license="MIT"
+depends=""
+makedepends="libxkbfile-dev util-macros"
+subpackages="$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 \
+ --localstatedir=/var
+ make
+}
+
+check() {
+ cd "$builddir"
+ make check
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="5ddc2fc40ddc5a35815606998d3f111e3c2b8d915bf609462c703f9f691a0b3a6477ee98837c0a28f11dd3f0a30f17a3bcdfa38d4ca45140e521c74d043ecdee setxkbmap-1.3.1.tar.bz2"