updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / perl-gtk2-ex-simple-list / PKGBUILD
blobed5e7cb1b528cdb942032dfc1dbcb56cc0ec0516
1 # CPAN Name  : Gtk2-Ex-Simple-List
2 # Contributor: Justin Davis <jrcd83@gmail.com>
3 # Generator  : CPANPLUS::Dist::Arch 1.07
4 pkgname='perl-gtk2-ex-simple-list'
5 pkgver='0.50'
6 pkgrel='2'
7 pkgdesc="A simple interface to Gtk2's complex MVC list widget"
8 arch=('any')
9 license=('PerlArtistic' 'GPL')
10 options=('!emptydirs')
11 depends=('gtk2-perl' 'glib-perl')
12 makedepends=()
13 url='http://search.cpan.org/dist/Gtk2-Ex-Simple-List'
14 source=('http://search.cpan.org/CPAN/authors/id/R/RM/RMCFARLA/Gtk2-Perl-Ex/Gtk2-Ex-Simple-List-0.50.tar.gz')
15 md5sums=('f66c71bbb794b699f0c3e8ca7cebc35b')
17 build() {
18   PERL=/usr/bin/perl
19   DIST_DIR="${srcdir}/Gtk2-Ex-Simple-List-0.50"
20   export PERL_MM_USE_DEFAULT=1 PERL5LIB=""                 \
21     PERL_AUTOINSTALL=--skipdeps                            \
22     PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='$pkgdir'"     \
23     PERL_MB_OPT="--installdirs vendor --destdir '$pkgdir'" \
24     MODULEBUILDRC=/dev/null
26   { cd "$DIST_DIR" &&
27     $PERL Makefile.PL &&
28     make &&
29     make test &&
30     make install;
31   } || return 1;
33   find "$pkgdir" -name .packlist -o -name perllocal.pod -delete