[arch-commits] Commit in perl-regexp-common/trunk (PKGBUILD)
Evangelos Foutras
foutrelis at archlinux.org
Tue Oct 30 13:21:07 UTC 2018
Date: Tuesday, October 30, 2018 @ 13:21:06
Author: foutrelis
Revision: 399620
upgpkg: perl-regexp-common 2017060201-1
New upstream release.
Modified:
perl-regexp-common/trunk/PKGBUILD
----------+
PKGBUILD | 17 ++++++++---------
1 file changed, 8 insertions(+), 9 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-10-30 12:23:58 UTC (rev 399619)
+++ PKGBUILD 2018-10-30 13:21:06 UTC (rev 399620)
@@ -3,32 +3,31 @@
# Contributor: Jason St. John <jstjohn .. purdue . edu>
# Contributor: Caleb Cushing <xenoterracide at gmail.com>
-_dist=Regexp-Common
pkgname=perl-regexp-common
-pkgver=2016010801
-pkgrel=5
+pkgver=2017060201
+pkgrel=1
pkgdesc="Commonly requested regular expressions"
arch=('any')
-url="http://search.cpan.org/dist/$_dist"
+url="https://metacpan.org/release/Regexp-Common"
license=('PerlArtistic' 'Artistic2.0' 'BSD' 'MIT')
depends=('perl')
options=('!emptydirs')
-source=(http://search.cpan.org/CPAN/authors/id/A/AB/ABIGAIL/$_dist-$pkgver.tar.gz)
-sha256sums=('65558ad12b5f6250c483b5980e8533048c46912d6d69c76150f8f95a5b8eb1c4')
+source=(https://cpan.metacpan.org/authors/id/A/AB/ABIGAIL/Regexp-Common-$pkgver.tar.gz)
+sha256sums=('ee07853aee06f310e040b6bf1a0199a18d81896d3219b9b35c9630d0eb69089b')
build() {
- cd $_dist-$pkgver
+ cd Regexp-Common-$pkgver
perl Makefile.PL INSTALLDIRS=vendor
make
}
check() {
- cd $_dist-$pkgver
+ cd Regexp-Common-$pkgver
make test
}
package() {
- cd $_dist-$pkgver
+ cd Regexp-Common-$pkgver
make DESTDIR="$pkgdir" install
# We have a sale on licenses; grab yours today!
More information about the arch-commits
mailing list