void-packages/srcpkgs/libspiro/template

27 lines
726 B
Bash

# Template file for 'libspiro'
pkgname=libspiro
version=20220722
revision=1
build_style=gnu-configure
hostmakedepends="automake libtool"
short_desc="Simplifies the drawing of beautiful curves"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="GPL-3.0-or-later"
homepage="https://github.com/fontforge/libspiro"
distfiles="https://github.com/fontforge/libspiro/archive/${version}.tar.gz"
checksum=22409086ac07b482267c5328acde1956ca84cee8b4fa6c386f89e7014ea331da
pre_configure() {
autoreconf -fi
}
libspiro-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" -- development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
vmove usr/lib/pkgconfig
}
}