~alpine/devel

testing/viewnior: new aport v1 PROPOSED

Amatcoder: 1
 testing/viewnior: new aport

 1 files changed, 47 insertions(+), 0 deletions(-)
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.alpinelinux.org/~alpine/devel/patches/610/mbox | git am -3
Learn more about email & git

[alpine-devel] [PATCH] testing/viewnior: new aport Export this patch

---
 testing/viewnior/APKBUILD | 47 +++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 47 insertions(+)
 create mode 100644 testing/viewnior/APKBUILD
diff --git a/testing/viewnior/APKBUILD b/testing/viewnior/APKBUILD
new file mode 100644
index 0000000..d9d7e19
--- /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"
-- 
2.2.0



---
Unsubscribe:  alpine-devel+unsubscribe@lists.alpinelinux.org
Help:         alpine-devel+help@lists.alpinelinux.org
---