desktop/perl-test-script/PKGBUILD
2011-04-03 12:41:32 +02:00

39 lines
1021 B
Bash

#
# Games Packages for Chakra, part of chakra-project.org
#
# Maintainer: Adrián Chaves Fernández (Gallaecio) <adriyetichaves gmail.com>
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=perl-test-script
_pkgname=Test-Script
pkgver=1.07
pkgrel=2
pkgdesc="Perl module to provide basic tests for most testing needed for scripts in the script paths."
arch=('i686' 'x86_64')
license=('PerlArtistic' 'GPL')
options=('!emptydirs')
depends=('perl' 'perl-probe-perl' 'perl-ipc-run3')
url='http://search.cpan.org/~adamk/Test-Script/'
source=("http://search.cpan.org/CPAN/authors/id/A/AD/ADAMK/$_pkgname-$pkgver.tar.gz")
md5sums=('f6b5baa6403cd24dac7f023e0ea22384')
build() {
cd $srcdir/$_pkgname-$pkgver
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
make
}
package() {
cd $srcdir/$_pkgname-$pkgver
make install DESTDIR="$pkgdir/"
# Remove perllocal.pod and .packlist:
find "$pkgdir" -name perllocal.pod -delete
find "$pkgdir" -name .packlist -delete
}