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

29 lines
756 B
Bash

# Maintainer: Ray Donnelly <mingw.android@gmail.com>
_realname=Regexp-Common
pkgname=perl-${_realname}
pkgver=2024080801
pkgrel=1
pkgdesc="Provide commonly requested regular expressions"
arch=('any')
url="https://metacpan.org/dist/Regexp-Common"
msys2_references=(
"purl: pkg:cpan/ABIGAIL/Regexp-Common"
)
groups=('perl-modules')
depends=('perl')
license=('GPL' 'PerlArtistic')
source=("https://cpan.metacpan.org/authors/id/A/AB/ABIGAIL/${_realname}-${pkgver}.tar.gz")
sha256sums=('0677afaec8e1300cefe246b4d809e75cdf55e2cc0f77c486d13073b69ab4fbdd')
build() {
cd "$srcdir/${_realname}-${pkgver}"
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
make
}
package() {
cd "$srcdir/${_realname}-${pkgver}"
make install DESTDIR="$pkgdir"
}