diff options
author | Britney Fransen <brfransen@gmail.com> | 2018-06-01 21:14:22 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2018-06-01 21:14:22 (GMT) |
commit | c7daa20a58a2410ca255e619fe872c69187b94e5 (patch) | |
tree | e8a86b1cc22a6192b95f2fd1b801ae567c5a24a4 | |
parent | c1b1db782ec26b9696ea7a3c4d6ce3e9849e7b33 (diff) | |
download | linhes_pkgbuild-c7daa20a58a2410ca255e619fe872c69187b94e5.zip linhes_pkgbuild-c7daa20a58a2410ca255e619fe872c69187b94e5.tar.gz linhes_pkgbuild-c7daa20a58a2410ca255e619fe872c69187b94e5.tar.bz2 |
perl-text-reform: initial inclusion
-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 +} |