summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 2452c0f75146e7b918febb798fa6ba36b0a29e6d (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
# CPAN Name  : Text::Lorem
# Contributor: Anton Leontiev <bunder /at/ t-25.ru>
# Generator  : CPANPLUS::Dist::Arch 1.28

pkgname=perl-text-lorem
pkgver=0.3
pkgrel=1
pkgdesc='Perl package and tool to generate random Latin looking text'
arch=('any')
url='http://search.cpan.org/dist/Text-Lorem'
license=('PerlArtistic' 'GPL')
depends=('perl')
makedepends=('perl-module-build')
source=(http://search.cpan.org/CPAN/authors/id/A/AD/ADEOLA/Text-Lorem-0.3.tar.gz)
options=(!emptydirs)
md5sums=('7fa832ff29a5307bcd80dd4af8ec3e7d')

build() {
	cd Text-Lorem-0.3
	unset PERL5LIB PERL_MM_OPT PERL_MB_OPT
	PERL_MM_USE_DEFAULT=1 MODULEBUILDRC=/dev/null perl Build.PL --installdirs vendor --destdir "$pkgdir"
	perl Build
}

check() {
	cd Text-Lorem-0.3
	perl Build test
}

package() {
	cd Text-Lorem-0.3
	perl Build install
	find "$pkgdir" -name .packlist -o -name perllocal.pod -delete
}