aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAmatCoder <amatcoder@gmail.com>2016-05-25 07:34:04 +0000
committerJakub Jirutka <jakub@jirutka.cz>2016-06-01 20:33:53 +0200
commit873a73aff5c81d9390722c2d2853c914d063905a (patch)
tree29f3c85d5dfa3586a6ca5f25dc9a8674a1c555b0
parente6a93067628ddaebc53c01a34632287aeb0f30c7 (diff)
downloadaports-873a73aff5c81d9390722c2d2853c914d063905a.tar.bz2
aports-873a73aff5c81d9390722c2d2853c914d063905a.tar.xz
testing/viewnior: upgrade to 1.6
-rw-r--r--testing/viewnior/APKBUILD27
1 files changed, 10 insertions, 17 deletions
diff --git a/testing/viewnior/APKBUILD b/testing/viewnior/APKBUILD
index 0dc57fc5a4..ef280bac3e 100644
--- a/testing/viewnior/APKBUILD
+++ b/testing/viewnior/APKBUILD
@@ -1,33 +1,26 @@
# Contributor: August Klein <amatcoder@gmail.com>
# Maintainer: August Klein <amatcoder@gmail.com>
pkgname=viewnior
-pkgver=1.5
+pkgver=1.6
pkgrel=0
pkgdesc="A fast and simple image viewer"
url="http://siyanpanayotov.com/project/viewnior"
arch="all"
license="GPL3"
depends=""
-depends_dev="gtk+2.0-dev exiv2-dev"
-makedepends="$depends_dev autoconf automake gnome-common libtool"
-install=""
+makedepends="autoconf automake gnome-common gtk+2.0-dev exiv2-dev libtool"
subpackages="$pkgname-lang $pkgname-doc"
source="https://github.com/xsisqox/Viewnior/archive/$pkgname-$pkgver.tar.gz"
-_builddir="$srcdir"/Viewnior-$pkgname-$pkgver
+builddir="$srcdir"/Viewnior-$pkgname-$pkgver
+
prepare() {
- local i
- cd "$_builddir"
- for i in $source; do
- case $i in
- *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
- esac
- done
+ cd "$builddir"
./autogen.sh || return 1
}
build() {
- cd "$_builddir"
+ cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -38,10 +31,10 @@ build() {
}
package() {
- cd "$_builddir"
+ cd "$builddir"
make DESTDIR="$pkgdir" install || return 1
}
-md5sums="3cecdc212724d5963257bebf025943f5 viewnior-1.5.tar.gz"
-sha256sums="7f2554a233096b34af6561e0910ded7063773a503cb24a8690e950adee4f7e81 viewnior-1.5.tar.gz"
-sha512sums="b3d7276d4053fa075486aa9afa0981d3aa4c5a5c92b929df82102a5bb3bccfa908fcd5da606c70160049a24af0d12392fe72ab47dc764367f0fbdbba6586a353 viewnior-1.5.tar.gz"
+md5sums="f7d497360c48ce4bce09328d934cc4a4 viewnior-1.6.tar.gz"
+sha256sums="89013f6d30c1c121d8cb6327d3ffc35a757fba1d777c24849d632afe244e60a0 viewnior-1.6.tar.gz"
+sha512sums="4b150078573bfd3b8c5863d73087a51cd3b7ed5781e26c842fab44eec3e67ea9aea3feba064538578878df1ccb386525a6a84362dae7f92315fb7de735ace617 viewnior-1.6.tar.gz"