summaryrefslogblamecommitdiff
path: root/user/perl-commandable/APKBUILD
blob: 12e3932eee1ac0894b8268c9502063e5f35700d1 (plain) (tree)
1
2
3
4
5
6
7
8






                                                           
           


                                                    
             





















                                                                                        
                                                                                                                                                                      
# Contributor: Síle Ekaterin Liszka <sheila@vulpine.house>
# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
pkgname=perl-commandable
_pkgreal=Commandable
_author=PEVANS
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
pkgver=0.09
pkgrel=0
pkgdesc="Represents one invocation of a CLI command"
url="https://metacpan.org/pod/Commandable"
arch="noarch"
license="GPL-1.0+ OR Artistic-1.0-Perl"
depends="perl"
checkdepends="perl-test-fatal perl-test-warnings"
makedepends="perl-module-build perl-module-pluggable"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/$_a/$_au/$_author/$_pkgreal-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"

build() {
        perl Build.PL --destdir="$pkgdir" --prefix="/usr" --installdirs="vendor"
        ./Build
}

check() {
        ./Build test
}

package() {
        ./Build install
        find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}

sha512sums="1bd74ae2de32e772f73d1883543309d3d3150b0aa214a4651758fe4c485c82c775292ba63f1e91841d9a0681d65a55a0fc0f8bf0e52dc4ce769105141fa2c9e5  Commandable-0.09.tar.gz"