desktop/perl-text-diff/PKGBUILD

39 lines
988 B
Bash
Raw Normal View History

#
# 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-text-diff
_pkgname=Text-Diff
pkgver=1.37
2011-04-03 18:41:32 +08:00
pkgrel=2
pkgdesc="Perl module to provide a basic set of services akin to the GNU diff utility."
arch=('i686' 'x86_64')
license=('PerlArtistic' 'GPL')
options=('!emptydirs')
depends=('perl' 'perl-algorithm-diff')
url='http://search.cpan.org/~adamk/Text-Diff/'
source=("http://search.cpan.org/CPAN/authors/id/A/AD/ADAMK/$_pkgname-$pkgver.tar.gz")
md5sums=('52c1cba785ecfbbca242b57742173665')
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
}