diff options
author | Sören Tempel <soeren+git@soeren-tempel.net> | 2016-07-26 16:15:55 +0200 |
---|---|---|
committer | Sören Tempel <soeren+git@soeren-tempel.net> | 2016-07-26 16:15:55 +0200 |
commit | 857f0d0ca28c8c8db785a4eb8c7b075e21b0c53b (patch) | |
tree | 5a515664793ee210b73e780a09d3c4859ec46ef8 /community | |
parent | 35f62ed4391b512896f36dee2393ba9b710d4dc4 (diff) | |
download | aports-857f0d0ca28c8c8db785a4eb8c7b075e21b0c53b.tar.bz2 aports-857f0d0ca28c8c8db785a4eb8c7b075e21b0c53b.tar.xz |
community/perl-algorithm-diff: moved from testing/
Diffstat (limited to 'community')
-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" |