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

Evangelos Foutras foutrelis at archlinux.org
Tue Jul 7 09:45:59 UTC 2020


    Date: Tuesday, July 7, 2020 @ 09:45:58
  Author: foutrelis
Revision: 390936

archrelease: copy trunk to staging-x86_64

Added:
  re2/repos/staging-x86_64/
  re2/repos/staging-x86_64/PKGBUILD
    (from rev 390935, re2/trunk/PKGBUILD)

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

Copied: re2/repos/staging-x86_64/PKGBUILD (from rev 390935, re2/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2020-07-07 09:45:58 UTC (rev 390936)
@@ -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=2020-07-06
+pkgver=${_re2ver//-}
+pkgrel=1
+epoch=1
+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=('2e9489a31ae007c81e90e8ec8a15d62d58a9c18d4fd1603f6441ef248556b41f')
+
+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