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

Jan de Groot jgc at archlinux.org
Wed Jan 5 10:25:06 EST 2011


    Date: Wednesday, January 5, 2011 @ 10:25:06
  Author: jgc
Revision: 104927

upgpkg: gnome-vfs-perl 1.081-3
Rebuild for perl 5.12.2

Modified:
  gnome-vfs-perl/trunk/PKGBUILD

----------+
 PKGBUILD |   17 +++++++----------
 1 file changed, 7 insertions(+), 10 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2011-01-05 15:21:30 UTC (rev 104926)
+++ PKGBUILD	2011-01-05 15:25:06 UTC (rev 104927)
@@ -4,23 +4,20 @@
 pkgname=gnome-vfs-perl
 _realname=Gnome2-VFS
 pkgver=1.081
-pkgrel=2
+pkgrel=3
 pkgdesc="Gnome2-VFS perl bindings for gnome-vfs"
 arch=(i686 x86_64)
 license=('LGPL')
 url="http://gtk2-perl.sourceforge.net/"
-makedepends=('perl-extutils-pkgconfig>=1.11' 'perl-extutils-depends>=0.300')
-depends=('gtk2-perl>=1.182' 'gnome-vfs>=2.22.0' 'perl>=5.10.0')
+makedepends=('perl-extutils-pkgconfig' 'perl-extutils-depends')
+depends=('gtk2-perl' 'gnome-vfs' 'perl')
 options=('!emptydirs')
 source=(http://downloads.sourceforge.net/sourceforge/gtk2-perl/${_realname}-${pkgver}.tar.gz)
 md5sums=('3d220cbbe9f1ebc78d7047593f9cd633')
 
 build() {
-  cd ${startdir}/src/${_realname}-${pkgver}
-  perl Makefile.PL INSTALLDIRS=vendor || return 1
-  make  || return 1
-  make DESTDIR=${startdir}/pkg install || return 1
-
-  find ${startdir}/pkg -name '.packlist' -delete
-  find ${startdir}/pkg -name 'perllocal.pod' -delete
+  cd "${srcdir}/${_realname}-${pkgver}"
+  perl Makefile.PL INSTALLDIRS=vendor
+  make
+  make DESTDIR="${pkgdir}" install
 }



More information about the arch-commits mailing list