# Contributor: A. Wilcox # Maintainer: Síle Ekaterin Liszka pkgname=perl-posix-strftime-compiler _pkgreal=POSIX-strftime-Compiler _author=KAZEBURO _au=${_author%%"${_author#??}"} _a=${_author%%"${_author#?}"} pkgver=0.44 pkgrel=0 pkgdesc="Perl strftime compiler" url="https://metacpan.org/release/POSIX-strftime-Compiler" arch="noarch" license="Artistic-1.0-Perl OR GPL-1.0+" 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 change-timezone-name.patch" 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="34852966a46f55a65e4ee90af3aec6478456d3a7fc8f8b8e8fc4e704a8361f46abfad5fe0f356eb3432fb2e232e65004818b19f298293cc0172d576cfe34c3e1 POSIX-strftime-Compiler-0.44.tar.gz 372ca8d3b8dfe35cbb6f67023341e59d6bca558d6a8bf8f02e79fb1f44c8d42a7c798b82e3e8732ebe7a46588912f6a533018bd4256419cd32a1257f11f5b467 change-timezone-name.patch"