[arch-commits] Commit in libspiro/trunk (PKGBUILD)

Gaetan Bisson bisson at nymeria.archlinux.org
Thu Jul 3 00:37:25 UTC 2014


    Date: Thursday, July 3, 2014 @ 02:37:25
  Author: bisson
Revision: 216294

follow upstream migration

Modified:
  libspiro/trunk/PKGBUILD

----------+
 PKGBUILD |   23 ++++++++++++++++++-----
 1 file changed, 18 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2014-07-02 19:36:55 UTC (rev 216293)
+++ PKGBUILD	2014-07-03 00:37:25 UTC (rev 216294)
@@ -3,21 +3,34 @@
 # Contributor: Rémy Oudompheng <oudomphe at clipper.ens.fr>
 
 pkgname=libspiro
-pkgver=20071029
-pkgrel=3
+epoch=1
+pkgver=0.2
+pkgrel=1
 pkgdesc='Simplifies the drawing of beautiful curves'
-url='http://libspiro.sourceforge.net/'
+url='https://github.com/fontforge/libspiro'
 license=('GPL')
 arch=('i686' 'x86_64')
-source=("http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}_src-${pkgver}.tar.bz2")
-sha1sums=('d8b407b835b35289af2914877a4c6000b4fdd382')
+source=("https://github.com/fontforge/libspiro/archive/v${pkgver}.tar.gz")
+sha1sums=('6d0e12bbaf09eb45b2832a62ae1bec1795b8296b')
 
+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




More information about the arch-commits mailing list