From a3dae00da3d88cd6777fa0cc1c9572c3b5dcfea1 Mon Sep 17 00:00:00 2001 From: Christian Buschau Date: Fri, 18 Jan 2019 02:50:48 +0100 Subject: [PATCH] New package: chafa-1.0.1 --- srcpkgs/chafa-devel | 1 + srcpkgs/chafa/template | 26 ++++++++++++++++++++++++++ 2 files changed, 27 insertions(+) create mode 120000 srcpkgs/chafa-devel create mode 100644 srcpkgs/chafa/template diff --git a/srcpkgs/chafa-devel b/srcpkgs/chafa-devel new file mode 120000 index 00000000000..de0ee362842 --- /dev/null +++ b/srcpkgs/chafa-devel @@ -0,0 +1 @@ +chafa \ No newline at end of file diff --git a/srcpkgs/chafa/template b/srcpkgs/chafa/template new file mode 100644 index 00000000000..caa953ab37a --- /dev/null +++ b/srcpkgs/chafa/template @@ -0,0 +1,26 @@ +# Template file for 'chafa' +pkgname=chafa +version=1.0.1 +revision=1 +build_style=gnu-configure +hostmakedepends="pkg-config" +makedepends="libglib-devel libmagick-devel libXext-devel libxml2-devel" +short_desc="Versatile and fast Unicode/ASCII/ANSI graphics renderer" +maintainer="Christian Buschau " +license="LGPL-3.0-or-later" +homepage="https://hpjansson.org/chafa/" +distfiles="https://hpjansson.org/chafa/releases/chafa-${version}.tar.xz" +checksum=49d491a566a22daf56c51c043259f1373a1b1125d5c1c1fe321f7c25ca178e01 +nocross="configure: error: cannot run test program while cross compiling" + +chafa-devel_package() { + depends="${makedepends} ${sourcepkg}>=${version}_${revision}" + short_desc+=" - development files" + pkg_install() { + vmove usr/include + vmove "usr/lib/*.a" + vmove "usr/lib/*.so" + vmove usr/lib/pkgconfig + vmove usr/share/gtk-doc + } +}