summaryrefslogtreecommitdiffstats
path: root/abs/core/perl_modules/perl-text-reform/PKGBUILD
blob: e54b7b6e0bc013699c43825ddaa9d42bd3c08aff (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
# $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
}