PKGBUILDs/extra/perl-extutils-pkgconfig/PKGBUILD

28 lines
865 B
Bash
Raw Normal View History

2009-10-10 02:23:22 +00:00
# $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
make DESTDIR=${pkgdir} install || return 1
find ${pkgdir} -name '.packlist' -delete
find ${pkgdir} -name 'perllocal.pod' -delete
}