summaryrefslogblamecommitdiff
path: root/user/perl-file-pushd/APKBUILD
blob: 9e5beb6f75635cec301f7673bb4c5b7b8d69aa0f (plain) (tree)
1
2
3
4
5
6
7

                                                                   


                               




                                                                  
              
                          
                                                                                        
         



                                                                 


                 



                                                                                                                                                                      
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
pkgname=perl-file-pushd
_pkgreal=File-pushd
_author=DAGOLDEN
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
pkgver=1.016
pkgrel=0
pkgdesc="Change directory temporarily in Perl for a limited scope"
url="https://metacpan.org/release/File-pushd"
arch="noarch"
license="Apache-2.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="f80f24831c28aed6efcb036db8da2404aadf1005ed751a82c10071a24572c05758eb1785cd9d1f9fdee86a20cf83b41bd73125862d8d24bfa240cc0d6b33ccdd  File-pushd-1.016.tar.gz"