# Maintainer: Balló György <ballogyor+arch at gmail dot com>
# Contributor: Gaetan Bisson <bisson@archlinux.org>
# Contributor: Rémy Oudompheng <oudomphe@clipper.ens.fr>
pkgname=libspiro
epoch=1
pkgver=20221101
pkgrel=2
pkgdesc='Library that simplifies the drawing of beautiful curves'
arch=('x86_64' 'armv7h')
url='https://github.com/fontforge/libspiro'
license=('GPL-3.0-or-later')
depends=('glibc')
source=("https://github.com/fontforge/libspiro/releases/download/$pkgver/$pkgname-dist-$pkgver.tar.gz")
sha256sums=('5984fb5af3e4e1f927f3a74850b705a711fb86284802a5e6170b09786440e8be')
build() {
cd $pkgname-$pkgver
./configure --prefix=/usr
make
}
check() {
cd $pkgname-$pkgver
make check
}
package() {
cd $pkgname-$pkgver
make DESTDIR="$pkgdir" install
}