[arch-commits] Commit in perl-gtk2-ex-formfactory/trunk (PKGBUILD)
Kevin Piché
kevin at archlinux.org
Fri Dec 24 20:42:03 UTC 2010
Date: Friday, December 24, 2010 @ 15:42:02
Author: kevin
Revision: 103978
upgpkg: perl-gtk2-ex-formfactory 0.66-2
Rebuilt for perl 5.12.2 and changed arch to any
Modified:
perl-gtk2-ex-formfactory/trunk/PKGBUILD
----------+
PKGBUILD | 15 ++++++++++-----
1 file changed, 10 insertions(+), 5 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2010-12-24 20:34:17 UTC (rev 103977)
+++ PKGBUILD 2010-12-24 20:42:02 UTC (rev 103978)
@@ -5,9 +5,9 @@
pkgname=perl-gtk2-ex-formfactory
_realname=Gtk2-Ex-FormFactory
pkgver=0.66
-pkgrel=1
+pkgrel=2
pkgdesc="Framework for perl-gtk2 development"
-arch=(i686 x86_64)
+arch=(any)
license=('LGPL')
url="http://www.exit1.org/${_realname}/"
depends=('gtk2-perl' 'perl>=5.10.0')
@@ -18,10 +18,15 @@
build() {
cd ${srcdir}/${_realname}-${pkgver}
# install module in vendor directories.
- perl Makefile.PL INSTALLDIRS=vendor || return 1
- make || return 1
- make install DESTDIR=${pkgdir} || return 1
+ perl Makefile.PL INSTALLDIRS=vendor
+ make
+ make test
+}
+package() {
+ cd ${srcdir}/${_realname}-${pkgver}
+ make install DESTDIR=${pkgdir}
+
# remove perllocal.pod and .packlist
find ${pkgdir} -name perllocal.pod -delete
find ${pkgdir} -name .packlist -delete
More information about the arch-commits
mailing list