Subject: [alpine-aports] [PATCH] testing/imv: new APKBUILD

From: Drew DeVault <[email-masked]>
Date: Sun, 27 Jan 2019 10:45:18 -0500

---
 testing/imv/APKBUILD | 43 +++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 43 insertions(+)
 create mode 100644 testing/imv/APKBUILD

diff --git a/testing/imv/APKBUILD b/testing/imv/APKBUILD
new file mode 100644
index 0000000000..a3712732a1
--- /dev/null
+++ b/testing/imv/APKBUILD
@@ -0,0 +1,43 @@
+# Maintainer: Drew DeVault <[email-masked]>
+pkgname=imv
+pkgver=3.0.0
+pkgrel=1
+pkgdesc="Image viewer for X11/Wayland"
+url="https://github.com/eXeC64/imv"
+arch="all"
+license="MIT"
+makedepends="
+	asciidoc
+	fontconfig-dev
+	freeimage-dev
+	sdl2_ttf-dev
+	"
+checkdepends="
+	cmocka
+	cmocka-dev
+	"
+subpackages="$pkgname-doc"
+source="$pkgname-$pkgver.tar.gz::https://github.com/eXeC64/$pkgname/archive/v$pkgver.tar.gz"
+builddir="$srcdir/$pkgname-$pkgver"
+
+prepare() {
+	cd "$builddir"
+	rm test/loader.c # broken with abuild
+}
+
+build() {
+	cd "$builddir"
+	make
+}
+
+check() {
+	cd "$builddir"
+	make check
+}
+
+package() {
+	cd "$builddir"
+	DESTDIR="$pkgdir" make install
+}
+
+sha512sums="3db5209498b9cfee8ea3765ff20cb28cea64524b11ffa202f47389b45c8c48f1c2dc461a10b67c71e2a482ed2b810da782174c072790b775a0f80e0dbe52ca0f  imv-3.0.0.tar.gz"
-- 
2.20.1

---
Unsubscribe:  [email-masked]
Help:         [email-masked]
---