aboutsummaryrefslogtreecommitdiffstats
path: root/testing/viewnior
diff options
context:
space:
mode:
authorAmatcoder <amatcoder@gmail.com>2014-12-01 04:48:05 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2014-12-01 10:27:14 +0000
commit4ed3d1dbc8963a29d2cd76fb8b656be26b6f7112 (patch)
tree29be70c8c515d920d0f7451af0bd74abfb8f4e75 /testing/viewnior
parent7f7e180cf1fd282dc6c6e0642a16be75bde4a343 (diff)
downloadaports-4ed3d1dbc8963a29d2cd76fb8b656be26b6f7112.tar.bz2
aports-4ed3d1dbc8963a29d2cd76fb8b656be26b6f7112.tar.xz
testing/viewnior: new aport
Diffstat (limited to 'testing/viewnior')
-rw-r--r--testing/viewnior/APKBUILD47
1 files changed, 47 insertions, 0 deletions
diff --git a/testing/viewnior/APKBUILD b/testing/viewnior/APKBUILD
new file mode 100644
index 0000000000..d9d7e1987e
--- /dev/null
+++ b/testing/viewnior/APKBUILD
@@ -0,0 +1,47 @@
+# Contributor: August Klein <amatcoder@gmail.com>
+# Maintainer: August Klein <amatcoder@gmail.com>
+pkgname=viewnior
+pkgver=1.4
+pkgrel=0
+pkgdesc="A fast and simple image viewer for GNU/Linux"
+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
+}
+
+build() {
+ cd "$_builddir"
+ ./autogen.sh || return 1
+ ./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="e5ae60047f2941a228c0a121e07fe09b viewnior-1.4.tar.gz"
+sha256sums="44beaeaadf843ce2f63e339994f18ae6c524b23c967379441738ecff6c436b00 viewnior-1.4.tar.gz"
+sha512sums="b9c72e24066a5bee7a94d35d74acb8e60adceb319754c96132709a441fe6b5e095c3bcf475091e959f28f5e5c0ff2062225f9749d1cb7c2f7ba794a025b5321f viewnior-1.4.tar.gz"