summaryrefslogblamecommitdiff
path: root/user/perl-mixin-linewise/APKBUILD
blob: 536b5defdef17edda00700cb584333c6e8e66197 (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.111
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="282c9bbb825ee05f1d916fdfb1caad6c04a917a26c10ae18dc9883706e612915186c49a96209af254329f346bc731547a20ff2db136f0ceaf1edd5d21b120195  Mixin-Linewise-0.111.tar.gz"