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

Evangelos Foutras foutrelis at archlinux.org
Thu Jun 1 09:13:24 UTC 2017


    Date: Thursday, June 1, 2017 @ 09:13:23
  Author: foutrelis
Revision: 297149

archrelease: copy trunk to staging-any

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

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

Copied: perl-string-shellquote/repos/staging-any/PKGBUILD (from rev 297148, perl-string-shellquote/trunk/PKGBUILD)
===================================================================
--- staging-any/PKGBUILD	                        (rev 0)
+++ staging-any/PKGBUILD	2017-06-01 09:13:23 UTC (rev 297149)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at gmail.com>
+# Contributor: kevin <kevin at archlinux.org>
+
+pkgname=perl-string-shellquote
+_realname=String-ShellQuote
+pkgver=1.04
+pkgrel=4
+pkgdesc="Quote strings for passing through the shell"
+arch=('any')
+license=('GPL')
+url="http://search.cpan.org/dist/${_realname}/"
+depends=('perl')
+replaces=('string-shellquote')
+options=('!emptydirs')
+source=("http://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