blob: 81094e793e4e45c86da0ac8d657ff4bcbce8d9c1 (
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
|
# 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=0
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 || return 1
./Build || return 1
}
package() {
cd "$builddir"
./Build install destdir="$pkgdir" || return 1
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
md5sums="2fedadd106e6f9fd3ecb18a264816b51 String-Random-0.29.tar.gz"
sha256sums="1da4a65e66ab1db23fedca018355b597cf69c94dd73dec657212820055515a5c String-Random-0.29.tar.gz"
sha512sums="0a939c874962d49d167ce91fe943fdb8dc1e7d506c086750600af9d5f8c40b2e679358f73554e51673a7663dfcf5439ef101096fca8c771e3de654a91c802525 String-Random-0.29.tar.gz"
|