blob: b63de6b4e12afed674adb2999135a27f564b560c (
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
|
# Maintainer (Arch): Moritz Bunkus <moritz@bunkus.org>
# Contributor: Márcio Silva <coadde@parabola.nu>
pkgname=perl-latex-encode
pkgver=0.091.6
pkgrel=2
pkgdesc="Encode characters for LaTeX formatting"
arch=(any)
license=('GPL1')
url="http://search.cpan.org/~andrewf/LaTeX-Encode"
options=('!emptydirs')
source=("http://search.cpan.org/CPAN/authors/id/E/EI/EINHVERFR/LaTeX-Encode-$pkgver.tar.gz")
md5sums=('7c8bc84f6e512a3f057b03f71793dcf0')
build() {
cd ${srcdir}/LaTeX-Encode-${pkgver}
# install module in vendor directories.
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
make
}
package() {
cd ${srcdir}/LaTeX-Encode-${pkgver}
make install DESTDIR=${pkgdir}
# remove perllocal.pod and .packlist
find ${pkgdir} '(' -name perllocal.pod -o -name .packlist ')' -delete
}
|