31 lines
956 B
Bash
31 lines
956 B
Bash
# Template file for 'chafa'
|
|
pkgname=chafa
|
|
version=1.2.1
|
|
revision=2
|
|
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=3f37a28bfb9ab716efb32d2652bc2c17856711ed7808e74481c8afcf7cdb44c2
|
|
|
|
case "$XBPS_TARGET_MACHINE" in
|
|
x86_64*|i686*) ;;
|
|
*) configure_args+=" ax_cv_gcc_check_x86_cpu_init=no
|
|
ax_cv_gcc_check_x86_cpu_supports=no" ;;
|
|
esac
|
|
|
|
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
|
|
}
|
|
}
|