[arch-commits] Commit in the_silver_searcher/repos (2 files)

Evangelos Foutras foutrelis at archlinux.org
Tue Jul 7 21:20:22 UTC 2020


    Date: Tuesday, July 7, 2020 @ 21:20:22
  Author: foutrelis
Revision: 660344

archrelease: copy trunk to community-staging-x86_64

Added:
  the_silver_searcher/repos/community-staging-x86_64/
  the_silver_searcher/repos/community-staging-x86_64/PKGBUILD
    (from rev 660343, the_silver_searcher/trunk/PKGBUILD)

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

Copied: the_silver_searcher/repos/community-staging-x86_64/PKGBUILD (from rev 660343, the_silver_searcher/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2020-07-07 21:20:22 UTC (rev 660344)
@@ -0,0 +1,31 @@
+# Maintainer: Alexander F. Rødseth <xyproto at archlinux.org>
+# Contributor: Jeff Horelick <jdhore1 at gmail.com>
+# Contributor: skydrome <skydrome at i2pmail.org>
+
+pkgname=the_silver_searcher
+pkgver=2.2.0
+pkgrel=2
+pkgdesc='Code searching tool similar to Ack, but faster'
+arch=('x86_64')
+url='https://github.com/ggreer/the_silver_searcher'
+license=('Apache')
+depends=('pcre' 'xz')
+makedepends=('git')
+source=("git+https://github.com/ggreer/$pkgname.git#tag=$pkgver")
+md5sums=('SKIP')
+
+prepare() {
+  sed -i 's,configure,configure --prefix=/usr,' $pkgname/build.sh
+}
+
+build() {
+  CFLAGS+=' -fcommon' # https://wiki.gentoo.org/wiki/Gcc_10_porting_notes/fno_common
+  ./$pkgname/build.sh
+}
+
+package() {
+  make -C $pkgname DESTDIR="$pkgdir" install
+}
+
+# getver: github.com/ggreer/the_silver_searcher
+# vim: ts=2 sw=2 et:


More information about the arch-commits mailing list