PKGBUILDs/extra/gnome-perl/PKGBUILD

28 lines
871 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=gnome-perl
_realname=Gnome2
pkgver=1.042
pkgrel=2
pkgdesc="Perl bindings for libgnome"
arch=(i686 x86_64)
license=('LGPL')
url="http://gtk2-perl.sourceforge.net/"
makedepends=('perl-extutils-pkgconfig' 'perl-extutils-depends')
depends=('gnomecanvas-perl>=1.002' 'gnome-vfs-perl>=1.061' 'libgnomeui>=2.18.1'
'perl>=5.10.0')
options=('!emptydirs')
source=(http://downloads.sourceforge.net/sourceforge/gtk2-perl/${_realname}-${pkgver}.tar.gz)
md5sums=('eb7b624114e45e54e022a633ffc1cce6')
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
}