PKGBUILDs/community/perl-gdtextutil/PKGBUILD
2009-10-09 21:15:33 -05:00

23 lines
771 B
Bash

# This PKGBUILD was generated by cpan4pacman via CPANPLUS::Dist::Pacman
# Contributor: Sergej Pupykin <pupykin.s+aur@gmail.com>
pkgname=perl-gdtextutil
pkgver=0.86
pkgrel=1
pkgdesc="Classes for string handling with GD"
arch=('i686' 'x86_64')
url="http://search.cpan.org/dist/GDTextUtil"
license=('GPL' 'PerlArtistic')
depends=('perl-gd>=1')
options=('!emptydirs')
source=(http://www.cpan.org/authors/id/M/MV/MVERB/GDTextUtil-$pkgver.tar.gz)
md5sums=('941ad06eadc86b47f3a32da405665c41')
build() {
cd $startdir/src/GDTextUtil-$pkgver
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
make || return 1
make install DESTDIR=$startdir/pkg || return 1
find $startdir/pkg -name '.packlist' -delete
find $startdir/pkg -name '*.pod' -delete
}