summaryrefslogblamecommitdiff
path: root/user/perl-posix-strftime-compiler/APKBUILD
blob: 641a6ffcd300f63db6c6381ce21d8d6bc3e0411b (plain) (tree)
1
2
3
4
5
6
7
8


                                                                   



                                
           




                                                          
              
                                             
                          

                                                                                        

         




                                                                              



                    



                                                                           
                                                                                                                                                                                  
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
pkgname=perl-posix-strftime-compiler
_pkgreal=POSIX-strftime-Compiler
_author=KAZEBURO
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
pkgver=0.43
pkgrel=0
pkgdesc="Perl strftime compiler"
url="https://metacpan.org/release/POSIX-strftime-Compiler"
arch="noarch"
license="Artistic-1.0-Perl OR GPL-2.0-only"
depends="perl"
makedepends="perl-dev perl-module-build-tiny"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/$_a/$_au/$_author/$_pkgreal-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"

build() {
	perl Build.PL --destdir="$pkgdir" --prefix="/usr" --installdirs=vendor
	./Build
}

check() {
	./Build test
}

package() {
	./Build install destdir="$pkgdir"
	find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}

sha512sums="3a0a118509a4da3b4af774d75be5cf05e65672c61df57117317d39f13a835c1d8cd27c9bebe4d81c20e8a628e69f698e8406b93610feb8900c1f225c9dbd4f9d  POSIX-strftime-Compiler-0.43.tar.gz"