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

Felix Yan felixonmars at archlinux.org
Mon Mar 16 14:17:51 UTC 2020


    Date: Monday, March 16, 2020 @ 14:17:50
  Author: felixonmars
Revision: 599740

quote pkgdir

Modified:
  perl-data-random/trunk/PKGBUILD

----------+
 PKGBUILD |   10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-03-16 14:16:44 UTC (rev 599739)
+++ PKGBUILD	2020-03-16 14:17:50 UTC (rev 599740)
@@ -12,21 +12,21 @@
 makedepends=('perl-file-sharedir-install' 'perl-test-mocktime')
 checkdepends=('perl-test-pod' 'perl-test-pod-coverage')
 options=('!emptydirs')
-source=("https://cpan.metacpan.org/authors/id/B/BA/BAREFOOT/Data-Random-${pkgver}.tar.gz")
+source=("https://cpan.metacpan.org/authors/id/B/BA/BAREFOOT/Data-Random-$pkgver.tar.gz")
 sha512sums=('7cf3811ee26a3b93a8170cc9c863ad2cf03f5997cabe66cd78646a4d93a6568ef247f636782b8c707c3064120b30609f3562d8654b31e5e31890aa302b03cdb5')
 
 build() {
-  cd "$srcdir/Data-Random-${pkgver}"
+  cd Data-Random-$pkgver
   PERL_USE_UNSAFE_INC=1 perl Makefile.PL INSTALLDIRS=vendor
   make
 }
 
 check() {
-  cd "$srcdir/Data-Random-${pkgver}"
+  cd Data-Random-$pkgver
   make test
 }
 
 package() {
-  cd "$srcdir/Data-Random-${pkgver}"
-  make DESTDIR=$pkgdir install
+  cd Data-Random-$pkgver
+  make DESTDIR="$pkgdir" install
 }



More information about the arch-commits mailing list