aboutsummaryrefslogtreecommitdiffstats
path: root/main/feh
diff options
context:
space:
mode:
authorSören Tempel <soeren+git@soeren-tempel.net>2016-08-16 01:10:39 +0200
committerSören Tempel <soeren+git@soeren-tempel.net>2016-08-16 01:10:39 +0200
commitca207eb84fc5432a08df5c2902d1de498f9ef413 (patch)
treeeaf21bce12b1face12c349831405813e22933c20 /main/feh
parentb1fe8754b09e69cb150dfc421c2bce0a456b58e5 (diff)
downloadaports-ca207eb84fc5432a08df5c2902d1de498f9ef413.tar.bz2
aports-ca207eb84fc5432a08df5c2902d1de498f9ef413.tar.xz
main/feh: upgrade to 2.16.2
Diffstat (limited to 'main/feh')
-rw-r--r--main/feh/APKBUILD22
1 files changed, 13 insertions, 9 deletions
diff --git a/main/feh/APKBUILD b/main/feh/APKBUILD
index 77d9e9042d..d434358351 100644
--- a/main/feh/APKBUILD
+++ b/main/feh/APKBUILD
@@ -1,9 +1,9 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=feh
-pkgver=2.16.1
+pkgver=2.16.2
pkgrel=0
pkgdesc="feh is a fast, lightweight image viewer which uses imlib2"
-url="http://www.linuxbrit.co.uk/feh/"
+url="http://feh.finalrewind.org/"
arch="all"
license="MIT"
subpackages="$pkgname-doc"
@@ -15,15 +15,19 @@ source="https://feh.finalrewind.org/${pkgname}-${pkgver}.tar.bz2"
_builddir="$srcdir"/$pkgname-$pkgver
build() {
cd "$_builddir"
- sed -i -e "s:/usr/local:/usr:g" config.mk
- make || return 1
+ make PREFIX=/usr || return 1
}
package() {
cd "$_builddir"
- make DESTDIR=$pkgdir docsdir=/usr/share/doc/feh install || return 1
- install -D -m644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+ make PREFIX=/usr DESTDIR="$pkgdir" \
+ bin_dir="$pkgdir"/usr/bin \
+ man_dir="$pkgdir"/usr/share/man \
+ doc_dir="$pkgdir"/usr/share/doc/$pkgname \
+ example_dir="$pkgdir"/usr/share/doc/$pkgname/examples \
+ install || return 1
}
-md5sums="840d898d999c4eb3e5cedb703e4e5c76 feh-2.16.1.tar.bz2"
-sha256sums="6e55289a3be4495a437a0b037c7b5e86edf64ec74ab63d2d26fa50df1b62b6b3 feh-2.16.1.tar.bz2"
-sha512sums="e3163af487d2bfb32e0faa8f6b10fc26a3590aed77014f04967cccc66d6a201dd8960b4ae7fd88aaeeda280ee7e6040be6321337fbe4f8f78119440d89d4b0fe feh-2.16.1.tar.bz2"
+
+md5sums="20695ee5c9581e22fef528b9d66511a6 feh-2.16.2.tar.bz2"
+sha256sums="aa37124ae010e7dac7d101d5c66f3d49da79e96c7ce21d77bfe3c9322ed2e7ca feh-2.16.2.tar.bz2"
+sha512sums="e288a0a5abe12c6e124b351a4d723845f8d7041fc87be15fb95266d00e35b319bf7a57073383157d4634f00bc974264d0622fac8166c97348a8bc1d563c16807 feh-2.16.2.tar.bz2"