Christoph Reiter f0230c32ea More cpan PURLs
2025-08-09 22:47:04 +02:00

31 lines
768 B
Bash

# Contributer: Baruch Burstein <bmburstein at gmail dot com>
_realname=Algorithm-Diff
pkgname=perl-${_realname}
pkgver=1.201
pkgrel=4
epoch=1
pkgdesc="Compute 'intelligent' differences between two files / lists"
arch=('any')
url="https://metacpan.org/dist/Algorithm-Diff"
msys2_references=(
'purl: pkg:cpan/RJBS/Algorithm-Diff'
'cygwin'
)
groups=('perl-modules')
depends=('perl')
license=('GPL' 'PerlArtistic')
source=("https://cpan.metacpan.org/authors/id/R/RJ/RJBS/${_realname}-${pkgver}.tar.gz")
sha256sums=('0022da5982645d9ef0207f3eb9ef63e70e9713ed2340ed7b3850779b0d842a7d')
build() {
cd ${_realname}-${pkgver}
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
make
}
package() {
cd ${_realname}-${pkgver}
make install DESTDIR="$pkgdir"
}