PKGBUILDs/extra/gconf-perl/PKGBUILD

27 lines
847 B
Bash
Raw Normal View History

2009-10-10 02:23:22 +00:00
# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $
# Maintainer: Jan de Groot <jgc@archlinux.org>
pkgname=gconf-perl
_realname=Gnome2-GConf
pkgver=1.044
pkgrel=1
pkgdesc="Gnome2-GConf perl bindings for gconf"
arch=(i686 x86_64)
license=('LGPL')
url="http://gtk2-perl.sourceforge.net/"
makedepends=('perl-extutils-pkgconfig' 'perl-extutils-depends')
depends=('glib-perl>=1.142' 'gconf>=2.16' 'perl>=5.10.0')
options=(!emptydirs)
source=(http://downloads.sourceforge.net/sourceforge/gtk2-perl/${_realname}-${pkgver}.tar.gz)
md5sums=('ea386003b18f067524833b0eeb271330')
build() {
cd ${startdir}/src/${_realname}-${pkgver}
perl Makefile.PL INSTALLDIRS=vendor || return 1
make || return 1
make DESTDIR=${startdir}/pkg install || return 1
find ${startdir}/pkg -name '.packlist' -delete
find ${startdir}/pkg -name 'perllocal.pod' -delete
}