Commit 873a73af authored by August Klein's avatar August Klein Committed by Jakub Jirutka
Browse files

testing/viewnior: upgrade to 1.6

parent e6a93067
# 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"
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment