New package: chafa-1.0.1

This commit is contained in:
Christian Buschau 2019-01-18 02:50:48 +01:00 committed by maxice8
parent 816244d5d2
commit a3dae00da3
2 changed files with 27 additions and 0 deletions

1
srcpkgs/chafa-devel Symbolic link
View File

@ -0,0 +1 @@
chafa

26
srcpkgs/chafa/template Normal file
View File

@ -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 <christian.buschau@mailbox.org>"
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
}
}