diff options
Diffstat (limited to 'abs/core')
-rw-r--r-- | abs/core/perl_modules/perl-extutils-pkgconfig/PKGBUILD | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/abs/core/perl_modules/perl-extutils-pkgconfig/PKGBUILD b/abs/core/perl_modules/perl-extutils-pkgconfig/PKGBUILD new file mode 100644 index 0000000..4c575bc --- /dev/null +++ b/abs/core/perl_modules/perl-extutils-pkgconfig/PKGBUILD @@ -0,0 +1,30 @@ +# $Id: PKGBUILD 28969 2009-03-04 02:50:24Z kevin $ +# Maintainer: Jan de Groot <jgc@archlinux.org> +# Contributor: Sarah Hay <sarah@archlinux.org> +# Contributor: Arjan Timmerman <arjan@soulfly.nl> + +pkgname=perl-extutils-pkgconfig +_realname=ExtUtils-PkgConfig +pkgver=1.12 +pkgrel=1 +pkgdesc="The Perl Pkgconfig module" +arch=('i686' 'x86_64') +license=('LGPL') +url="http://gtk2-perl.sourceforge.net/" +depends=('perl>=5.10.0') +replaces=('extutils-pkgconfig') +source=(http://downloads.sourceforge.net/sourceforge/gtk2-perl/${_realname}-${pkgver}.tar.gz) +options=('!emptydirs') +md5sums=('8fc5c0b30cfda2048ec87ae418cc3508') + +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 +} |