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

Jaroslav Lichtblau jlichtblau at archlinux.org
Wed Nov 21 17:53:56 UTC 2018


    Date: Wednesday, November 21, 2018 @ 17:53:56
  Author: jlichtblau
Revision: 409287

upgpkg: perl-tidy 20181120-1 - new upstream release

Modified:
  perl-tidy/trunk/PKGBUILD

----------+
 PKGBUILD |   16 +++++++++-------
 1 file changed, 9 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-11-21 17:51:48 UTC (rev 409286)
+++ PKGBUILD	2018-11-21 17:53:56 UTC (rev 409287)
@@ -3,7 +3,7 @@
 # Contributor: Firmicus <francois.archlinux.org>
 
 pkgname=perl-tidy
-pkgver=20180220
+pkgver=20181120
 pkgrel=1
 pkgdesc="Parses and beautifies perl source"
 arch=('any')
@@ -12,17 +12,19 @@
 depends=('perl>=5.10.0')
 options=('!emptydirs')
 source=(https://www.cpan.org/authors/id/S/SH/SHANCOCK/Perl-Tidy-$pkgver.tar.gz)
-sha256sums=('e9973ce28b7518108c1e68fa767c6566822480e739df275375a0dfcc9c2b3370')
+sha256sums=('7db0eeb76535a62cbb4e69b6558e0705162d476a654a7a5ec472aa846b8c4569')
 
 build() {
-  cd  "$srcdir"/Perl-Tidy-$pkgver
+  cd  "${srcdir}"/Perl-Tidy-$pkgver
+
   PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
   make
 }
 
 package() {
-  cd  "$srcdir"/Perl-Tidy-$pkgver
-  make install DESTDIR="$pkgdir"
-  find "$pkgdir" -name '.packlist' -delete
-  find "$pkgdir" -name '*.pod' -delete
+  cd  "${srcdir}"/Perl-Tidy-$pkgver
+
+  make install DESTDIR="${pkgdir}"
+  find "${pkgdir}" -name '.packlist' -delete
+  find "${pkgdir}" -name '*.pod' -delete
 }


More information about the arch-commits mailing list