user/*: 3.20 clean-up #480

Merged
ayakael merged 9 commits from user/320-cleanup into edge 2024-06-02 22:57:45 +00:00
Showing only changes of commit 7fe91bbe55 - Show all commits

View file

@ -1,48 +0,0 @@
# Maintainer: Antoine Martin (ayakael) <dev@ayakael.net>
# Contributor: Antoine Martin (ayakael) <dev@ayakael.net>
_cpaname="Crypt-Random-Source"
_cpanauthor=ETHER
pkgname=perl-crypt-random-source
pkgver=0.14
pkgrel=1
pkgdesc="Perl Crypt::Random::Source CPAN module - load and instantiate sources of random data"
arch="noarch"
url="http://search.cpan.org/dist/$_cpaname/"
license="GPL"$
makedepends="
perl-module-build-tiny
"
depends="
perl-capture-tiny
perl-module-find
perl-module-runtime
perl-moo
perl-namespace-clean
perl-sub-exporter
perl-sub-name
perl-test-fatal
perl-type-tiny
perl-yaml
"
source="http://www.cpan.org/authors/id/${_cpanauthor::1}/${_cpanauthor::2}/$_cpanauthor/$_cpaname-$pkgver.tar.gz"
subpackages="$pkgname-doc"
builddir="$srcdir"/$_cpaname-$pkgver
build() {
export PERL_MM_FALLBACK_SILENCE_WARNING=true
perl Makefile.PL
make
}
check() {
make test
}
package() {
make install INSTALLDIRS=vendor DESTDIR="$pkgdir"
rm "$pkgdir"/usr/lib/perl5/core_perl/perllocal.pod
}
sha512sums="
25760ccfae42f44bd132915e3796042b43c1bc43195a97fc1236579c90b96957b3d86d2e68adde9d7dd486336f132982867413af251c66e527584e7309e0c729 Crypt-Random-Source-0.14.tar.gz
"