aboutsummaryrefslogtreecommitdiffstats
path: root/community/sxiv
diff options
context:
space:
mode:
authorSören Tempel <soeren+git@soeren-tempel.net>2017-11-01 14:17:16 +0100
committerSören Tempel <soeren+git@soeren-tempel.net>2017-11-01 14:17:16 +0100
commitb720ce557b54e00d91d716f7d8a4ad25f525fe0c (patch)
tree41938059c4df3fb2a9b35960887803a17733a51c /community/sxiv
parent2b2478231f6fd1a4b927f93f7b3b3b1cdaade908 (diff)
downloadaports-b720ce557b54e00d91d716f7d8a4ad25f525fe0c.tar.bz2
aports-b720ce557b54e00d91d716f7d8a4ad25f525fe0c.tar.xz
community/sxiv: modernize APKBUILD
Diffstat (limited to 'community/sxiv')
-rw-r--r--community/sxiv/APKBUILD11
1 files changed, 6 insertions, 5 deletions
diff --git a/community/sxiv/APKBUILD b/community/sxiv/APKBUILD
index c93defc3d7..53c3c711ef 100644
--- a/community/sxiv/APKBUILD
+++ b/community/sxiv/APKBUILD
@@ -11,19 +11,20 @@ depends=""
depends_dev=""
makedepends="imlib2-dev giflib-dev libexif-dev libxft-dev"
install=""
+options="!check" # upstream doesn't have a test suite
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz"
+builddir="$srcdir/$pkgname-$pkgver"
-_builddir="$srcdir/$pkgname-$pkgver"
build() {
- make -C "$_builddir" || return 1
+ make -C "$builddir"
}
package() {
make PREFIX=/usr DESTDIR="$pkgdir" \
- -C "$_builddir" install || return 1
- install -Dm644 "$_builddir"/README.md \
- "$pkgdir"/usr/share/doc/$pkgname/README.md || return 1
+ -C "$builddir" install
+ install -Dm644 "$builddir"/README.md \
+ "$pkgdir"/usr/share/doc/$pkgname/README.md
}
sha512sums="e4c9d4e18b4f1999b6441256b4c0d4683a105f1f64d4f754d6f9bc4f467ee1ccc6b6996cec8a210276c5fbec59417627fb838cb4f7be37cce32fa2c5d45d347b sxiv-24.tar.gz"