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

Evangelos Foutras foutrelis at archlinux.org
Fri Nov 9 22:30:10 UTC 2018


    Date: Friday, November 9, 2018 @ 22:30:08
  Author: foutrelis
Revision: 404989

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 404988, perl-text-query/trunk/PKGBUILD)

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

Copied: perl-text-query/repos/community-staging-any/PKGBUILD (from rev 404988, perl-text-query/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2018-11-09 22:30:08 UTC (rev 404989)
@@ -0,0 +1,28 @@
+# Contributor: Sergej Pupykin <pupykin.s+arch at gmail.com>
+
+pkgname=perl-text-query
+_cpanname=Text-Query
+pkgver=0.09
+pkgrel=3
+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