blob: 417f4bc75b16960ac881dc13dd9a03920c9c7865 (
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
34
|
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=perl-string-random
_realname=String-Random
pkgver=0.29
pkgrel=1
pkgdesc="Perl extension to generate random strings"
url="http://search.cpan.org/~shlomif/String-Random-0.29/"
arch="noarch"
license="PerlArtistic"
depends="perl"
makedepends="perl-dev perl-module-build"
subpackages="$pkgname-doc"
source="http://search.cpan.org/CPAN/authors/id/S/SH/SHLOMIF/$_realname-$pkgver.tar.gz"
builddir="$srcdir"/$_realname-$pkgver
build() {
cd "$builddir"
perl Build.PL installdirs=vendor
./Build
}
check() {
cd "$builddir"
./Build test
}
package() {
cd "$builddir"
./Build install destdir="$pkgdir"
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
sha512sums="0a939c874962d49d167ce91fe943fdb8dc1e7d506c086750600af9d5f8c40b2e679358f73554e51673a7663dfcf5439ef101096fca8c771e3de654a91c802525 String-Random-0.29.tar.gz"
|