aboutsummaryrefslogtreecommitdiffstats
path: root/community/perl-algorithm-diff/APKBUILD
blob: 961607e45976a8cb9a184ba1650f1c76436ab8a2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
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"