mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 21:37:15 +02:00
community/perl-algorithm-diff: moved from testing/
This commit is contained in:
parent
35f62ed439
commit
857f0d0ca2
@ -4,8 +4,8 @@
|
||||
pkgname=perl-algorithm-diff
|
||||
_pkgreal=Algorithm-Diff
|
||||
pkgver=1.15
|
||||
pkgrel=0
|
||||
pkgdesc="unknown"
|
||||
pkgrel=1
|
||||
pkgdesc="Compute 'intelligent' differences between two files / lists"
|
||||
url="http://search.cpan.org/dist/Algorithm-Diff/"
|
||||
arch="noarch"
|
||||
license="GPL PerlArtistic"
|
||||
@ -16,22 +16,23 @@ 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"
|
||||
|
||||
builddir="$srcdir/$_pkgreal-$pkgver"
|
||||
prepare() {
|
||||
cd "$_builddir"
|
||||
cd "$builddir"
|
||||
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
|
||||
}
|
||||
|
||||
build() {
|
||||
cd "$_builddir"
|
||||
cd "$builddir"
|
||||
make && make test
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$_builddir"
|
||||
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"
|
Loading…
Reference in New Issue
Block a user