summaryrefslogblamecommitdiff
path: root/user/perl-mixin-linewise/APKBUILD
blob: be942b9d4447eccec6d6a70cc91483fca23a520b (plain) (tree)
1
2
3
4
5
6
7
8
                                                  
                                                          
                           


                               
            


                                                      
                                       

                                                   
                                                                                        
         



                                                                 


                 


                                                                           
                                                                                                                                                                          
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
pkgname=perl-mixin-linewise
_pkgreal=Mixin-Linewise
_author=RJBS
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
pkgver=0.110
pkgrel=0
pkgdesc="Line-wise reader and writer for Perl strings"
url="https://metacpan.org/release/Mixin-Linewise"
arch="noarch"
license="Artistic-1.0-Perl OR GPL-1.0+"
depends="perl-perlio-utf8_strict perl-sub-exporter"
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="b5c7e5ab8b5f971fb5cc0e378108513488ff20525f85b9bb12afa3d855088a6a4040ffd8d5dcac97677905dcc6b4e85ac86cd6d69f37c42fb4ca2fa4eb912abf  Mixin-Linewise-0.110.tar.gz"