PKGBUILDs/community/perl-curses-ui/PKGBUILD
2009-10-09 21:15:33 -05:00

24 lines
898 B
Bash

# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: Charles Mauch <cmauch@gmail.com>
pkgname=perl-curses-ui
pkgver=0.9607
pkgrel=1
pkgdesc="Perl/CPAN Module Curses::UI"
arch=("i686" "x86_64")
url="http://search.cpan.org/~mdxi/Curses-UI/"
license=("GPL" "PerlArtistic")
makedepends=("perl-curses" "perl-term-readkey" "perl-test-pod")
depends=("ncurses" "perl-curses" "perl-term-readkey" "perl-test-pod")
source=("http://search.cpan.org/CPAN/authors/id/M/MD/MDXI/Curses-UI-$pkgver.tar.gz")
build() {
cd $startdir/src/Curses-UI-$pkgver
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
make || return 1
make pure_install doc_install DESTDIR=$startdir/pkg || return 1
find $startdir/pkg -name '.packlist' -delete
find $startdir/pkg -name '*.pod' -delete
}
md5sums=('8970c72e378aa386e0e79a884ef5863a')