blob: ef7d98b37d073dba2269ca7bb3f53a780244cc98 (
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: Moritz Bunkus <moritz@bunkus.org>
pkgname=perl-latex-encode
pkgver=0.08
pkgrel=1
pkgdesc="Encode characters for LaTeX formatting"
arch=(any)
license=('PerlArtistic')
url="http://search.cpan.org/dist/Rose-Object/"
options=('!emptydirs')
source=(http://search.cpan.org/CPAN/authors/id/A/AN/ANDREWF/LaTeX-Encode-${pkgver}.tar.gz)
md5sums=('0877ff573bbacdfcd6ceb130c4282ab6')
sha1sums=('9d11a38a4eb07c86b6cc026a2163b7299bc64631')
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
}
|