Received: from out.migadu.com (out.migadu.com [91.121.223.63]) by nld3-dev1.alpinelinux.org (Postfix) with ESMTPS id F3BC87819DB for <~alpine/aports@lists.alpinelinux.org>; Sun, 29 Mar 2020 05:56:51 +0000 (UTC) Received: (Migadu outbound); Sun, 29 Mar 2020 05:56:51 +0000 Authentication-Results: out.migadu.com; auth=pass (login) Received: from localhost (146-115-190-67.s3649.c3-0.wtr-cbr1.sbo-wtr.ma.cable.rcncustomer.com [146.115.190.67]) by out.migadu.com (Haraka/2.8.16) with ESMTPSA id 3E0B3FBF-30B0-4CD8-A7ED-0158C52605A6.1 envelope-from (authenticated bits=0) (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 verify=FAIL); Sun, 29 Mar 2020 05:56:50 +0000 From: Cosmo Borsky To: ~alpine/aports@lists.alpinelinux.org Cc: Cosmo Borsky Subject: [PATCH] testing/chafa: new aport Date: Sun, 29 Mar 2020 01:56:35 -0400 Message-Id: <20200329055634.13178-1-me@cosmoborsky.com> X-Mailer: git-send-email 2.24.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit DKIM-Signature: v=1;a=rsa-sha256;bh=tlFABecSzrxU+1WA+IC2AayliR+QFrlTkFHeyx2RyU4=;c=relaxed/simple;d=cosmoborsky.com;h=from:subject:date:to;s=default;b=mPgDZdPe4Ty5+nH59y0AAcdE5rI1N3I1y+sbEgc+MImsbQ4T7vsxzJRyoYMY1ggeNhDdMeqnofDVGBcYWS24I0rTXI8AgxjfjN96juS6lbleDT61I7M2HScSoBxZhz09HeBsaMrPAnAh2P2YE3DY3nLmjjDn2O1HiCm2f9M6NFk= --- 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 +# Maintainer: Cosmo Borsky +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