void-packages/srcpkgs/libspiro/template
2020-05-08 10:11:45 +02:00

26 lines
728 B
Bash

# Template file for 'libspiro'
pkgname=libspiro
version=20200505
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/${pkgname}/archive/${version}.tar.gz"
checksum=00be530b5c0ea9274baadf6c05521f0b192d4c3c1db636ac8b08efd44aaea8f5
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
}
}