1 # Contributor: Heikki Mehtänen <heikki at mehtanen dot fi>
3 pkgname=perl-curses-widgets
4 _realname=CursesWidgets
7 pkgdesc="Perl/CPAN Curses::Widgets - Base widget class for use with the Curses::Application framework"
9 url="http://search.cpan.org/dist/${_realname}/"
10 license=('PerlArtistic')
11 depends=('perl>=5.10.0' 'perl-curses>=1.27')
13 source=(http://search.cpan.org/CPAN/authors/id/C/CO/CORLISS/${_realname}-$pkgver.tar.gz)
14 md5sums=('142b14bb761f579f98b4266405f06f8a')
17 cd $srcdir/${_realname}-$pkgver/
19 # install module in vendor directories
20 perl Makefile.PL INSTALLDIRS=vendor || return 1
22 make DESTDIR=$pkgdir install || return 1
24 # remove perllocal.pod and .packlist
25 find $pkgdir -name perllocal.pod -delete
26 find $pkgdir -name .packlist -delete