aboutsummaryrefslogtreecommitdiffstats
path: root/community/perl-business-issn
diff options
context:
space:
mode:
authorSören Tempel <soeren+git@soeren-tempel.net>2018-05-20 12:23:14 +0200
committerSören Tempel <soeren+git@soeren-tempel.net>2018-05-20 12:24:48 +0200
commit86c3bd8740f72193b8eac063b006239943b30e5c (patch)
treedc0ac0c119a35bdafb9ab3593f3d02dbd96d9527 /community/perl-business-issn
parentddae464717ccaea853d91c0c44fa8f7df07ed7bb (diff)
downloadaports-86c3bd8740f72193b8eac063b006239943b30e5c.tar.bz2
aports-86c3bd8740f72193b8eac063b006239943b30e5c.tar.xz
community/perl-business-issn: fetch tarball from GitHub
The newest release is 1.003 and the old one (1.002) doesn't seem to be available on search.cpan.org. Besides upstream seems to have decided to ditch search.cpan.org for metacpan.org [1]. No pkgrel bump, since this shouldn't change anything in the package. [1]: https://github.com/briandfoy/business-issn/commit/42f1fb88781d6ad742bb47da3dfad9ed3c4fbae4
Diffstat (limited to 'community/perl-business-issn')
-rw-r--r--community/perl-business-issn/APKBUILD11
1 files changed, 5 insertions, 6 deletions
diff --git a/community/perl-business-issn/APKBUILD b/community/perl-business-issn/APKBUILD
index 762925e5df..7d26876c2b 100644
--- a/community/perl-business-issn/APKBUILD
+++ b/community/perl-business-issn/APKBUILD
@@ -2,11 +2,11 @@
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=perl-business-issn
-_pkgreal=Business-ISSN
+_pkgreal=${pkgname#perl-}
pkgver=1.002
pkgrel=1
pkgdesc="Perl extension for International Standard Serial Numbers"
-url="http://search.cpan.org/dist/Business-ISSN/"
+url="https://github.com/briandfoy/business-issn"
arch="noarch"
license="GPL PerlArtistic"
cpandepends=""
@@ -14,9 +14,8 @@ cpanmakedepends=""
depends="$cpandepends"
makedepends="perl-dev $cpanmakedepends"
subpackages="$pkgname-doc"
-source="http://search.cpan.org/CPAN/authors/id/B/BD/BDFOY/$_pkgreal-$pkgver.tar.gz"
-
-builddir="$srcdir/$_pkgreal-$pkgver"
+source="$pkgname-$pkgver.tar.gz::https://github.com/briandfoy/$_pkgreal/archive/release-$pkgver.tar.gz"
+builddir="$srcdir/$_pkgreal-release-$pkgver"
prepare() {
default_prepare
@@ -43,4 +42,4 @@ package() {
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
-sha512sums="c6a2d4ff750071080fc5e6859e0f959bcc14ddc307a28891636d36bbee220de40100148fd96475ad0dd5c0bfac1fdd9f5f47c2d5797c9c1b78c84f0fc811a9a1 Business-ISSN-1.002.tar.gz"
+sha512sums="1cba46bf36672a9f92ea12f4c72584f93f577687a9e1932eb71b13618f64b600a0fb85f0cda4d3e088940b8c4fe1c8dea65283bbd6892514eed246b21f30b6a1 perl-business-issn-1.002.tar.gz"