updated on Thu Jan 12 04:00:44 UTC 2012
[aur-mirror.git] / perl-curses-widgets / PKGBUILD
blobcd8364b5897a67ca7163c1ec17e55940794c8f41
1 # Contributor: Heikki Mehtänen <heikki at mehtanen dot fi>
3 pkgname=perl-curses-widgets
4 _realname=CursesWidgets
5 pkgver=1.997
6 pkgrel=1
7 pkgdesc="Perl/CPAN Curses::Widgets - Base widget class for use with the Curses::Application framework"
8 arch=('i686' 'x86_64')
9 url="http://search.cpan.org/dist/${_realname}/"
10 license=('PerlArtistic')
11 depends=('perl>=5.10.0' 'perl-curses>=1.27')
12 options=(!emptydirs)
13 source=(http://search.cpan.org/CPAN/authors/id/C/CO/CORLISS/${_realname}-$pkgver.tar.gz)
14 md5sums=('142b14bb761f579f98b4266405f06f8a')
16 build() {
17         cd $srcdir/${_realname}-$pkgver/
18         
19         # install module in vendor directories
20         perl Makefile.PL INSTALLDIRS=vendor || return 1
21         make || return 1
22         make DESTDIR=$pkgdir install || return 1
23         
24         # remove perllocal.pod and .packlist
25         find $pkgdir -name perllocal.pod -delete
26         find $pkgdir -name .packlist -delete