blob: 409979688dc1955a355447b106089d19a035f3d7 (
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
|
# Maintainer: jason ryan <jasonwryan@gmail.com>
# Contributor: TDY <tdy@gmx.com>
pkgname=perl-text-autoformat
_cpanname=Text-Autoformat
pkgver=1.75
pkgrel=1
pkgdesc="A Perl module for automatic text wrapping and reformatting"
arch=('any')
url="https://metacpan.org/pod/Text::Autoformat"
license=('GPL' 'PerlArtistic')
depends=('perl-text-reform')
options=('!emptydirs')
source=(https://cpan.metacpan.org/authors/id/N/NE/NEILB/${_cpanname}-${pkgver}.tar.gz)
md5sums=('b363538a55eb1315951cbe022124684b')
build() {
cd "$srcdir/${_cpanname}-${pkgver}"
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
make
}
package() {
cd "$srcdir/${_cpanname}-${pkgver}"
make install DESTDIR="$pkgdir"
}
# vim:set ts=2 sw=2 et:
|