diff options
Diffstat (limited to 'community/perl-gd/PKGBUILD')
-rw-r--r-- | community/perl-gd/PKGBUILD | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/community/perl-gd/PKGBUILD b/community/perl-gd/PKGBUILD index 8e31c238a..b29f364b0 100644 --- a/community/perl-gd/PKGBUILD +++ b/community/perl-gd/PKGBUILD @@ -3,7 +3,7 @@ pkgname=perl-gd pkgver=2.44 -pkgrel=3 +pkgrel=4 pkgdesc="Interface to Gd Graphics Library" arch=('i686' 'x86_64') url="http://search.cpan.org/dist/GD" @@ -14,15 +14,16 @@ source=(http://www.cpan.org/authors/id/L/LD/LDS/GD-$pkgver.tar.gz) md5sums=('9b9a4d78a5af0616a96264b0aa354859') build() { - cd $startdir/src/GD-$pkgver + cd $srcdir/GD-$pkgver PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor make - make install DESTDIR=$startdir/pkg - +} +package() { + cd $srcdir/GD-$pkgver + make install DESTDIR=$pkgdir install -D -m0644 GD/Group.pm $pkgdir/usr/lib/perl5/vendor_perl/GD/Group.pm - - find $startdir/pkg -name '.packlist' -delete - find $startdir/pkg -name '*.pod' -delete + find $pkgdir -name '.packlist' -delete + find $pkgdir -name '*.pod' -delete } |