PKGBUILDs/extra/perl-extutils-depends/PKGBUILD
2009-10-09 21:23:22 -05:00

28 lines
865 B
Bash

# $Id: PKGBUILD 46675 2009-07-19 15:31:27Z jgc $
# Maintainer: Jan de Groot <jgc@archlinux.org>
# Contributor: Sarah Hay <sarah@archlinux.org>
# Contributor: Arjan Timmerman <arjan@soulfly.nl>
pkgname=perl-extutils-depends
_realname=ExtUtils-Depends
pkgver=0.302
pkgrel=1
pkgdesc="The Perl depends module"
arch=(i686 x86_64)
license=('PerlArtistic')
url="http://gtk2-perl.sourceforge.net/"
depends=('perl>=5.10.0')
source=(http://downloads.sourceforge.net/sourceforge/gtk2-perl/${_realname}-${pkgver}.tar.gz)
replaces=('extutils-depends')
options=('!emptydirs')
md5sums=('db46426f0599668da95c21b53b532508')
build() {
cd ${srcdir}/${_realname}-${pkgver}
perl Makefile.PL INSTALLDIRS=vendor || return 1
make || return 1
make DESTDIR=${pkgdir} install || return 1
find ${pkgdir} -name '.packlist' -delete
find ${pkgdir} -name 'perllocal.pod' -delete
}