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

Angel Velásquez angvp at archlinux.org
Wed Jan 5 23:44:48 EST 2011


    Date: Wednesday, January 5, 2011 @ 23:44:47
  Author: angvp
Revision: 105080

upgpkg: dvdrip 0.98.11-2
Building against perl 5.12.2

Modified:
  dvdrip/trunk/PKGBUILD

----------+
 PKGBUILD |   15 +++++++++------
 1 file changed, 9 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2011-01-06 03:00:17 UTC (rev 105079)
+++ PKGBUILD	2011-01-06 04:44:47 UTC (rev 105080)
@@ -4,7 +4,7 @@
 
 pkgname=dvdrip
 pkgver=0.98.11
-pkgrel=1
+pkgrel=2
 pkgdesc="A Gtk frontend for transcode writen in Perl"
 arch=('i686' 'x86_64')
 license=('custom')
@@ -22,15 +22,18 @@
 build() {
   export MAKEFLAGS="-j1"
   cd "${srcdir}/${pkgname}-${pkgver}"
+  perl Makefile.PL INSTALLSITESCRIPT=/usr/bin INSTALLSITELIB=/usr/lib/perl5/site_perl/current 
+  make 
+}
 
-  perl Makefile.PL INSTALLSITESCRIPT=/usr/bin INSTALLSITELIB=/usr/lib/perl5/site_perl/current || return 1
-  make || return 1
-  make install DESTDIR="${pkgdir}" || return 1
+package() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  make install DESTDIR="${pkgdir}" 
 
   # remove perllocal.pod and .packlist
   find ${pkgdir} -name perllocal.pod -delete
   find ${pkgdir} -name .packlist -delete
 
-  install -Dm644 ${srcdir}/${pkgname}.desktop "${pkgdir}/usr/share/applications/${pkgname}.desktop" || return 1
-  install -Dm 644 COPYRIGHT "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" || return 1
+  install -Dm644 ${srcdir}/${pkgname}.desktop "${pkgdir}/usr/share/applications/${pkgname}.desktop" 
+  install -Dm 644 COPYRIGHT "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" 
 }



More information about the arch-commits mailing list