diff options
Diffstat (limited to 'abs')
-rw-r--r-- | abs/core/perl_modules/perl-extutils-depends/PKGBUILD | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/abs/core/perl_modules/perl-extutils-depends/PKGBUILD b/abs/core/perl_modules/perl-extutils-depends/PKGBUILD new file mode 100644 index 0000000..5e044d6 --- /dev/null +++ b/abs/core/perl_modules/perl-extutils-depends/PKGBUILD @@ -0,0 +1,31 @@ +# $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 +} +package() { + cd ${srcdir}/${_realname}-${pkgver} + make DESTDIR=${pkgdir} install || return 1 + + find ${pkgdir} -name '.packlist' -delete + find ${pkgdir} -name 'perllocal.pod' -delete +} |