[arch-commits] Commit in re2/repos (testing-x86_64 testing-x86_64/PKGBUILD)

Evangelos Foutras foutrelis at gemini.archlinux.org
Mon Nov 1 11:54:21 UTC 2021


    Date: Monday, November 1, 2021 @ 11:54:21
  Author: foutrelis
Revision: 426929

archrelease: copy trunk to testing-x86_64

Added:
  re2/repos/testing-x86_64/
  re2/repos/testing-x86_64/PKGBUILD
    (from rev 426928, re2/trunk/PKGBUILD)

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

Copied: re2/repos/testing-x86_64/PKGBUILD (from rev 426928, re2/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2021-11-01 11:54:21 UTC (rev 426929)
@@ -0,0 +1,33 @@
+# Maintainer: Evangelos Foutras <evangelos at foutrelis.com>
+# Contributor: Anatol Pomozov <anatol.pomozov at gmail.com>
+# Contributor: Gustavo Alvarez <sl1pkn07 at gmail.com>
+# Contributor: Alexandre Bique <bique.alexandre at gmail.com>
+
+pkgname=re2
+_re2ver=2021-11-01
+pkgrel=1
+epoch=1
+pkgver=${_re2ver//-}
+pkgdesc="Fast, safe, thread-friendly regular expression engine"
+arch=('x86_64')
+url="https://github.com/google/re2"
+license=('BSD')
+depends=('gcc-libs')
+source=(re2-$pkgver.tar.gz::https://github.com/google/re2/archive/$_re2ver.tar.gz)
+sha256sums=('8c45f7fba029ab41f2a7e6545058d9eec94eef97ce70df58e92d85cfc08b4669')
+
+build() {
+  cd $pkgname-$_re2ver
+  make
+}
+
+check() {
+  cd $pkgname-$_re2ver
+  make test
+}
+
+package() {
+  cd $pkgname-$_re2ver
+  make prefix=/usr DESTDIR="$pkgdir" install
+  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}



More information about the arch-commits mailing list