Date: Friday, April 12, 2019 @ 16:32:11 Author: felixonmars Revision: 451299
archrelease: copy trunk to community-any Added: perl-shell-config-generate/repos/community-any/ perl-shell-config-generate/repos/community-any/PKGBUILD (from rev 451298, perl-shell-config-generate/trunk/PKGBUILD) ----------+ PKGBUILD | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) Copied: perl-shell-config-generate/repos/community-any/PKGBUILD (from rev 451298, perl-shell-config-generate/trunk/PKGBUILD) =================================================================== --- community-any/PKGBUILD (rev 0) +++ community-any/PKGBUILD 2019-04-12 16:32:11 UTC (rev 451299) @@ -0,0 +1,30 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> + +pkgname=perl-shell-config-generate +pkgver=0.33 +pkgrel=1 +pkgdesc="Portably generate config for any shell" +arch=('any') +license=('PerlArtistic') +url="https://metacpan.org/release/Shell-Config-Generate" +depends=('perl-shell-guess') +makedepends=('perl-test2-suite') +options=('!emptydirs') +source=("https://cpan.metacpan.org/authors/id/P/PL/PLICEASE/Shell-Config-Generate-$pkgver.tar.gz") +sha512sums=('57041179a9798ec4dde78c13770fc58499776201891fe865baff4cd00efe6801411eb3bc1f89271cf4a35edf4782de33fdcb8a572c6c5adba188f50a13755bd3') + +build() { + cd Shell-Config-Generate-$pkgver + perl Makefile.PL INSTALLDIRS=vendor + make +} + +check() { + cd Shell-Config-Generate-$pkgver + make test +} + +package() { + cd Shell-Config-Generate-$pkgver + make DESTDIR="$pkgdir" install +}