From e120a4717450d84e0d37a120593d23bf5dd2e5e8 Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Wed, 11 Jul 2018 21:58:05 -0500 Subject: user/xmodmap: pull in, take, fix --- user/xmodmap/APKBUILD | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 user/xmodmap/APKBUILD (limited to 'user/xmodmap') 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 +# Maintainer: A. Wilcox +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" -- cgit v1.2.3-70-g09d2