# Template file for 'libspiro'
pkgname=libspiro
version=0.5.20150702
revision=1
build_style=gnu-configure
hostmakedepends="automake libtool"
short_desc="Simplifies the drawing of beautiful curves"
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
license="GPL-3"
homepage="https://github.com/fontforge/libspiro"
distfiles="https://github.com/fontforge/${pkgname}/archive/${version}.tar.gz"
checksum=14f761d83c7fa6be31c4e0317251ed1201b367dc5b2a8678e2da179d74938fc7

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
	}
}
