blob: 0dc57fc5a4df4dbdffa4fc421316abd4bd1a8761 (
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
35
36
37
38
39
40
41
42
43
44
45
46
47
|
# Contributor: August Klein <amatcoder@gmail.com>
# Maintainer: August Klein <amatcoder@gmail.com>
pkgname=viewnior
pkgver=1.5
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=""
subpackages="$pkgname-lang $pkgname-doc"
source="https://github.com/xsisqox/Viewnior/archive/$pkgname-$pkgver.tar.gz"
_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
./autogen.sh || return 1
}
build() {
cd "$_builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--mandir=/usr/share/man \
|| return 1
make || return 1
}
package() {
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"
|