Celeste 40ea6c48d7 */*: add maintainer variable for aports i maintain
leaving the Maintainer comment there for better visual cues, syntax highlighting, and easy conversion to a Contributor comment

since Contributor comments are not being removed, just treat my Maintainer comments like Contributor ones, as a normal comment
2024-10-16 16:20:45 +00:00

40 lines
1.3 KiB
Plaintext

# Automatically generated by apkbuild-cpan, template 3
# Maintainer: Celeste <cielesti@protonmail.com>
maintainer="Celeste <cielesti@protonmail.com>"
pkgname=perl-command-runner
#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
_pkgreal=Command-Runner
pkgver=0.200
pkgrel=0
pkgdesc="Run external commands and Perl code refs"
url="https://metacpan.org/release/Command-Runner/"
arch="noarch"
license="GPL-1.0-or-later OR Artistic-1.0-Perl"
depends="perl perl-capture-tiny perl-file-pushd perl-string-shellquote"
makedepends="perl-module-build-tiny"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/S/SK/SKAJI/Command-Runner-$pkgver.tar.gz
remove-win32-shellquote-dep.patch
"
builddir="$srcdir/$_pkgreal-$pkgver"
build() {
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
perl Build.PL --installdirs=vendor
./Build
}
check() {
./Build test
}
package() {
./Build install --destdir="$pkgdir"
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
sha512sums="
a25905e05c0d4dcb41c34cce20562bfae8c00234c08cc0804b04a7a5ff0fc734985815b9ce9add8fdd0e51ca5a4c83b8ce2ce0cd1f995da51636e1c280838696 Command-Runner-0.200.tar.gz
d32dcce62716d3b88d30072d1eca6435a6e66c11273525b29a2ce71afc6d4a14ed865e399c07ea5c0df443d08b82fbcd626cb52274191d9ae18d768178095579 remove-win32-shellquote-dep.patch
"