template 812 B

123456789101112131415161718192021222324
  1. # Template file for 'perl-Algorithm-Diff'
  2. pkgname=perl-Algorithm-Diff
  3. version=1.1903
  4. revision=3
  5. wrksrc="${pkgname#*-}-$version"
  6. build_style=perl-module
  7. hostmakedepends="perl"
  8. makedepends="perl"
  9. depends="perl"
  10. short_desc='Algorithm::Diff - Compute differences between two files / lists'
  11. maintainer="Enguerrand de Rochefort <voidlinux@rochefort.de>"
  12. license="Artistic-1.0-Perl, GPL-1.0-or-later"
  13. homepage="https://metacpan.org/release/Algorithm-Diff"
  14. distfiles="${CPAN_SITE}/Algorithm/${pkgname#*-}-${version}.tar.gz"
  15. checksum=30e84ac4b31d40b66293f7b1221331c5a50561a39d580d85004d9c1fff991751
  16. # Liberation
  17. # Some code has been taken from:
  18. # https://git.parabola.nu/abslibre.git/tree/libre/perl-algorithm-diff/PKGBUILD
  19. post_patch() {
  20. # To remove unlicensed files
  21. rm -rv {htmldiff.pl,lib/Algorithm/DiffOld.pm,t}
  22. }