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

Gaetan Bisson bisson at archlinux.org
Thu Dec 23 19:54:44 UTC 2010


    Date: Thursday, December 23, 2010 @ 14:54:44
  Author: bisson
Revision: 103917

minor upstream update and PKGBUILD cleanup

Modified:
  potrace/trunk/PKGBUILD

----------+
 PKGBUILD |   27 ++++++++++++++++-----------
 1 file changed, 16 insertions(+), 11 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2010-12-23 18:39:46 UTC (rev 103916)
+++ PKGBUILD	2010-12-23 19:54:44 UTC (rev 103917)
@@ -1,20 +1,25 @@
 # $Id$
 # Maintainer: damir <damir at archlinux.org>
 # Contributor: Damir Perisa <damir.perisa at bluewin.ch>
+
 pkgname=potrace
-pkgver=1.8
-pkgrel=3
-pkgdesc="A utility for tracing a bitmap. Input=portable bitmap (PBM) Output formats: EPS, PostScript, PDF, SVG, Xfig, GIMP-path, and PGM"
-arch=("i686" "x86_64")
-url="http://potrace.sourceforge.net/"
+pkgver=1.9
+pkgrel=1
+pkgdesc='Utility for tracing a bitmap. Input: PBM, PGM, PPM, or BMP. Output: EPS, PostScript, PDF, SVG, Xfig, Gimppath, or PGM.'
+arch=('i686' 'x86_64')
+url='http://potrace.sourceforge.net/'
 license=('GPL')
 depends=('glibc' 'zlib')
-source=(http://potrace.sourceforge.net/download/${pkgname}-${pkgver}.tar.gz)
-md5sums=('e73b45565737d64011612704dd4d9f86')
+source=("http://potrace.sourceforge.net/download/${pkgname}-${pkgver}.tar.gz")
+sha1sums=('c3ace609c24a0d5e03bbab5f22478c2af69cf1c4')
 
 build() {
-  cd ${srcdir}/${pkgname}-${pkgver}
-  ./configure --prefix=/usr --mandir=/usr/share/man || return 1
-  make || return 1
-  make DESTDIR=${pkgdir} install || return 1
+	cd "${srcdir}/${pkgname}-${pkgver}"
+	./configure --prefix=/usr --mandir=/usr/share/man
+	make
 }
+
+package() {
+	cd "${srcdir}/${pkgname}-${pkgver}"
+	make DESTDIR="${pkgdir}" install
+}




More information about the arch-commits mailing list