aboutsummaryrefslogtreecommitdiffstats
path: root/testing/viewnior/APKBUILD
blob: af3ba75625a6be91a82d8bbd9fcebe0a55cb7c97 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Contributor: August Klein <amatcoder@gmail.com>
# Maintainer: August Klein <amatcoder@gmail.com>
pkgname=viewnior
_pkgname=Viewnior
pkgver=1.7
pkgrel=1
pkgdesc="A fast and simple image viewer"
url="http://siyanpanayotov.com/project/viewnior"
arch="all"
license="GPL-3.0"
depends=""
makedepends="gnome-common meson ninja gtk+2.0-dev exiv2-dev desktop-file-utils"
subpackages="$pkgname-lang $pkgname-doc"
source="https://github.com/hellosiyan/$_pkgname/archive/$pkgname-$pkgver.tar.gz"

builddir="$srcdir"/$_pkgname-$pkgname-$pkgver

prepare() {
	cd "$builddir"
	mkdir builddir
}

build() {
	cd "$builddir"
	meson builddir --prefix=/usr
	ninja -C builddir
}

package() {
	cd "$builddir"
	DESTDIR="$pkgdir" ninja -C builddir install
}

sha512sums="5ba17d7b5ceeffa65b04213f179c1439b09ac44e412e0750dde159b118a714f28d3a290509a402b234e4e7ba5b185fc73eef65d418598f344911e4e2c1373fe5  viewnior-1.7.tar.gz"