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

Allan McRae allan at archlinux.org
Sat Feb 18 20:10:38 EST 2012


    Date: Saturday, February 18, 2012 @ 20:10:38
  Author: allan
Revision: 150632

upgpkg: perl-file-mimeinfo 0.16-1

upstream update

Modified:
  perl-file-mimeinfo/trunk/PKGBUILD

----------+
 PKGBUILD |   15 +++++++--------
 1 file changed, 7 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2012-02-19 01:02:52 UTC (rev 150631)
+++ PKGBUILD	2012-02-19 01:10:38 UTC (rev 150632)
@@ -3,8 +3,8 @@
 
 pkgname=perl-file-mimeinfo
 _realname=File-MimeInfo
-pkgver=0.15
-pkgrel=2
+pkgver=0.16
+pkgrel=1
 pkgdesc='Perl/CPAN File::MimeInfo module - Determine file type, includes mimeopen and mimetype'
 arch=(any)
 license=('GPL' 'PerlArtistic')
@@ -13,7 +13,7 @@
 'perl')
 options=(!emptydirs)
 source=(http://search.cpan.org/CPAN/authors/id/P/PA/PARDUS/${_realname}/${_realname}-${pkgver}.tar.gz)
-md5sums=('41fa5a252203e1d6023ab5849fd9e0df')
+md5sums=('c024adace5d3a4ed27fd8a46c7f2dedb')
 
 build() {
   cd ${srcdir}/${_realname}-${pkgver}
@@ -21,15 +21,14 @@
   # install module in vendor directories.
   perl Makefile.PL INSTALLDIRS=vendor
   make
+}
+
+check() {
+  cd ${srcdir}/${_realname}-${pkgver}
   make test
 }
 
 package() {
   cd ${srcdir}/${_realname}-${pkgver}
-
   make install DESTDIR=${pkgdir}
-
-  # remove perllocal.pod and .packlist
-  find ${pkgdir} -name perllocal.pod -delete
-  find ${pkgdir} -name .packlist -delete
 }



More information about the arch-commits mailing list