[arch-commits] CVS update of extra/multimedia/dvdrip (PKGBUILD)

Kevin Piche kevin at archlinux.org
Tue Jan 15 03:22:12 UTC 2008


    Date: Monday, January 14, 2008 @ 22:22:12
  Author: kevin
    Path: /home/cvs-extra/extra/multimedia/dvdrip

Modified: PKGBUILD (1.38 -> 1.39)

upgpkg: dvdrip 0.98.8-2
Updated for new perl policy


----------+
 PKGBUILD |   30 ++++++++++++++++--------------
 1 file changed, 16 insertions(+), 14 deletions(-)


Index: extra/multimedia/dvdrip/PKGBUILD
diff -u extra/multimedia/dvdrip/PKGBUILD:1.38 extra/multimedia/dvdrip/PKGBUILD:1.39
--- extra/multimedia/dvdrip/PKGBUILD:1.38	Thu Oct 25 17:01:07 2007
+++ extra/multimedia/dvdrip/PKGBUILD	Mon Jan 14 22:22:12 2008
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD,v 1.38 2007/10/25 21:01:07 tobias Exp $
+# $Id: PKGBUILD,v 1.39 2008/01/15 03:22:12 kevin Exp $
 # Contributor: Fredrik Hammar <Horney_C86 at Hotmail.com>
 # Maintainer: tobias <tobias at archlinux.org>
 
 pkgname=dvdrip
 pkgver=0.98.8
-pkgrel=1
+pkgrel=2
 pkgdesc="A Gtk frontend for transcode writen in Perl"
 arch=(i686 x86_64)
 license=('custom')
@@ -14,26 +14,28 @@
          'perl-libintl-perl' 'desktop-file-utils' 'perl-event-execflow')
 source=(http://www.exit1.org/dvdrip/dist/${pkgname}-${pkgver}.tar.gz \
         ${pkgname}.desktop)
+options=(!emptydirs)
 md5sums=('61b77b298b14c6bde83713e93e9ea4d8'
          '9c5b347c2e0ae847d0e7abb3cf54bad3')
 
 build() {
   export MAKEFLAGS="-j1"
   cd ${startdir}/src/${pkgname}-${pkgver}
-   # workaround a workaround that works around the RH specific NPTL handling
-  sed -i 's:2\.2\.5:2.4:' lib/Video/DVDRip/Config.pm
-  perl Makefile.PL
-  make || return 1
+  # workaround a workaround that works around the RH specific NPTL handling
+  #sed -i 's:2\.2\.5:2.4:' lib/Video/DVDRip/Config.pm
 
+  perl Makefile.PL INSTALLDIRS=vendor || return 1
+  make || return 1
 # make test is broken in a chroot
-# make test || return 1
-
+#  make test || return 1
   make install DESTDIR=${startdir}/pkg
-  rm ${startdir}/pkg/usr/lib/perl5/?.?.?/${CARCH}-linux-thread-multi/perllocal.pod
-  mv ${startdir}/pkg/usr/lib/perl5/site_perl/?.?.? ${startdir}/pkg/usr/lib/perl5/site_perl/current
-  rm ${startdir}/pkg/usr/lib/perl5/site_perl/current/${CARCH}-linux-thread-multi/auto/Video/DVDRip/.packlist
-  install -Dm644 ../${pkgname}.desktop ${startdir}/pkg/usr/share/applications/${pkgname}.desktop
-  install -Dm 644 COPYRIGHT \
-    ${startdir}/pkg/usr/share/licenses/${pkgname}/license.txt
 
+  # remove perllocal.pod and .packlist
+  find ${startdir}/pkg -name perllocal.pod -delete
+  find ${startdir}/pkg -name .packlist -delete
+
+  install -Dm644 ../${pkgname}.desktop \
+      ${startdir}/pkg/usr/share/applications/${pkgname}.desktop
+  install -Dm 644 COPYRIGHT \
+      ${startdir}/pkg/usr/share/licenses/${pkgname}/license.txt
 }




More information about the arch-commits mailing list