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

Details
Message ID
<20190127154518.21941-1-sir@cmpwn.com>
Sender timestamp
1548603918
DKIM signature
missing
Download raw message
Patch: +43 -0
---
 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 <sir@cmpwn.com>
+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:  alpine-aports+unsubscribe@lists.alpinelinux.org
Help:         alpine-aports+help@lists.alpinelinux.org
---