summaryrefslogblamecommitdiff
path: root/user/perl-ipc-system-simple/APKBUILD
blob: 4d23b778da2fe5edd96fb349c03564d0c23b35cd (plain) (tree)
1
2
3
4
5
6
7
8

                                                                   
                          
               
                               
           



                                                          
              
                          
                                                                                        
         



                                                                 


                 


                                                                           
                                                                                                                                                                            
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
pkgname=perl-ipc-system-simple
_pkgreal=IPC-System-Simple
_author=JKEENAN
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
pkgver=1.26
pkgrel=0
pkgdesc="Run commands from Perl with detailed diagnostics"
url="https://metacpan.org/release/IPC-System-Simple"
arch="noarch"
license="Artistic-1.0-Perl"
depends="perl"
makedepends="perl-dev"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/$_a/$_au/$_author/$_pkgreal-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"

build() {
	PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
	make
}

check() {
	make test
}

package() {
	make DESTDIR="$pkgdir" install
	find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}

sha512sums="cf9a0ba99ecb080010f9da995d5985501dc61fb4254c4ba0c0033000e5f2678f728feb8cf3f96324439fcc77dbd76da6a509e0b75203ef37a8ca11bf1a2aa2bb  IPC-System-Simple-1.26.tar.gz"