Subject: [PATCH] testing/nsxiv: new aport

From: Dmitry Zakharchenko <[email-masked]>
Date: Sun, 9 Jan 2022 13:42:52 +0200

https://nsxiv.github.io/nsxiv/
Neo Simple X Image Viewer

Signed-off-by: Dmitry Zakharchenko <[email-masked]>
---
 testing/nsxiv/APKBUILD | 36 ++++++++++++++++++++++++++++++++++++
 1 file changed, 36 insertions(+)
 create mode 100644 testing/nsxiv/APKBUILD

diff --git a/testing/nsxiv/APKBUILD b/testing/nsxiv/APKBUILD
new file mode 100644
index 0000000000..ce8c8f05b9
--- /dev/null
+++ b/testing/nsxiv/APKBUILD
@@ -0,0 +1,36 @@
+# Contributor: Dmitry Zakharchenko <[email-masked]>
+# Maintainer: Dmitry Zakharchenko <[email-masked]>
+pkgname=nsxiv
+pkgver=28
+pkgrel=0
+pkgdesc="Neo Simple X Image Viewer"
+url="https://nsxiv.github.io/nsxiv/"
+arch="all"
+license="GPL-2.0-or-later"
+options="!check" # no test suite
+makedepends="libx11-dev
+			imlib2-dev
+			giflib-dev
+			libexif-dev
+			libxft-dev
+			libwebp-dev
+			"
+subpackages="$pkgname-doc"
+source="$pkgname-$pkgver.tar.gz::https://github.com/nsxiv/nsxiv/archive/v$pkgver.tar.gz"
+
+prepare() {
+	default_prepare
+	ln -s config.def.h config.h
+}
+
+build() {
+	make
+}
+
+package() {
+	make PREFIX=/usr DESTDIR="$pkgdir" install-all
+}
+
+sha512sums="
+a1d61dc57f41e5b50225dd1e8120b8f1e31b042d43f7443ec27d2fc227e8eb98e96116357e8329011b7ca9aac10e7f0f2259bad3b57fbb1b2951a8fe4d8930bf  nsxiv-28.tar.gz
+"
-- 
2.34.1