1 # Maintainer: tobias <tobias@archlinux.org>
2 # Contributor: Tobias Kieslich <tobias@justdreams.de>
4 pkgname=perl-gtk2-ex-formfactory
5 _realname=Gtk2-Ex-FormFactory
8 pkgdesc="Framework for perl-gtk2 development"
11 url="https://www.exit1.org/${_realname}/"
12 depends=('gtk2-perl' 'perl')
13 options=('!emptydirs')
14 DLAGENTS=('https::/usr/bin/wget -c -t 3 --waitretry=3 -O %o %u') # curl doesn't work
15 source=(https://www.exit1.org/packages/${_realname}/dist/${_realname}-${pkgver}.tar.gz)
16 md5sums=('17f0cfd4957196f9928d023a4801ed5c')
19 cd "${srcdir}/${_realname}-${pkgver}"
20 # install module in vendor directories.
21 perl Makefile.PL INSTALLDIRS=vendor
26 cd "${srcdir}/${_realname}-${pkgver}"
31 cd "${srcdir}/${_realname}-${pkgver}"
32 make install DESTDIR="${pkgdir}"
34 # remove perllocal.pod and .packlist
35 find "${pkgdir}" -name perllocal.pod -delete
36 find "${pkgdir}" -name .packlist -delete