summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libre/perl-algorithm-diff/PKGBUILD22
1 files changed, 10 insertions, 12 deletions
diff --git a/libre/perl-algorithm-diff/PKGBUILD b/libre/perl-algorithm-diff/PKGBUILD
index 00d37e3c0..7fd24aff0 100644
--- a/libre/perl-algorithm-diff/PKGBUILD
+++ b/libre/perl-algorithm-diff/PKGBUILD
@@ -4,31 +4,29 @@
pkgname=perl-algorithm-diff
pkgver=1.1903
-pkgrel=3.parabola1
-pkgdesc="Perl/CPAN Module Algorithm::Diff : Diff also Longest Common Subsequence, without unlicensed files"
+pkgrel=5
+pkgrel+=.parabola1
+pkgdesc="Perl/CPAN Module Algorithm::Diff : Diff also Longest Common Subsequence"
+pkgdesc+=", without unlicensed files"
arch=("any")
-url="http://search.cpan.org/dist/Algorithm-Diff"
+url="https://search.cpan.org/dist/Algorithm-Diff"
license=("GPL" "PerlArtistic")
depends=(perl)
-mksource=("http://search.cpan.org/CPAN/authors/id/T/TY/TYEMQ/Algorithm-Diff-${pkgver}.tar.gz")
-mksha256sums=('30e84ac4b31d40b66293f7b1221331c5a50561a39d580d85004d9c1fff991751')
-source=("https://repo.parabola.nu/other/${pkgname}-libre/${pkgname}-libre-${pkgver}.tar.gz"{,.sig})
-sha256sums=('0b4884854df245ac861e082915bcc21b5c501e4d4e32910bdc0284eaf0e4d02b'
- 'SKIP')
-validpgpkeys=('38D33EF29A7691134357648733466E12EC7BA943') # Isaac David <isacdaavid@isacdaavid@dot@info>
+source=("https://search.cpan.org/CPAN/authors/id/T/TY/TYEMQ/Algorithm-Diff-${pkgver}.tar.gz")
+sha256sums=('30e84ac4b31d40b66293f7b1221331c5a50561a39d580d85004d9c1fff991751')
-mksource() {
+prepare() {
rm -rv "Algorithm-Diff-${pkgver}"/{htmldiff.pl,lib/Algorithm/DiffOld.pm,t}
}
build() {
- cd "${srcdir}/Algorithm-Diff-${pkgver}"
+ cd "$srcdir"/Algorithm-Diff-$pkgver
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
make
}
package() {
- cd "${srcdir}/Algorithm-Diff-${pkgver}"
+ cd "$srcdir"/Algorithm-Diff-$pkgver
make pure_install doc_install DESTDIR="$pkgdir"
find "$pkgdir" -name '.packlist' -delete
find "$pkgdir" -name '*.pod' -delete