diff options
Diffstat (limited to 'community/perl-algorithm-diff/APKBUILD')
-rw-r--r-- | community/perl-algorithm-diff/APKBUILD | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/community/perl-algorithm-diff/APKBUILD b/community/perl-algorithm-diff/APKBUILD new file mode 100644 index 0000000000..961607e459 --- /dev/null +++ b/community/perl-algorithm-diff/APKBUILD @@ -0,0 +1,38 @@ +# Automatically generated by apkbuild-cpan, template 1 +# Contributor: Francesco Colista <francesco.colista@gmail.com> +# Maintainer: Francesco Colista <francesco.colista@gmail.com> +pkgname=perl-algorithm-diff +_pkgreal=Algorithm-Diff +pkgver=1.15 +pkgrel=1 +pkgdesc="Compute 'intelligent' differences between two files / lists" +url="http://search.cpan.org/dist/Algorithm-Diff/" +arch="noarch" +license="GPL PerlArtistic" +cpandepends="" +cpanmakedepends="" +depends="$cpandepends" +makedepends="perl-dev $cpanmakedepends" +subpackages="$pkgname-doc" +source="http://search.cpan.org/CPAN/authors/id/N/NE/NEDKONZ/$_pkgreal-$pkgver.tar.gz" + +builddir="$srcdir/$_pkgreal-$pkgver" +prepare() { + cd "$builddir" + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor +} + +build() { + cd "$builddir" + make && make test +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install || return 1 + find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete +} + +md5sums="457cd497a0411a88b47d3741eb176071 Algorithm-Diff-1.15.tar.gz" +sha256sums="aa848b75ad3ecc32d31e8651909551e851cceef74a32822c7a3cb35c259f5190 Algorithm-Diff-1.15.tar.gz" +sha512sums="24827414d521c1446044d1c2708903b18e3fa25d87831fb3f99adf70c38531deab04d063da56539315921421c8336302a81f0b5432e0b2d16d75eb468b84f327 Algorithm-Diff-1.15.tar.gz" |