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

Jan Steffens heftig at archlinux.org
Fri Feb 15 17:19:27 UTC 2019


    Date: Friday, February 15, 2019 @ 17:19:26
  Author: heftig
Revision: 346301

1.23-1

Modified:
  perl-file-which/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-02-15 17:19:06 UTC (rev 346300)
+++ PKGBUILD	2019-02-15 17:19:26 UTC (rev 346301)
@@ -3,25 +3,26 @@
 
 pkgname=perl-file-which
 _realname=File-Which
-pkgver=1.22
-pkgrel=2
+pkgver=1.23
+pkgrel=1
 pkgdesc="Portable implementation of which"
 arch=(any)
-url="http://search.cpan.org/dist/File-Which"
+url="https://metacpan.org/release/$_realname"
 license=(GPL PerlArtistic)
 depends=(perl)
 options=('!emptydirs')
-_author=PLICEASE
-source=("https://www.cpan.org/authors/id/${_author:0:1}/${_author:0:2}/$_author/${_realname}-${pkgver}.tar.gz")
-md5sums=('face60fafd220dc83fa581ef6f96d480')
+source=("https://cpan.metacpan.org/authors/id/P/PL/PLICEASE/$_realname-$pkgver.tar.gz")
+sha256sums=('b79dc2244b2d97b6f27167fc3b7799ef61a179040f3abd76ce1e0a3b0bc4e078')
 
 build() {
-  cd "$srcdir/${_realname}-${pkgver}"
+  cd $_realname-$pkgver
   PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
   make
 }
 
 package() {
-  cd "$srcdir/${_realname}-${pkgver}"
-  make install DESTDIR="$pkgdir"
+  cd $_realname-$pkgver
+  make DESTDIR="$pkgdir" install
 }
+
+# vim:set sw=2 et:



More information about the arch-commits mailing list