Subject: [PATCH] testing/chafa: new aport

From: Cosmo Borsky <[email-masked]>
Date: Sun, 29 Mar 2020 01:56:35 -0400

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

diff --git a/testing/chafa/APKBUILD b/testing/chafa/APKBUILD
new file mode 100644
index 0000000000..bafd4f4b0a
--- /dev/null
+++ b/testing/chafa/APKBUILD
@@ -0,0 +1,28 @@
+# Contributor: Cosmo Borsky <[email-masked]>
+# Maintainer: Cosmo Borsky <[email-masked]>
+pkgname="chafa"
+pkgver="1.2.2"
+pkgrel=0
+pkgdesc="Image-to-text converter supporting a wide range of symbols and palettes, transparency, animations, etc."
+url="https://hpjansson.org/chafa"
+giturl="https://github.com/hpjansson/chafa"
+arch="x86_64"  # based on Arch Linux PKGBUILD, not tested on other arches
+license="LGPL-3.0"
+depends="imagemagick imagemagick-libs imagemagick-dev"
+depends_doc="gtk-doc"
+makedepends="make autoconf automake libtool imagemagick-dev"
+subpackages="$pkgname-dev $pkgname-doc"
+options="!check"  # no tests available
+source="chafa-$pkgver.tar.xz::https://github.com/hpjansson/chafa/releases/download/$pkgver/chafa-$pkgver.tar.xz"
+builddir="$srcdir/chafa-$pkgver"
+
+build() {
+	./configure --prefix=/usr --enable-man
+	make
+}
+
+package() {
+	make DESTDIR="$pkgdir" install
+}
+
+sha512sums="e2aea08e7e9ea41e233dac12c7db2697445ff096f31e8ad09daa60f97328268a5f29bd1b5328c0893bf0c3f9a132d9a29830ecc741ea2d7e6d23132728bbc926  chafa-1.2.2.tar.xz"
-- 
2.24.1