summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAmish2018-12-11 08:03:06 +0530
committerAmish2018-12-11 08:03:06 +0530
commita6da1bab353987de8da2557d589fee4f811c75a8 (patch)
tree1aeb347d9610b5ddf84892ce03f9fca331c60e24
parent49110d7e27fd34a89b5d84af70f4d618d492c411 (diff)
downloadaur-a6da1bab353987de8da2557d589fee4f811c75a8.tar.gz
Switch to MetaCPAN
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD6
2 files changed, 5 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 43ebfcd5edce..b1a87e9de503 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -2,7 +2,7 @@ pkgbase = perl-encode-detect
pkgdesc = An Encode::Encoding subclass that detects the encoding of data
pkgver = 1.01
pkgrel = 4
- url = http://search.cpan.org/dist/Encode-Detect
+ url = https://metacpan.org/pod/Encode::Detect
arch = i686
arch = x86_64
license = PerlArtistic
@@ -10,7 +10,7 @@ pkgbase = perl-encode-detect
makedepends = perl-module-build
depends = perl
options = !emptydirs
- source = http://search.cpan.org/CPAN/authors/id/J/JG/JGMYERS/Encode-Detect-1.01.tar.gz
+ source = https://cpan.metacpan.org/authors/id/J/JG/JGMYERS/Encode-Detect-1.01.tar.gz
md5sums = ee9faf55d7105c97b02b8ebe590819c7
sha512sums = cc9c81f716dcb61abb321abd84e4ebb95a674d9aa34c4265f58cace38f6d15ef4f2b8338190ae7d200672e047b795a30ce6155f9c1b1c424e25d962579b96224
diff --git a/PKGBUILD b/PKGBUILD
index 691022fd68c0..223a0a65a0bf 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -11,11 +11,11 @@ license=('PerlArtistic' 'GPL')
options=('!emptydirs')
depends=('perl')
makedepends=('perl-module-build')
-url='http://search.cpan.org/dist/Encode-Detect'
-source=('http://search.cpan.org/CPAN/authors/id/J/JG/JGMYERS/Encode-Detect-1.01.tar.gz')
+url='https://metacpan.org/pod/Encode::Detect'
+source=("https://cpan.metacpan.org/authors/id/J/JG/JGMYERS/Encode-Detect-${pkgver}.tar.gz")
md5sums=('ee9faf55d7105c97b02b8ebe590819c7')
sha512sums=('cc9c81f716dcb61abb321abd84e4ebb95a674d9aa34c4265f58cace38f6d15ef4f2b8338190ae7d200672e047b795a30ce6155f9c1b1c424e25d962579b96224')
-_distdir="Encode-Detect-1.01"
+_distdir="Encode-Detect-${pkgver}"
build() {
( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" \