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

Jan de Groot jgc at archlinux.org
Wed Jan 5 11:02:27 EST 2011


    Date: Wednesday, January 5, 2011 @ 11:02:27
  Author: jgc
Revision: 104940

upgpkg: gnome-perl 1.042-5
Rebuild for perl 5.12.2

Modified:
  gnome-perl/trunk/PKGBUILD

----------+
 PKGBUILD |   13 ++++++-------
 1 file changed, 6 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2011-01-05 15:43:33 UTC (rev 104939)
+++ PKGBUILD	2011-01-05 16:02:27 UTC (rev 104940)
@@ -4,21 +4,20 @@
 pkgname=gnome-perl
 _realname=Gnome2
 pkgver=1.042
-pkgrel=4
+pkgrel=5
 pkgdesc="Perl bindings for libgnome"
 arch=('i686' 'x86_64')
 license=('LGPL')
 url="http://gtk2-perl.sourceforge.net/"
 makedepends=('perl-extutils-pkgconfig' 'perl-extutils-depends')
-depends=('gnomecanvas-perl>=1.002' 'gnome-vfs-perl>=1.061' 'libgnomeui>=2.18.1'
-'perl>=5.10.0')
+depends=('gnomecanvas-perl' 'gnome-vfs-perl' 'libgnomeui' 'perl')
 options=('!emptydirs')
 source=(http://downloads.sourceforge.net/sourceforge/gtk2-perl/${_realname}-${pkgver}.tar.gz)
 md5sums=('eb7b624114e45e54e022a633ffc1cce6')
 
 build() {
-  cd ${srcdir}/${_realname}-${pkgver}
-  perl Makefile.PL INSTALLDIRS=vendor || return 1
-  make  || return 1
-  make DESTDIR=${pkgdir} install || return 1
+  cd "${srcdir}/${_realname}-${pkgver}"
+  perl Makefile.PL INSTALLDIRS=vendor
+  make
+  make DESTDIR="${pkgdir}" install
 }



More information about the arch-commits mailing list