Date: Friday, April 12, 2019 @ 16:31:55 Author: felixonmars Revision: 451298
addpkg: perl-shell-config-generate 0.33-1 Added: perl-shell-config-generate/ perl-shell-config-generate/repos/ perl-shell-config-generate/trunk/ perl-shell-config-generate/trunk/PKGBUILD ----------+ PKGBUILD | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) Added: perl-shell-config-generate/trunk/PKGBUILD =================================================================== --- perl-shell-config-generate/trunk/PKGBUILD (rev 0) +++ perl-shell-config-generate/trunk/PKGBUILD 2019-04-12 16:31:55 UTC (rev 451298) @@ -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 +}