updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / perl-tex-encode / PKGBUILD
blobadb6263f130c9b8778b69ae2d9202280f752a4e9
1 # CPAN Name  : TeX::Encode
2 # Contributor: Anton Leontiev <bunder /at/ t-25.ru>
3 # Generator  : CPANPLUS::Dist::Arch 1.18
5 pkgname=perl-tex-encode
6 pkgver=1.3
7 pkgrel=1
8 pkgdesc="Perl module to encode/decode UTF-8 strings into TeX"
9 arch=("any")
10 url="http://search.cpan.org/dist/TeX-Encode"
11 license=("GPL" "PerlArtistic")
12 source=(http://search.cpan.org/CPAN/authors/id/T/TI/TIMBRODY/TeX-Encode-1.3.tar.gz)
13 depends=("perl" "perl-html-parser")
14 checkdepends=("perl-test-pod-coverage")
15 options=(!emptydirs)
16 md5sums=("ffc51bdcbfa533e886c47bcfda8cf591")
18 build() {
19   cd "$srcdir/TeX-Encode-1.3"
20   PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
21   make
24 check() {
25   cd "$srcdir/TeX-Encode-1.3"
26   make test
29 package() {
30   cd "$srcdir/TeX-Encode-1.3"
31   make install DESTDIR="$pkgdir"
32   find "$pkgdir" -name .packlist -o -name perllocal.pod -delete