diff --git a/.SRCINFO b/.SRCINFO index 9e3ca79..e6c364f 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,15 +1,17 @@ +# Generated by mksrcinfo v8 +# Tue Nov 24 10:16:34 UTC 2015 pkgbase = perl-config-properties pkgdesc = A near implementation of the java.util.Properties API. - pkgver = 1.77 + pkgver = 1.80 pkgrel = 1 - url = http://search.cpan.org/~salva/Config-Properties/ + url = https://metacpan.org/release/Config-Properties arch = any license = GPL license = PerlArtistic depends = perl>=5.10.0 options = !emptydirs - source = http://search.cpan.org/CPAN/authors/id/S/SA/SALVA/Config-Properties-1.77.tar.gz - md5sums = ff3a93d8ba9de61a1df0e26274a34f82 + source = http://cpan.metacpan.org/authors/id/S/SA/SALVA/Config-Properties-1.80.tar.gz + md5sums = d3aa9eebbbb2c751d5b3441616d8eb56 pkgname = perl-config-properties diff --git a/PKGBUILD b/PKGBUILD index 1643393..2bb220d 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,15 +1,17 @@ # Maintainer: Cedric Girard +_author=SALVA +_perlmod=Config-Properties pkgname=perl-config-properties -pkgver=1.77 +pkgver=1.80 pkgrel=1 pkgdesc="A near implementation of the java.util.Properties API." arch=(any) -url="http://search.cpan.org/~salva/Config-Properties/" +url="https://metacpan.org/release/$_perlmod" license=('GPL' 'PerlArtistic') depends=('perl>=5.10.0') options=(!emptydirs) -source=(http://search.cpan.org/CPAN/authors/id/S/SA/SALVA/Config-Properties-$pkgver.tar.gz) -md5sums=('ff3a93d8ba9de61a1df0e26274a34f82') +source=(http://cpan.metacpan.org/authors/id/${_author:0:1}/${_author:0:2}/$_author/$_perlmod-$pkgver.tar.gz) +md5sums=('d3aa9eebbbb2c751d5b3441616d8eb56') build() { cd "$srcdir/Config-Properties-$pkgver" @@ -20,6 +22,11 @@ build() { } +check() { + cd "$srcdir/Config-Properties-$pkgver" + make test +} + package() { cd "$srcdir/Config-Properties-$pkgver" make install DESTDIR="$pkgdir/"