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

Felix Yan felixonmars at archlinux.org
Tue Jul 7 14:11:42 UTC 2020


    Date: Tuesday, July 7, 2020 @ 14:11:42
  Author: felixonmars
Revision: 658748

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

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

Copied: perl-text-query/repos/community-staging-any/PKGBUILD (from rev 658747, perl-text-query/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-07-07 14:11:42 UTC (rev 658748)
@@ -0,0 +1,28 @@
+# Contributor: Sergej Pupykin <pupykin.s+arch at gmail.com>
+
+pkgname=perl-text-query
+_cpanname=Text-Query
+pkgver=0.09
+pkgrel=4
+pkgdesc="Query processing framework"
+arch=('any')
+url="https://search.cpan.org/~EBOHLMAN/${_cpanname}"
+license=('GPL' 'PerlArtistic')
+depends=('perl')
+options=('!emptydirs')
+source=(https://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