void-packages/srcpkgs/libspiro/template

27 lines
726 B
Bash

# Template file for 'libspiro'
pkgname=libspiro
version=20240903
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=cf0251eb5f3545cce365b727a4a56a2f1292f1ef29245c2045c83e28f8a1df42
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
}
}