# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $ # Maintainer: tobias # Contributor: Tobias Kieslich pkgname=perl-gtk2-ex-formfactory _realname=Gtk2-Ex-FormFactory pkgver=0.65 pkgrel=4 pkgdesc="Framework for perl-gtk2 development" arch=(i686 x86_64) license=('LGPL') url="http://www.exit1.org/${_realname}/" depends=('gtk2-perl' 'perl>=5.10.0') options=(!emptydirs) source=(http://www.exit1.org/packages/${_realname}/dist/${_realname}-${pkgver}.tar.gz) md5sums=('904f6fe4b94248b56507710b29a53873') build() { cd ${startdir}/src/${_realname}-${pkgver} # install module in vendor directories. perl Makefile.PL INSTALLDIRS=vendor || return 1 make || return 1 make install DESTDIR=${startdir}/pkg || return 1 # remove perllocal.pod and .packlist find ${startdir}/pkg -name perllocal.pod -delete find ${startdir}/pkg -name .packlist -delete }