PKGBUILDs/extra/gnome-vfs-perl/PKGBUILD
2009-10-09 21:23:22 -05:00

26 lines
871 B
Bash

# $Id: PKGBUILD 1028 2008-04-27 19:10:08Z jgc $
# Maintainer: Jan de Groot <jgc@archlinux.org>
pkgname=gnome-vfs-perl
_realname=Gnome2-VFS
pkgver=1.081
pkgrel=1
pkgdesc="Gnome2-VFS perl bindings for gnome-vfs"
arch=(i686 x86_64)
license=('LGPL')
url="http://gtk2-perl.sourceforge.net/"
makedepends=('perl-extutils-pkgconfig>=1.11' 'perl-extutils-depends>=0.300')
depends=('gtk2-perl>=1.182' 'gnome-vfs>=2.22.0' 'perl>=5.10.0')
options=('!emptydirs')
source=(http://downloads.sourceforge.net/sourceforge/gtk2-perl/${_realname}-${pkgver}.tar.gz)
md5sums=('3d220cbbe9f1ebc78d7047593f9cd633')
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
}