# Contributions from Arch: https://projects.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/libspiro pkgname=libspiro pkgver=0.5.20150702 pkgrel=1 pkgdesc='Simplifies the drawing of beautiful curves' url='https://github.com/fontforge/libspiro' license=('GPL') arch=('x86_64') source=("https://github.com/fontforge/libspiro/archive/${pkgver}.tar.gz") sha1sums=('2a1614b1762e3984ab0d629cf5b41a0f4c12f850') prepare() { cd "${srcdir}/${pkgname}-${pkgver}" autoreconf -i automake --foreign -Wall } build() { cd "${srcdir}/${pkgname}-${pkgver}" export LDFLAGS= ./configure --prefix=/usr make } package() { cd "${srcdir}/${pkgname}-${pkgver}" make DESTDIR="${pkgdir}" install install -Dm644 libspiro.pc "${pkgdir}"/usr/lib/pkgconfig/libspiro.pc }