summaryrefslogtreecommitdiff
path: root/user
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-11 21:58:05 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-11 21:58:05 -0500
commite120a4717450d84e0d37a120593d23bf5dd2e5e8 (patch)
treed8671c6da5231dc8af587584ba0ec5737929a6fa /user
parent86fb7bd5e1e141c52f45e8101cbe95681493bbc1 (diff)
downloadpackages-e120a4717450d84e0d37a120593d23bf5dd2e5e8.tar.gz
packages-e120a4717450d84e0d37a120593d23bf5dd2e5e8.tar.bz2
packages-e120a4717450d84e0d37a120593d23bf5dd2e5e8.tar.xz
packages-e120a4717450d84e0d37a120593d23bf5dd2e5e8.zip
user/xmodmap: pull in, take, fix
Diffstat (limited to 'user')
-rw-r--r--user/xmodmap/APKBUILD38
1 files changed, 38 insertions, 0 deletions
diff --git a/user/xmodmap/APKBUILD b/user/xmodmap/APKBUILD
new file mode 100644
index 000000000..58e14c998
--- /dev/null
+++ b/user/xmodmap/APKBUILD
@@ -0,0 +1,38 @@
+# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=xmodmap
+pkgver=1.0.9
+pkgrel=3
+pkgdesc="Utility for modifying key and mouse button mappings in X11"
+url="https://www.X.Org/"
+arch="all"
+license="MIT AND X11"
+depends=""
+makedepends="libx11-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
+ install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
+}
+
+sha512sums="6e50f2ba072ec171bd3fc34f75b21c63f9834f3c0f1608c857f80a4b2c8a9696b03dde79f8342bf67504b759297bc24a64056a625d295a4f89dd31eb938400ac xmodmap-1.0.9.tar.bz2"