summaryrefslogtreecommitdiff
path: root/user/setxkbmap/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-23 04:38:32 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-23 04:38:32 -0500
commit3f3b3d83d25be17548494b1e392ee8042cd0990c (patch)
tree391a98b2771cbe476e2a4a0c387287700e45f85b /user/setxkbmap/APKBUILD
parentfdca11b9b7e979df852a819064870ad27c4c0cdd (diff)
downloadpackages-3f3b3d83d25be17548494b1e392ee8042cd0990c.tar.gz
packages-3f3b3d83d25be17548494b1e392ee8042cd0990c.tar.bz2
packages-3f3b3d83d25be17548494b1e392ee8042cd0990c.tar.xz
packages-3f3b3d83d25be17548494b1e392ee8042cd0990c.zip
user/setxkbmap: pull in, take, fix
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"