aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDmitry Zakharchenko <dmitz@disroot.org>2022-01-09 13:58:38 +0200
committerdispatch <dispatch@listserv.local>2022-01-09 11:58:46 +0000
commite261726c7228b1e8f3af6424ca8ec0e131f16f72 (patch)
treec0ca0e4339d6f48ab93a0a20d8bf308e17b2d999
parentfdda49ce69498eb073dfed94f694202dd7aad762 (diff)
downloadaports-patches/3870.tar.gz
aports-patches/3870.tar.bz2
aports-patches/3870.tar.xz
testing/nsxiv: new aportpatches/3870
https://nsxiv.github.io/nsxiv/ Neo Simple X Image Viewer Signed-off-by: Dmitry Zakharchenko <dmitz@disroot.org>
-rw-r--r--testing/nsxiv/APKBUILD37
1 files changed, 37 insertions, 0 deletions
diff --git a/testing/nsxiv/APKBUILD b/testing/nsxiv/APKBUILD
new file mode 100644
index 0000000000..ed3f9d3a72
--- /dev/null
+++ b/testing/nsxiv/APKBUILD
@@ -0,0 +1,37 @@
+# Contributor: Dmitry Zakharchenko <dmitz@disroot.org>
+# Maintainer: Dmitry Zakharchenko <dmitz@disroot.org>
+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
+"