aboutsummaryrefslogblamecommitdiffstats
path: root/main/perl-file-sharedir/APKBUILD
blob: 2a585f2aa0309b85e124ce27325f6570ff3b7b77 (plain) (tree)
1
2
3
4
5
6
7
8
9


                                                    
                      
            



                                                
                             

                                   
                                         
                          
                                                                                     
 
                                    

         







                                                                 


           

                                      


                                                                           
                                                                                                                                                                         
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=perl-file-sharedir
_pkgname=File-ShareDir
pkgver=1.116
pkgrel=0
pkgdesc="File::ShareDir perl module"
url="http://search.cpan.org/dist/File-ShareDir/"
arch="noarch"
license="GPL-2.0 or Artistic"
depends="perl perl-class-inspector"
makedepends="perl-dev"
checkdepends="perl-file-sharedir-install"
subpackages="$pkgname-doc"
source="http://search.cpan.org/CPAN/authors/id/R/RE/REHSACK/$_pkgname-$pkgver.tar.gz"

builddir="$srcdir/$_pkgname-$pkgver"

build() {
	cd "$builddir"
	PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
	make
}

check() {
	cd "$builddir"
	make test
}

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

sha512sums="5fcd75254c446f02ee377e6b5848baad95c73779b8525b0ee1699fe675ddd2bd67d0dc057f47b0991ec136de16e06a4891a4b14a78bd96c3e2468640053bbe0e  File-ShareDir-1.116.tar.gz"