diff --git a/testing/viewnior/APKBUILD b/testing/viewnior/APKBUILD index 37d0a08d7b94f07d9f95adc5541df6b93bcd2dbd..52fe2bc0dc007609d0962f29b5ba1af056a05665 100644 --- a/testing/viewnior/APKBUILD +++ b/testing/viewnior/APKBUILD @@ -1,40 +1,34 @@ # Contributor: August Klein <amatcoder@gmail.com> # Maintainer: August Klein <amatcoder@gmail.com> pkgname=viewnior -pkgver=1.6 +_pkgname=Viewnior +pkgver=1.7 pkgrel=0 pkgdesc="A fast and simple image viewer" url="http://siyanpanayotov.com/project/viewnior" arch="all" license="GPL-3.0" depends="" -makedepends="autoconf automake gnome-common gtk+2.0-dev exiv2-dev libtool" +makedepends="gnome-common meson ninja gtk+2.0-dev exiv2-dev desktop-file-utils" subpackages="$pkgname-lang $pkgname-doc" -source="https://github.com/xsisqox/Viewnior/archive/$pkgname-$pkgver.tar.gz" +source="https://github.com/hellosiyan/$_pkgname/archive/$pkgname-$pkgver.tar.gz" -builddir="$srcdir"/Viewnior-$pkgname-$pkgver +builddir="$srcdir"/$_pkgname-$pkgname-$pkgver prepare() { cd "$builddir" - ./autogen.sh || return 1 + mkdir builddir } build() { cd "$builddir" - ./configure \ - --build=$CBUILD \ - --host=$CHOST \ - --prefix=/usr \ - --mandir=/usr/share/man \ - || return 1 - make || return 1 + meson builddir --prefix=/usr + ninja -C builddir } package() { cd "$builddir" - make DESTDIR="$pkgdir" install || return 1 + DESTDIR="$pkgdir" ninja -C builddir install } -md5sums="f7d497360c48ce4bce09328d934cc4a4 viewnior-1.6.tar.gz" -sha256sums="89013f6d30c1c121d8cb6327d3ffc35a757fba1d777c24849d632afe244e60a0 viewnior-1.6.tar.gz" -sha512sums="4b150078573bfd3b8c5863d73087a51cd3b7ed5781e26c842fab44eec3e67ea9aea3feba064538578878df1ccb386525a6a84362dae7f92315fb7de735ace617 viewnior-1.6.tar.gz" +sha512sums="5ba17d7b5ceeffa65b04213f179c1439b09ac44e412e0750dde159b118a714f28d3a290509a402b234e4e7ba5b185fc73eef65d418598f344911e4e2c1373fe5 viewnior-1.7.tar.gz"