[arch-commits] Commit in perl-string-shellquote/repos (2 files)

Felix Yan felixonmars at archlinux.org
Tue May 19 08:14:59 UTC 2020


    Date: Tuesday, May 19, 2020 @ 08:14:59
  Author: felixonmars
Revision: 386212

archrelease: copy trunk to staging-any

Added:
  perl-string-shellquote/repos/staging-any/
  perl-string-shellquote/repos/staging-any/PKGBUILD
    (from rev 386210, perl-string-shellquote/trunk/PKGBUILD)

----------+
 PKGBUILD |   37 +++++++++++++++++++++++++++++++++++++
 1 file changed, 37 insertions(+)

Copied: perl-string-shellquote/repos/staging-any/PKGBUILD (from rev 386210, perl-string-shellquote/trunk/PKGBUILD)
===================================================================
--- staging-any/PKGBUILD	                        (rev 0)
+++ staging-any/PKGBUILD	2020-05-19 08:14:59 UTC (rev 386212)
@@ -0,0 +1,37 @@
+# Maintainer: Felix Yan <felixonmars at gmail.com>
+# Contributor: kevin <kevin at archlinux.org>
+
+pkgname=perl-string-shellquote
+_realname=String-ShellQuote
+pkgver=1.04
+pkgrel=6
+pkgdesc="Quote strings for passing through the shell"
+arch=('any')
+license=('GPL')
+url="https://search.cpan.org/dist/${_realname}/"
+depends=('perl')
+replaces=('string-shellquote')
+options=('!emptydirs')
+source=("https://search.cpan.org/CPAN/authors/id/R/RO/ROSCH/$_realname-$pkgver.tar.gz")
+md5sums=('da6329dc482b21adf5697cfbd2ac5412')
+
+build() {
+  cd ${srcdir}/${_realname}-${pkgver}
+  # install module in vendor directories.
+  perl Makefile.PL INSTALLDIRS=vendor
+  make
+}
+
+check() {
+  cd ${srcdir}/${_realname}-${pkgver}
+  make test
+}
+
+package() {
+  cd ${srcdir}/${_realname}-${pkgver}
+  make install DESTDIR=${pkgdir}
+
+  # remove perllocal.pod and .packlist
+  find ${pkgdir} -name perllocal.pod -delete
+  find ${pkgdir} -name .packlist -delete
+}



More information about the arch-commits mailing list