core/perl-text-diff/PKGBUILD
2016-02-01 13:01:11 +00:00

27 lines
655 B
Bash

# Platform packages for Chakra
pkgname=perl-text-diff
_pkgname=Text-Diff
pkgver=1.43
pkgrel=1
pkgdesc="Perform diffs on files and record sets "
arch=('x86_64')
url="https://github.com/neilb/Text-Diff"
license=('GPL' 'PerlArtistic')
depends=('perl-algorithm-diff')
options=('!emptydirs')
source=(https://github.com/neilb/$_pkgname/archive/v$pkgver.tar.gz)
md5sums=('c2b5b6acf9adeeaef8e4b42e3e86f82f')
build() {
cd $_pkgname-$pkgver
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
make
}
package() {
cd $_pkgname-$pkgver
make install DESTDIR=$pkgdir
find $pkgdir -name '.packlist' -delete
find $pkgdir -name '*.pod' -delete
}