22 lines
650 B
Plaintext
Raw Normal View History

2019-10-23 21:57:57 +11: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 21:57:57 +11:00
name=p5-ipc-system-simple
2020-02-01 21:32:34 +11:00
_author=JKEENAN
2020-06-08 18:36:34 +00:00
version=1.30
2019-10-23 21:57:57 +11:00
release=1
source=(https://cpan.metacpan.org/authors/id/${_author::1}/${_author::2}/$_author/IPC-System-Simple-$version.tar.gz)
2019-10-23 21:57:57 +11:00
build() {
cd IPC-System-Simple-$version
2019-10-23 21:57:57 +11: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 21:57:57 +11:00
}