void-packages/srcpkgs/libspiro/template

27 lines
726 B
Bash

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