mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 02:22:13 +08:00
31 lines
764 B
Bash
31 lines
764 B
Bash
# 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
|
|
}
|