From c7daa20a58a2410ca255e619fe872c69187b94e5 Mon Sep 17 00:00:00 2001 From: Britney Fransen Date: Fri, 1 Jun 2018 21:14:22 +0000 Subject: perl-text-reform: initial inclusion --- abs/core/perl_modules/perl-text-reform/PKGBUILD | 29 +++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 abs/core/perl_modules/perl-text-reform/PKGBUILD diff --git a/abs/core/perl_modules/perl-text-reform/PKGBUILD b/abs/core/perl_modules/perl-text-reform/PKGBUILD new file mode 100644 index 0000000..e54b7b6 --- /dev/null +++ b/abs/core/perl_modules/perl-text-reform/PKGBUILD @@ -0,0 +1,29 @@ +# $Id$ +# This PKGBUILD was generated by cpan4pacman via CPANPLUS::Dist::Pacman +# Maintainer: Firmicus + +pkgname=perl-text-reform +_realname=Text-Reform +pkgver=1.20 +pkgrel=4 +pkgdesc="Manual text wrapping and reformatting " +arch=(any) +url="http://search.cpan.org/dist/Text-Reform" +license=('GPL' 'PerlArtistic') +depends=('perl') +options=('!emptydirs') +source=(http://search.cpan.org/CPAN/authors/id/C/CH/CHORNY/${_realname}-$pkgver.tar.gz) +md5sums=('f37f5834f3dc221eacd09bdfcfe40918') + +build() { + cd "${srcdir}"/Text-Reform-$pkgver + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + make +} + +package() { + cd "${srcdir}"/Text-Reform-$pkgver + make install DESTDIR="${pkgdir}" + find "${pkgdir}" -name '.packlist' -delete + find "${pkgdir}" -name '*.pod' -delete +} -- cgit v0.12