blob: 204e02812894aaeef3f3fc701956337c1feb1d36 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
# Maintainer: freggel.doe <freggel.doe@gmx.net>
pkgname=perl-crypt-generatepassword
_cpanname=Crypt-GeneratePassword
_module=Crypt::GeneratePassword
pkgver=0.05
pkgrel=2
pkgdesc="generate secure random pronounceable passwords"
arch=('any')
url="https://metacpan.org/release/$_cpanname"
license=('GPL' 'PerlArtistic')
depends=('perl' 'perl-crypt-cracklib')
options=('!emptydirs')
source=("https://cpan.metacpan.org/authors/id/N/NE/NEILB/${_cpanname}-${pkgver}.tar.gz")
sha1sums=('99d12d56eae45a335b01c127480dfade41db34c5')
build() {
cd "$srcdir/$_cpanname-$pkgver"
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
make
}
check() {
cd "$srcdir/$_cpanname-$pkgver"
make test
}
package() {
cd "$srcdir/$_cpanname-$pkgver"
make install DESTDIR="$pkgdir"
}
# vim:set ts=4 sw=4 expandtab:
|