aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-02-10 14:30:56 -0600
committerWilliam Pitcock <nenolod@dereferenced.org>2018-02-12 15:05:16 +0000
commit4f5a588a21508036340efb5258916a3537adc5d2 (patch)
treef5df85fde15fdea052ce03109f19faf900fa5184 /main
parent08a796d83545e758eec24f38d552b7b9db0ed51a (diff)
downloadaports-4f5a588a21508036340efb5258916a3537adc5d2.tar.bz2
aports-4f5a588a21508036340efb5258916a3537adc5d2.tar.xz
main/setxkbmap: modern, mark no tests, fix makedep
Diffstat (limited to 'main')
-rw-r--r--main/setxkbmap/APKBUILD14
1 files changed, 6 insertions, 8 deletions
diff --git a/main/setxkbmap/APKBUILD b/main/setxkbmap/APKBUILD
index 4943d8259e..6b43028d75 100644
--- a/main/setxkbmap/APKBUILD
+++ b/main/setxkbmap/APKBUILD
@@ -1,13 +1,14 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=setxkbmap
pkgver=1.3.1
-pkgrel=0
+pkgrel=1
pkgdesc="set the keyboard using the X Keyboard Extension"
url="http://xorg.freedesktop.org/"
arch="all"
+options="!check" # No test suite.
license="MIT"
depends=""
-makedepends="libxkbfile-dev"
+makedepends="libxkbfile-dev util-macros"
subpackages="$pkgname-doc"
source="http://www.x.org/releases/individual/app/$pkgname-$pkgver.tar.bz2"
@@ -20,16 +21,13 @@ build() {
--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
+ make DESTDIR="$pkgdir" install
}
-md5sums="2c47a1b8e268df73963c4eb2316b1a89 setxkbmap-1.3.1.tar.bz2"
-sha256sums="a9ddb3963f263ba13f0ea105d8c45a531832140530217cc559587bb94f02d3e1 setxkbmap-1.3.1.tar.bz2"
sha512sums="5ddc2fc40ddc5a35815606998d3f111e3c2b8d915bf609462c703f9f691a0b3a6477ee98837c0a28f11dd3f0a30f17a3bcdfa38d4ca45140e521c74d043ecdee setxkbmap-1.3.1.tar.bz2"