mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2024-09-20 11:23:16 +00:00
main/perl-path-tiny: upgrade to 0.146
also, upgrade to apkbuild-cpan template 4
This commit is contained in:
parent
37822eccff
commit
bc016ee802
1 changed files with 8 additions and 6 deletions
|
@ -1,11 +1,11 @@
|
|||
# Automatically generated by apkbuild-cpan, template 3
|
||||
# Automatically generated by apkbuild-cpan, template 4
|
||||
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
|
||||
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
|
||||
pkgname=perl-path-tiny
|
||||
pkgver=0.146
|
||||
pkgrel=0
|
||||
#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
|
||||
_pkgreal=Path-Tiny
|
||||
pkgver=0.144
|
||||
pkgrel=1
|
||||
pkgdesc="File path utility"
|
||||
url="https://metacpan.org/release/Path-Tiny/"
|
||||
arch="noarch"
|
||||
|
@ -18,7 +18,10 @@ builddir="$srcdir/$_pkgreal-$pkgver"
|
|||
|
||||
build() {
|
||||
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
|
||||
PERL_MM_USE_DEFAULT=1 perl -I. Makefile.PL INSTALLDIRS=vendor
|
||||
PERL_MM_USE_DEFAULT=1 perl -I. Makefile.PL \
|
||||
INSTALLDIRS=vendor \
|
||||
NO_PACKLIST=1 \
|
||||
NO_PERLLOCAL=1
|
||||
make
|
||||
}
|
||||
|
||||
|
@ -29,9 +32,8 @@ check() {
|
|||
|
||||
package() {
|
||||
make DESTDIR="$pkgdir" install
|
||||
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
a6360ff3c81dac6026a7610b4934a415db04060a7792e37d38eec6f7b46970eeb42840da25fc0b4eab21eaa7b5f011c6d92ba5382dcea49e57e4fc693c4620d5 Path-Tiny-0.144.tar.gz
|
||||
8939e7a42a2539db98825f2755399fb5eb38aac9e6ad17ec71d51edad99ddb4d5d891ef0119b57a79e4fa84c43faedff2a05c705a1e6d731f77d49798d6dc94e Path-Tiny-0.146.tar.gz
|
||||
"
|
||||
|
|
Loading…
Reference in a new issue