void-packages/srcpkgs/libspiro/template
2019-08-01 10:47:49 +02:00

26 lines
728 B
Bash

# Template file for 'libspiro'
pkgname=libspiro
version=20190731
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=25678f69416115c9d5f909de4013f7a5a44a3f7ca901f912bb6de566cbb70e89
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
}
}