contrib/p5-sub-name/Pkgfile

18 lines
430 B
Plaintext

# Description: (re)name a sub
# URL: https://metacpan.org/pod/Sub::Name
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on:
name=p5-sub-name
version=0.27
release=1
source=(https://cpan.metacpan.org/authors/id/E/ET/ETHER/Sub-Name-$version.tar.gz)
build() {
cd Sub-Name-$version
perl Makefile.PL
make
make install INSTALLDIRS=vendor DESTDIR=$PKG
find $PKG \( -name '.packlist' -o -name '*.pod' \) -delete
}