Commit 612f5ea3 authored by Leo's avatar Leo

main/perl-file-sharedir: upgrade to 1.118

parent abc1832e
......@@ -2,35 +2,32 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=perl-file-sharedir
_pkgname=File-ShareDir
pkgver=1.116
pkgrel=2
pkgdesc="File::ShareDir perl module"
pkgver=1.118
pkgrel=0
pkgdesc="Locate per-dist and per-module shared files"
url="https://metacpan.org/release/File-ShareDir/"
arch="noarch"
license="GPL-2.0 or Artistic"
license="GPL-1.0-or-later OR Artistic-1.0-Perl"
depends="perl perl-class-inspector"
makedepends="perl-dev"
checkdepends="perl-file-sharedir-install"
makedepends="perl-dev perl-file-sharedir-install perl-inc-latest"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/R/RE/REHSACK/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"
build() {
cd "$builddir"
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
make
}
check() {
cd "$builddir"
make test
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
sha512sums="5fcd75254c446f02ee377e6b5848baad95c73779b8525b0ee1699fe675ddd2bd67d0dc057f47b0991ec136de16e06a4891a4b14a78bd96c3e2468640053bbe0e File-ShareDir-1.116.tar.gz"
sha512sums="890f33e96333f7b07707d722e59e7da9a287112062814ef294594ac67f2f7349f905c009e6cd70d3af3a4de85335b074ec5a61194f9b0495f3e793d6ca635853 File-ShareDir-1.118.tar.gz"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment