# $Id: PKGBUILD 216295 2014-07-03 00:37:56Z bisson $ # Maintainer: Gaetan Bisson # Contributor: Rémy Oudompheng pkgname=libspiro epoch=1 pkgver=0.2 pkgrel=1 pkgdesc='Simplifies the drawing of beautiful curves' url='https://github.com/fontforge/libspiro' license=('GPL') arch=('i686' 'x86_64') source=("https://github.com/fontforge/libspiro/archive/v${pkgver}.tar.gz") sha1sums=('6d0e12bbaf09eb45b2832a62ae1bec1795b8296b') prepare() { cd "${srcdir}/${pkgname}-${pkgver}" autoreconf -i automake --foreign -Wall } build() { cd "${srcdir}/${pkgname}-${pkgver}" export LDFLAGS= ./configure --prefix=/usr make } check() { cd "${srcdir}/${pkgname}-${pkgver}" make check } package() { cd "${srcdir}/${pkgname}-${pkgver}" make DESTDIR="${pkgdir}" install }