PKGBUILDs/community/perl-term-animation/PKGBUILD

25 lines
806 B
Bash
Raw Normal View History

2009-10-10 02:15:33 +00:00
# $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-term-animation
pkgver=2.4
pkgrel=3
pkgdesc="Perl/CPAN Module Term::Animation"
arch=("i686" "x86_64")
url="http://search.cpan.org/dist/Term-Animation"
license=("GPL" "PerlArtistic")
source=("http://www.cpan.org/authors/id/K/KB/KBAUCOM/Term-Animation-2.4.tar.gz")
md5sums=('92799819f87f38cdbccf4c215e49b4cb')
makedepends=("perl-curses")
depends=("perl-curses")
build() {
cd $startdir/src/Term-Animation-2.4
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
make || return 1
make install DESTDIR=$startdir/pkg || return 1
find $startdir/pkg -name '.packlist' -delete
find $startdir/pkg -name '*.pod' -delete
}