contrib/p5-ipc-system-simple/Pkgfile

22 lines
650 B
Plaintext
Raw Normal View History

2019-10-23 12:57:57 +02:00
# Description: Run commands simply, with detailed diagnostics
# URL: https://metacpan.org/release/IPC-System-Simple
# Maintainer: John McQuah, jmcquah at disroot dot org
2019-10-23 12:57:57 +02:00
name=p5-ipc-system-simple
2020-02-01 11:32:34 +01:00
_author=JKEENAN
2020-06-08 20:36:34 +02:00
version=1.30
2019-10-23 12:57:57 +02:00
release=1
source=(https://cpan.metacpan.org/authors/id/${_author::1}/${_author::2}/$_author/IPC-System-Simple-$version.tar.gz)
2019-10-23 12:57:57 +02:00
build() {
cd IPC-System-Simple-$version
2019-10-23 12:57:57 +02:00
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
make
make DESTDIR="$PKG" install
find $PKG \( -name '.packlist' -o -name '*.pod' \) -delete
find $PKG -depth -empty -delete
find $PKG \( -type f -a ! -perm -u+w \) -exec chmod u+w '{}' +
2019-10-23 12:57:57 +02:00
}