desktop/libspiro/PKGBUILD

31 lines
764 B
Bash
Raw Normal View History

# Contributions from Arch: https://projects.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/libspiro
pkgname=libspiro
2016-01-19 08:03:58 +08:00
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")
2016-01-19 08:03:58 +08:00
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
}