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

Felix Yan fyan at archlinux.org
Mon Apr 6 04:09:06 UTC 2015


    Date: Monday, April 6, 2015 @ 06:09:04
  Author: fyan
Revision: 235526

upgpkg: perl-file-basedir 0.06-1

Modified:
  perl-file-basedir/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2015-04-06 00:37:08 UTC (rev 235525)
+++ PKGBUILD	2015-04-06 04:09:04 UTC (rev 235526)
@@ -5,28 +5,29 @@
 
 pkgname=perl-file-basedir
 _realname=File-BaseDir
-pkgver=0.05
+pkgver=0.06
 pkgrel=1
 pkgdesc='Use the Freedesktop.org base directory specification'
 arch=('any')
 license=('GPL' 'PerlArtistic')
 url="http://search.cpan.org/dist/${_realname}/"
-depends=('perl-ipc-system-simple' 'perl-file-which')
+depends=('perl-ipc-system-simple')
 makedepends=('perl-module-build>0.4205')
-checkdepends=('perl-test-pod' 'perl-test-pod-coverage')
+checkdepends=('perl-test-pod' 'perl-test-pod-coverage' 'perl-file-which' 'xdg-user-dirs')
 options=('!emptydirs')
 source=("http://search.cpan.org/CPAN/authors/id/K/KI/KIMRYAN/${_realname}-$pkgver.tar.gz")
-md5sums=('e17d5e5b81c180b2940522d390ccb523')
+md5sums=('13cd49e695e559b85a4543ed7ad80004')
 
 build() {
-  cd ${srcdir}/${_realname}-${pkgver}
+  cd "${srcdir}/${_realname}-${pkgver}"
   perl Makefile.PL INSTALLDIRS=vendor
   make
 }
 
 check() {
-  cd ${srcdir}/${_realname}-${pkgver}
-  make test
+  mkdir .config
+  cd "${srcdir}/${_realname}-${pkgver}"
+  HOME="$srcdir" make test
 }
 
 package() {



More information about the arch-commits mailing list