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

Felix Yan fyan at archlinux.org
Mon Jan 19 03:53:19 UTC 2015


    Date: Monday, January 19, 2015 @ 04:53:19
  Author: fyan
Revision: 229560

upgpkg: perl-appconfig 1.67-1

Modified:
  perl-appconfig/trunk/PKGBUILD

----------+
 PKGBUILD |   23 ++++++++++++++---------
 1 file changed, 14 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2015-01-19 03:25:10 UTC (rev 229559)
+++ PKGBUILD	2015-01-19 03:53:19 UTC (rev 229560)
@@ -1,29 +1,34 @@
 # $Id$
-# Maintainer: Felix Yan <felixonmars at gmail.com>
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
 # Contributor: eric <eric at archlinux.org>
 # Contributor: Eric Johnson <eric at coding-zone.com>
 
 pkgname=perl-appconfig
 _realname=AppConfig
-pkgver=1.66
-pkgrel=5
+pkgver=1.67
+pkgrel=1
 pkgdesc="Perl/CPAN AppConfig module - Read configuration files and parse command line arguments"
 arch=('any')
 license=('PerlArtistic' 'GPL')
 url="http://search.cpan.org/dist/${_realname}/"
-depends=('perl>=5.10.0')
+depends=('perl')
 options=(!emptydirs)
-source=(http://www.cpan.org/authors/id/A/AB/ABW/${_realname}-${pkgver}.tar.gz)
-md5sums=('21aa4d1bf70a49a94c2dc9293389b3a0')
+source=(http://www.cpan.org/authors/id/N/NE/NEILB/${_realname}-${pkgver}.tar.gz)
+md5sums=('3c84263a88c66779df3f0948a8c6786b')
 
 build() {
-  cd ${srcdir}/${_realname}-${pkgver}
+  cd "${srcdir}/${_realname}-${pkgver}"
   # 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}
+  cd "${srcdir}/${_realname}-${pkgver}"
+  make install DESTDIR="${pkgdir}"
 }



More information about the arch-commits mailing list