aboutsummaryrefslogtreecommitdiffstats
path: root/main/xmodmap
diff options
context:
space:
mode:
authorSören Tempel <soeren+git@soeren-tempel.net>2016-03-17 15:44:18 +0100
committerSören Tempel <soeren+git@soeren-tempel.net>2016-03-17 15:45:36 +0100
commit70e831fab905f4b2ad11685af3eb23b4be34333b (patch)
treee413089f516ad0adc8553cb280b38184ba372609 /main/xmodmap
parentc7ac00153d74991a1d1736eee3e5fc019484014d (diff)
downloadaports-70e831fab905f4b2ad11685af3eb23b4be34333b.tar.bz2
aports-70e831fab905f4b2ad11685af3eb23b4be34333b.tar.xz
main/xmodmap: upgrade to 1.0.9
Diffstat (limited to 'main/xmodmap')
-rw-r--r--main/xmodmap/APKBUILD27
1 files changed, 15 insertions, 12 deletions
diff --git a/main/xmodmap/APKBUILD b/main/xmodmap/APKBUILD
index e2fb51b23f..d3032112ae 100644
--- a/main/xmodmap/APKBUILD
+++ b/main/xmodmap/APKBUILD
@@ -1,30 +1,29 @@
+# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xmodmap
-pkgver=1.0.4
-pkgrel=2
+pkgver=1.0.9
+pkgrel=1
pkgdesc="utility for modifying keymaps and pointer button mappings in X"
url="http://xorg.freedesktop.org/"
arch="all"
license="custom"
-subpackages="$pkgname-doc"
-depends=
+depends=""
+depends_dev=""
makedepends="libx11-dev"
+install=""
+subpackages="$pkgname-doc"
source="http://xorg.freedesktop.org/releases/individual/app/$pkgname-$pkgver.tar.bz2"
-_builddir="$srcdir/$pkgname-$pkgver"
-
-prepare() {
- cd "$_builddir"
- update_config_sub || return 1
-}
-
+_builddir="$srcdir"/$pkgname-$pkgver
build () {
cd "$_builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
+ --sysconfdir=/etc \
--mandir=/usr/share/man \
+ --localstatedir=/var \
|| return 1
make || return 1
}
@@ -32,5 +31,9 @@ build () {
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
+ install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
}
-md5sums="bbe021f812e0014a8ee3692317788119 xmodmap-1.0.4.tar.bz2"
+
+md5sums="723f02d3a5f98450554556205f0a9497 xmodmap-1.0.9.tar.bz2"
+sha256sums="b7b0e5cc5f10d0fb6d2d6ea4f00c77e8ac0e847cc5a73be94cd86139ac4ac478 xmodmap-1.0.9.tar.bz2"
+sha512sums="6e50f2ba072ec171bd3fc34f75b21c63f9834f3c0f1608c857f80a4b2c8a9696b03dde79f8342bf67504b759297bc24a64056a625d295a4f89dd31eb938400ac xmodmap-1.0.9.tar.bz2"