db-move: moved polari from [testing] to [extra] (x86_64)
[arch-packages.git] / perl-gtk2-ex-formfactory / trunk / PKGBUILD
blob52142bfe6fe310e7a34f717f9263a85c99c87a4b
1 # Maintainer: tobias <tobias@archlinux.org>
2 # Contributor: Tobias Kieslich <tobias@justdreams.de>
4 pkgname=perl-gtk2-ex-formfactory
5 _realname=Gtk2-Ex-FormFactory
6 pkgver=0.67
7 pkgrel=5
8 pkgdesc="Framework for perl-gtk2 development"
9 arch=('any')
10 license=('LGPL')
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')
18 build() {
19   cd "${srcdir}/${_realname}-${pkgver}"
20   # install module in vendor directories.
21   perl Makefile.PL INSTALLDIRS=vendor
22   make
25 check() {
26   cd "${srcdir}/${_realname}-${pkgver}"
27   make test
30 package() {
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