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 <[email protected]>
 
 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
 }
 

Reply via email to