aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDmitry Zakharchenko <dmitz@disroot.org>2022-01-09 13:42:52 +0200
committerdispatch <dispatch@listserv.local>2022-01-09 11:48:17 +0000
commit8a1319fea48fc857458ed30b810f187115cfe50c (patch)
treec27d46824a9863e5363e6ebbcd6cfd8c155ae88e
parentfdda49ce69498eb073dfed94f694202dd7aad762 (diff)
downloadaports-patches/3869.tar.gz
aports-patches/3869.tar.bz2
aports-patches/3869.tar.xz
testing/nsxiv: new aportpatches/3869
https://nsxiv.github.io/nsxiv/ Neo Simple X Image Viewer Signed-off-by: Dmitry Zakharchenko <dmitz@disroot.org>
-rw-r--r--testing/nsxiv/APKBUILD36
1 files changed, 36 insertions, 0 deletions
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 <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
+"