aboutsummaryrefslogtreecommitdiffstats
path: root/community/perl-algorithm-diff/APKBUILD
blob: f3ae4ce97ead06ab3499f6bd14d9645646720087 (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 <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=perl-algorithm-diff
_pkgreal=Algorithm-Diff
pkgver=1.1903
pkgrel=0
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/T/TY/TYEMQ/$_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="0e8add21a641b8d66436df0c2024bf3b  Algorithm-Diff-1.1903.tar.gz"
sha256sums="30e84ac4b31d40b66293f7b1221331c5a50561a39d580d85004d9c1fff991751  Algorithm-Diff-1.1903.tar.gz"
sha512sums="61632be4c19a03ccacaa218ab7cb8bdbc53a4a6030b8173a59c7611056375536788392c1da00ab88f3df9884fc8a67825efc83b70e2e564664d5187021d6b106  Algorithm-Diff-1.1903.tar.gz"