[arch-commits] Commit in perl-text-query/repos (2 files)

Evangelos Foutras foutrelis at archlinux.org
Thu Jun 1 09:19:02 UTC 2017


    Date: Thursday, June 1, 2017 @ 09:19:01
  Author: foutrelis
Revision: 232070

archrelease: copy trunk to community-staging-any

Added:
  perl-text-query/repos/community-staging-any/
  perl-text-query/repos/community-staging-any/PKGBUILD
    (from rev 232069, perl-text-query/trunk/PKGBUILD)

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

Copied: perl-text-query/repos/community-staging-any/PKGBUILD (from rev 232069, perl-text-query/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2017-06-01 09:19:01 UTC (rev 232070)
@@ -0,0 +1,29 @@
+# $Id$
+# Contributor: Sergej Pupykin <pupykin.s+arch at gmail.com>
+
+pkgname=perl-text-query
+_cpanname=Text-Query
+pkgver=0.09
+pkgrel=2
+pkgdesc="Query processing framework"
+arch=('any')
+url="http://search.cpan.org/~EBOHLMAN/${_cpanname}"
+license=('GPL' 'PerlArtistic')
+depends=('perl')
+options=('!emptydirs')
+source=(http://search.cpan.org/CPAN/authors/id/J/JO/JONJ/Text-Query-$pkgver.tar.gz)
+md5sums=('d342fa12d0ba12631bda2bc25d5dfea1')
+
+build() {
+  cd "${srcdir}"/${_cpanname}-${pkgver}
+  sed -i '/^auto_install/d' Makefile.PL
+  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+  make
+}
+
+package() {
+  cd "${srcdir}"/${_cpanname}-${pkgver}
+  make install DESTDIR="${pkgdir}"
+  find "${pkgdir}" -name '.packlist' -delete
+  find "${pkgdir}" -name '*.pod' -delete
+}



More information about the arch-commits mailing list