archrelease: copy trunk to extra-x86_64
[arch-packages.git] / libspiro / trunk / PKGBUILD
blob92fbb169b0d622edf820ccc9ed53367ec84bbc94
1 # Maintainer: Gaetan Bisson <bisson@archlinux.org>
2 # Contributor: Rémy Oudompheng <oudomphe@clipper.ens.fr>
4 pkgname=libspiro
5 epoch=1
6 pkgver=20200505
7 pkgrel=2
8 pkgdesc='Simplifies the drawing of beautiful curves'
9 url='https://github.com/fontforge/libspiro'
10 license=('GPL')
11 arch=('x86_64')
12 source=("https://github.com/fontforge/libspiro/releases/download/${pkgver}/libspiro-dist-${pkgver}.tar.gz")
13 sha256sums=('06c69a1e8dcbcabcf009fd96fd90b1a244d0257246e376c2c4d57c4ea4af0e49')
15 prepare() {
16         cd "${srcdir}/${pkgname}-${pkgver}"
17         autoreconf -i
18         automake --foreign -Wall
21 build() {
22         cd "${srcdir}/${pkgname}-${pkgver}"
23         export LDFLAGS=
24         ./configure --prefix=/usr
25         make
28 check() {
29         cd "${srcdir}/${pkgname}-${pkgver}"
30         make check
33 package() {
34         cd "${srcdir}/${pkgname}-${pkgver}"
35         make DESTDIR="${pkgdir}" install
36         install -Dm644 libspiro.pc "${pkgdir}"/usr/lib/pkgconfig/libspiro.pc