diff options
-rw-r--r-- | abs/core/perl_modules/perl-text-reform/PKGBUILD | 29 |
1 files changed, 29 insertions, 0 deletions
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 <francois.archlinux.org> + +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 +} |