Perl package sanity (#5922)

* Rename to perl-Getopt-ArgvFile for match pkgname

* Rename to perl-IO-Stringy to match pkgname

* Rename to perl-Spiffy to match pkgname
This commit is contained in:
Yonggang Luo
2026-01-03 22:14:41 +08:00
committed by GitHub
parent 1cc81a30e6
commit 1857d63306
3 changed files with 6 additions and 6 deletions

40
perl-IO-Stringy/PKGBUILD Normal file
View File

@@ -0,0 +1,40 @@
# Maintainer: Alexey Pavlov <alexpux@gmail.com>
_realname=IO-Stringy
pkgname=perl-${_realname}
provides=(perl-IO-stringy)
conflicts=(perl-IO-stringy)
replaces=(perl-IO-stringy)
pkgver=2.113
pkgrel=3
pkgdesc="I/O on in-core objects like strings and arrays"
arch=('any')
url="https://metacpan.org/dist/IO-Stringy"
msys2_references=(
'purl: pkg:cpan/CAPOEIRAB/IO-Stringy'
)
groups=('perl-modules')
license=('GPL' 'PerlArtistic')
depends=('perl')
options=('!emptydirs')
source=("https://cpan.metacpan.org/authors/id/C/CA/CAPOEIRAB/${_realname}-${pkgver}.tar.gz")
sha256sums=('51220fcaf9f66a639b69d251d7b0757bf4202f4f9debd45bdd341a6aca62fe4e')
build() {
cd "${srcdir}/${_realname}-${pkgver}"
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
make
}
check() {
cd "${srcdir}/${_realname}-${pkgver}"
make test
}
package() {
cd "${srcdir}/${_realname}-${pkgver}"
make install DESTDIR="${pkgdir}"
find ${pkgdir} -name '.packlist' -delete
find ${pkgdir} -name '*.pod' -delete
}