updated on Thu Jan 12 04:00:44 UTC 2012
[aur-mirror.git] / perl-gtk2-gladexml-simple / PKGBUILD
blob0fb169bfb21ee326328654602607709ff8305ca1
1 # Contributor: Justin Davis <jrcd83@gmail.com>
2 # Generator  : CPANPLUS::Dist::Arch 1.06
3 pkgname='perl-gtk2-gladexml-simple'
4 pkgver='0.32'
5 pkgrel='1'
6 pkgdesc="A clean object-oriented interface to Gtk2::GladeXML"
7 arch=('any')
8 license=('PerlArtistic' 'GPL')
9 options=('!emptydirs')
10 depends=('glade-perl' 'gtk2-perl' 'perl')
11 url='http://search.cpan.org/dist/Gtk2-GladeXML-Simple'
12 source=('http://search.cpan.org/CPAN/authors/id/A/AM/AMNESIAC/Gtk2-GladeXML-Simple-0.32.tar.gz')
13 md5sums=('cfb8560e8a3e8bca07c9c8157c361799')
15 build() {
16   PERL=/usr/bin/perl
17   DIST_DIR="${srcdir}/Gtk2-GladeXML-Simple-0.32"
18   export PERL_MM_USE_DEFAULT=1 PERL5LIB=""                 \
19     PERL_AUTOINSTALL=--skipdeps                            \
20     PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='$pkgdir'"     \
21     PERL_MB_OPT="--installdirs vendor --destdir '$pkgdir'" \
22     MODULEBUILDRC=/dev/null
24   { cd "$DIST_DIR" &&
25     $PERL Makefile.PL &&
26     make &&
27     make test &&
28     make install;
29   } || return 1;
31   find "$pkgdir" -name .packlist -o -name perllocal.pod -delete