diff options
author | yar | 2017-01-10 22:20:35 -0800 |
---|---|---|
committer | yar | 2017-01-10 22:20:35 -0800 |
commit | f17699b7432679232deb60bdcea7fe780cd2bb29 (patch) | |
tree | 1161bebbdb06e7980402c4a629a2004d05e3ddf7 | |
parent | cf490aa6c4e77e6ffd15325ddf9bd3230dca5779 (diff) | |
download | aur-f17699b7432679232deb60bdcea7fe780cd2bb29.tar.gz |
bump 0.08
also use cpaname & cpanauthor vars and improve description
-rw-r--r-- | .SRCINFO | 12 | ||||
-rw-r--r-- | PKGBUILD | 19 |
2 files changed, 16 insertions, 15 deletions
@@ -1,10 +1,10 @@ # Generated by mksrcinfo v8 -# Fri Feb 12 02:11:23 UTC 2016 +# Wed Jan 11 06:19:37 UTC 2017 pkgbase = perl-math-random-secure - pkgdesc = Cryptographically-secure, cross-platform replacement for rand() - pkgver = 0.06 + pkgdesc = Perl Math::Random::Secure CPAN module - cryptographically-secure, cross-platform replacement for rand() + pkgver = 0.08 pkgrel = 1 - url = http://search.cpan.org/~mkanat/Math-Random-Secure/ + url = http://search.cpan.org/dist/${cpaname}/ arch = any license = GPL depends = perl-any-moose @@ -12,8 +12,8 @@ pkgbase = perl-math-random-secure depends = perl-math-random-isaac depends = perl-module-find options = !emptydirs - source = http://search.cpan.org/CPAN/authors/id/M/MK/MKANAT/Math-Random-Secure-0.06.tar.gz - sha512sums = 55e94f74608ab2f6acf605ef9244311f1635f291f4aebdeb494a4d962c95052d69eefa7cb8e96b58abc3de178d44ecf222467250626d67969edad0c1d91e6f2a + source = http://search.cpan.org/CPAN/authors/id/F/FR/FREW/Math-Random-Secure-0.08.tar.gz + sha512sums = 456c7f8143e616acd2706a8fb04456b0ae53175156e935fe972674b49c20a0b42fdbb2aafc7bce4c4de521fb6b0697235539b37960ec961b2412f4492f6d8736 pkgname = perl-math-random-secure @@ -1,33 +1,34 @@ # Maintainer: Yardena Cohen <yardenack at gmail dot com> +cpaname=Math-Random-Secure +cpanauthor=FREW pkgname='perl-math-random-secure' -_dist='Math-Random-Secure' -pkgver='0.06' +pkgver='0.08' pkgrel=1 -pkgdesc='Cryptographically-secure, cross-platform replacement for rand()' +pkgdesc='Perl Math::Random::Secure CPAN module - cryptographically-secure, cross-platform replacement for rand()' arch=('any') -url='http://search.cpan.org/~mkanat/Math-Random-Secure/' +url='http://search.cpan.org/dist/${cpaname}/' license=('GPL') depends=(perl-any-moose perl-crypt-random-source-factory perl-math-random-isaac perl-module-find) options=(!emptydirs) -source=("http://search.cpan.org/CPAN/authors/id/M/MK/MKANAT/Math-Random-Secure-${pkgver}.tar.gz") -sha512sums=('55e94f74608ab2f6acf605ef9244311f1635f291f4aebdeb494a4d962c95052d69eefa7cb8e96b58abc3de178d44ecf222467250626d67969edad0c1d91e6f2a') +source=("http://search.cpan.org/CPAN/authors/id/${cpanauthor::1}/${cpanauthor::2}/${cpanauthor}/${cpaname}-${pkgver}.tar.gz") +sha512sums=('456c7f8143e616acd2706a8fb04456b0ae53175156e935fe972674b49c20a0b42fdbb2aafc7bce4c4de521fb6b0697235539b37960ec961b2412f4492f6d8736') build() { - cd "${srcdir}"/"${_dist}"-"${pkgver}" + cd "${srcdir}/${cpaname}-${pkgver}" perl Makefile.PL make } check() { - cd "${srcdir}"/"${_dist}"-"${pkgver}" + cd "${srcdir}/${cpaname}-${pkgver}" make test } package() { - cd "${srcdir}"/"${_dist}"-"${pkgver}" + cd "${srcdir}/${cpaname}-${pkgver}" make install INSTALLDIRS=vendor DESTDIR="${pkgdir}" } |