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

Kevin Piché kevin at archlinux.org
Sat Jan 1 23:22:33 EST 2011


    Date: Saturday, January 1, 2011 @ 23:22:32
  Author: kevin
Revision: 104389

upgpkg: cairo-perl 1.061-3
Rebuilt for perl 5.12.2

Modified:
  cairo-perl/trunk/PKGBUILD

----------+
 PKGBUILD |   12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2011-01-02 04:08:58 UTC (rev 104388)
+++ PKGBUILD	2011-01-02 04:22:32 UTC (rev 104389)
@@ -4,7 +4,7 @@
 pkgname=cairo-perl
 _realname=Cairo
 pkgver=1.061
-pkgrel=2
+pkgrel=3
 pkgdesc="Perl wrappers for cairo"
 arch=(i686 x86_64)
 license=('LGPL')
@@ -17,7 +17,11 @@
 
 build() {
   cd "${srcdir}/${_realname}-${pkgver}"
-  perl Makefile.PL INSTALLDIRS=vendor || return 1
-  make || return 1
-  make DESTDIR="${pkgdir}" install || return 1
+  perl Makefile.PL INSTALLDIRS=vendor
+  make
 }
+
+package() {
+  cd "${srcdir}/${_realname}-${pkgver}"
+  make DESTDIR="${pkgdir}" install
+}



More information about the arch-commits mailing list