mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-01-07 23:24:05 +00:00
24 lines
727 B
Bash
24 lines
727 B
Bash
|
# Contributor: Firmicus <francois.archlinux.org>
|
||
|
|
||
|
pkgname=perl-text-diff
|
||
|
_realname=Text-Diff
|
||
|
pkgver=1.37
|
||
|
pkgrel=1
|
||
|
pkgdesc="Perform diffs on files and record sets "
|
||
|
arch=('any')
|
||
|
url="http://search.cpan.org/dist/${_realname}"
|
||
|
license=('GPL' 'PerlArtistic')
|
||
|
depends=('perl-algorithm-diff>=1.1900')
|
||
|
options=('!emptydirs')
|
||
|
source=(http://www.cpan.org/authors/id/A/AD/ADAMK/${_realname}-${pkgver}.tar.gz)
|
||
|
md5sums=('52c1cba785ecfbbca242b57742173665')
|
||
|
|
||
|
build() {
|
||
|
cd $srcdir/${_realname}-${pkgver}
|
||
|
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
|
||
|
}
|