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

Allan McRae allan at archlinux.org
Thu Oct 28 03:38:22 UTC 2010


    Date: Wednesday, October 27, 2010 @ 23:38:21
  Author: allan
Revision: 97234

upgpkg: perl-mp3-info 1.24-2
convert to arch=any, get man pages compressed

Modified:
  perl-mp3-info/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2010-10-28 03:32:19 UTC (rev 97233)
+++ PKGBUILD	2010-10-28 03:38:21 UTC (rev 97234)
@@ -5,9 +5,9 @@
 pkgname=perl-mp3-info
 _realname=MP3-Info
 pkgver=1.24
-pkgrel=1
+pkgrel=2
 pkgdesc="Manipulate / fetch info from MP3 audio files"
-arch=('i686' 'x86_64')
+arch=('any')
 url="http://search.cpan.org/dist/${_realname}/"
 depends=('perl>=5.10.0')
 license=('GPL')
@@ -18,12 +18,8 @@
 build() {
   cd  ${srcdir}/${_realname}-${pkgver}
   # install module in vendor directories.
-  /usr/bin/perl Makefile.PL INSTALLDIRS=vendor || return 1
-  /usr/bin/make || return 1
+  /usr/bin/perl Makefile.PL INSTALLDIRS=vendor
+  /usr/bin/make
   /usr/bin/make DESTDIR=${pkgdir} install
-
-  # remove *.pod, .packlist, and empty dirs:
-  find ${pkgdir} -name perllocal.pod -delete
-  find ${pkgdir} -name .packlist -delete
 }
 




More information about the arch-commits mailing list