summaryrefslogblamecommitdiff
path: root/user/perl-patchreader/APKBUILD
blob: 4285c0fa399a9465ef73336744cce9b56ccb83bb (plain) (tree)
1
2
3
4
5
6
7
                                                  
                                                          
                        



                               




                                               
                                       
              
                      
                          

                                                                                        

         




                                                                 



                 




                                                                                                                                                                       
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
pkgname=perl-patchreader
_pkgreal=PatchReader
_author=TMANNERM
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
pkgver=0.9.6
pkgrel=0
pkgdesc="Read and manipulate patches from Perl"
url="https://metacpan.org/release/PatchReader"
arch="noarch"
license="Artistic-1.0-Perl OR GPL-1.0+"
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="4ad51a193e9bb24a736e36723cca4e6394f9e54b489ba2e44887fdc034081ab9efdcabdf22ed1976f381e685bd90867098ae47ffb8966c2021d5c690cc4c70d5  PatchReader-0.9.6.tar.gz"