initial import
This commit is contained in:
37
libspiro/PKGBUILD
Normal file
37
libspiro/PKGBUILD
Normal file
@@ -0,0 +1,37 @@
|
||||
# Maintainer: Jesus E. <heckyel@riseup.net>
|
||||
|
||||
pkgname=libspiro
|
||||
epoch=1
|
||||
pkgver=20200505
|
||||
pkgrel=1
|
||||
pkgdesc='Simplifies the drawing of beautiful curves'
|
||||
url='https://github.com/fontforge/libspiro'
|
||||
license=('GPL-3')
|
||||
arch=('i686' 'x86_64')
|
||||
source=("https://github.com/fontforge/libspiro/releases/download/${pkgver}/libspiro-dist-${pkgver}.tar.gz")
|
||||
sha512sums=('84627e8925bd6090cd7d234a0b5f3ee109d3341d24c038a0fb1ce4c09ab97fe8fc7eb92bc5df040d559c5ebe3b4fc8f51652a2538e155be9b2f3c78b96b706ee')
|
||||
|
||||
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
|
||||
install -Dm644 libspiro.pc "${pkgdir}"/usr/lib/pkgconfig/libspiro.pc
|
||||
install -Dm644 COPYING "${pkgdir}"/usr/share/licenses/${pkgname}/COPYING
|
||||
}
|
||||
Reference in New Issue
Block a user