aboutsummaryrefslogtreecommitdiffstats
path: root/main/xmodmap/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/xmodmap/APKBUILD')
-rw-r--r--main/xmodmap/APKBUILD19
1 files changed, 8 insertions, 11 deletions
diff --git a/main/xmodmap/APKBUILD b/main/xmodmap/APKBUILD
index 529d7847cd..3c07cb5316 100644
--- a/main/xmodmap/APKBUILD
+++ b/main/xmodmap/APKBUILD
@@ -2,35 +2,32 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xmodmap
pkgver=1.0.9
-pkgrel=1
+pkgrel=2
pkgdesc="utility for modifying keymaps and pointer button mappings in X"
url="http://xorg.freedesktop.org/"
arch="all"
license="custom"
+options="!check" # No test suite.
depends=""
-depends_dev=""
-makedepends="libx11-dev"
-install=""
+makedepends="libx11-dev util-macros"
subpackages="$pkgname-doc"
source="http://www.x.org/releases/individual/app/$pkgname-$pkgver.tar.bz2"
-_builddir="$srcdir"/$pkgname-$pkgver
build () {
- cd "$_builddir"
+ cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
- --localstatedir=/var \
- || return 1
- make || return 1
+ --localstatedir=/var
+ make
}
package() {
- cd "$_builddir"
- make DESTDIR="$pkgdir" install || return 1
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
}