diff options
author | André Fabian Silva Delgado <emulatorman@lavabit.com> | 2012-11-16 21:23:21 -0200 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@lavabit.com> | 2012-11-16 21:23:21 -0200 |
commit | 991e612822b8592e0c981ba2546253a94d7376ea (patch) | |
tree | a6e8610655c93cf25b8d06ed53652728769b39d3 /pcr/perl-latex-encode/PKGBUILD | |
parent | 328e2af1c9921d13ff18d793eabc7067255ccd5c (diff) | |
parent | bf44c9909e79acc33fab15e61f30c2f38279b895 (diff) | |
download | abslibre-991e612822b8592e0c981ba2546253a94d7376ea.tar.gz abslibre-991e612822b8592e0c981ba2546253a94d7376ea.tar.bz2 abslibre-991e612822b8592e0c981ba2546253a94d7376ea.zip |
Merge branch 'master' of ssh://parabolagnulinux.org:1863/srv/git/abslibre
Diffstat (limited to 'pcr/perl-latex-encode/PKGBUILD')
-rw-r--r-- | pcr/perl-latex-encode/PKGBUILD | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/pcr/perl-latex-encode/PKGBUILD b/pcr/perl-latex-encode/PKGBUILD new file mode 100644 index 000000000..ef7d98b37 --- /dev/null +++ b/pcr/perl-latex-encode/PKGBUILD @@ -0,0 +1,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 +} |