Date: Saturday, May 25, 2019 @ 12:01:55 Author: foutrelis Revision: 470582
archrelease: copy trunk to community-staging-any Added: perl-algorithm-annotate/repos/community-staging-any/ perl-algorithm-annotate/repos/community-staging-any/PKGBUILD (from rev 470581, perl-algorithm-annotate/trunk/PKGBUILD) ----------+ PKGBUILD | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) Copied: perl-algorithm-annotate/repos/community-staging-any/PKGBUILD (from rev 470581, perl-algorithm-annotate/trunk/PKGBUILD) =================================================================== --- community-staging-any/PKGBUILD (rev 0) +++ community-staging-any/PKGBUILD 2019-05-25 12:01:55 UTC (rev 470582) @@ -0,0 +1,27 @@ +# Maintainer: Sergej Pupykin <pupykin.s+a...@gmail.com> +# Maintainer: Charles Mauch <cma...@gmail.com> + +pkgname=perl-algorithm-annotate +pkgver=0.10 +pkgrel=10 +pkgdesc="Perl/CPAN Module Algorithm::Annotate" +arch=("any") +url="https://search.cpan.org/dist/Algorithm-Annotate" +license=("GPL" "PerlArtistic") +makedepends=("perl-algorithm-diff") +depends=("perl-algorithm-diff") +source=("https://www.cpan.org/authors/id/C/CL/CLKAO/Algorithm-Annotate-$pkgver.tar.gz") +sha256sums=('c9b1764643933eb1a3356906cc372d483a99416207a31df3e58ee9892d9922f9') + +build() { + cd "$srcdir"/Algorithm-Annotate-$pkgver + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + make +} + +package() { + cd "$srcdir"/Algorithm-Annotate-$pkgver + make install DESTDIR="$pkgdir" + find "$pkgdir" -name '.packlist' -delete + find "$pkgdir" -name '*.pod' -delete +}