~alpine/aports

testing/chafa: new aport v1 PROPOSED

Cosmo Borsky
Cosmo Borsky: 1
 testing/chafa: new aport

 1 files changed, 28 insertions(+), 0 deletions(-)
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.alpinelinux.org/~alpine/aports/patches/3314/mbox | git am -3
Learn more about email & git

[PATCH] testing/chafa: new aport Export this patch

Cosmo Borsky
---
 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 <me@cosmoborsky.com>
# Maintainer: Cosmo Borsky <me@cosmoborsky.com>
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
View this thread in the archives