diff --git a/pkgbuild/perl-rrd-editor/PKGBUILD b/pkgbuild/perl-rrd-editor/PKGBUILD index 83eee36..791f1d7 100644 --- a/pkgbuild/perl-rrd-editor/PKGBUILD +++ b/pkgbuild/perl-rrd-editor/PKGBUILD @@ -2,16 +2,16 @@ _author=DOUGLEITH _perlmod=RRD-Editor pkgname=perl-rrd-editor -pkgver=0.17 +pkgver=0.18 pkgrel=1 pkgdesc="Portable, standalone (no need for RRDs.pm) tool to create and edit RRD files" arch=('any') -url="http://search.cpan.org/~$_author/$_perlmod-$pkgver/" +url="https://metacpan.org/release/$_perlmod" license=('GPL' 'PerlArtistic') depends=('perl>=5.10.0') options=(!emptydirs) -source=(http://cpan.perl.org/modules/by-authors/id/D/DO/$_author/$_perlmod-$pkgver.tar.gz) -md5sums=('0abe5d633c7609daec8dc287ef03ddef') +source=(http://cpan.perl.org/modules/by-authors/id/${_author:0:1}/${_author:0:2}/$_author/$_perlmod-$pkgver.tar.gz) +md5sums=('48c7cf8567f72316bde7df655d9fd473') build() { cd "$srcdir/$_perlmod-$pkgver"