[arch-commits] Commit in hyperscan/trunk (.SRCINFO PKGBUILD)

Maxime Gauduin alucryd at archlinux.org
Mon Nov 4 12:36:13 UTC 2019


    Date: Monday, November 4, 2019 @ 12:36:12
  Author: alucryd
Revision: 524057

upgpkg: hyperscan 5.2.1-1

Modified:
  hyperscan/trunk/.SRCINFO
  hyperscan/trunk/PKGBUILD

----------+
 .SRCINFO |    4 ++--
 PKGBUILD |   12 +++++++++---
 2 files changed, 11 insertions(+), 5 deletions(-)

Modified: .SRCINFO
===================================================================
--- .SRCINFO	2019-11-04 12:29:17 UTC (rev 524056)
+++ .SRCINFO	2019-11-04 12:36:12 UTC (rev 524057)
@@ -1,6 +1,6 @@
 pkgbase = hyperscan
 	pkgdesc = High-performance regular expression matching library
-	pkgver = 5.2.0
+	pkgver = 5.2.1
 	pkgrel = 1
 	url = https://www.hyperscan.io
 	arch = x86_64
@@ -10,7 +10,7 @@
 	makedepends = git
 	makedepends = python
 	makedepends = ragel
-	source = git+https://github.com/intel/hyperscan.git#tag=v5.2.0
+	source = git+https://github.com/intel/hyperscan.git#tag=d79973efb1fcf5ed338122882c1f896829767fb6
 	sha256sums = SKIP
 
 pkgname = hyperscan

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-11-04 12:29:17 UTC (rev 524056)
+++ PKGBUILD	2019-11-04 12:36:12 UTC (rev 524057)
@@ -5,7 +5,7 @@
 # Contributor: Ivan Shapovalov <intelfx at intelfx.name>
 
 pkgname=hyperscan
-pkgver=5.2.0
+pkgver=5.2.1
 pkgrel=1
 pkgdesc='High-performance regular expression matching library'
 arch=(x86_64)
@@ -18,9 +18,15 @@
   python
   ragel
 )
-source=(git+https://github.com/intel/hyperscan.git#tag=v${pkgver})
+source=(git+https://github.com/intel/hyperscan.git#tag=d79973efb1fcf5ed338122882c1f896829767fb6)
 sha256sums=(SKIP)
 
+pkgver() {
+  cd hyperscan
+
+  git describe --tags | sed 's/^v//'
+}
+
 prepare() {
   if [[ -d build ]]; then
     rm -rf build
@@ -34,7 +40,7 @@
   cmake ../hyperscan \
     -DCMAKE_INSTALL_PREFIX=/usr \
     -DCMAKE_INSTALL_LIBDIR=lib \
-    -DBUILD_STATIC_AND_SHARED=ON
+    -DBUILD_SHARED_LIBS=ON
   make
 }
 



More information about the arch-commits mailing list