[arch-commits] Commit in hyperscan/repos/community-x86_64 (4 files)

Maxime Gauduin alucryd at gemini.archlinux.org
Wed Jan 19 11:32:51 UTC 2022


    Date: Wednesday, January 19, 2022 @ 11:32:51
  Author: alucryd
Revision: 1110480

archrelease: copy trunk to community-x86_64

Added:
  hyperscan/repos/community-x86_64/.SRCINFO
    (from rev 1110479, hyperscan/trunk/.SRCINFO)
  hyperscan/repos/community-x86_64/PKGBUILD
    (from rev 1110479, hyperscan/trunk/PKGBUILD)
Deleted:
  hyperscan/repos/community-x86_64/.SRCINFO
  hyperscan/repos/community-x86_64/PKGBUILD

----------+
 .SRCINFO |   34 +++++++++----------
 PKGBUILD |  107 ++++++++++++++++++++++++++++++-------------------------------
 2 files changed, 71 insertions(+), 70 deletions(-)

Deleted: .SRCINFO
===================================================================
--- .SRCINFO	2022-01-19 11:32:44 UTC (rev 1110479)
+++ .SRCINFO	2022-01-19 11:32:51 UTC (rev 1110480)
@@ -1,17 +0,0 @@
-pkgbase = hyperscan
-	pkgdesc = High-performance regular expression matching library
-	pkgver = 5.4.0
-	pkgrel = 1
-	url = https://www.hyperscan.io
-	arch = x86_64
-	license = BSD
-	makedepends = boost
-	makedepends = cmake
-	makedepends = git
-	makedepends = python
-	makedepends = ragel
-	source = git+https://github.com/intel/hyperscan.git#tag=64a995bf445d86b74eb0f375624ffc85682eadfe
-	sha256sums = SKIP
-
-pkgname = hyperscan
-

Copied: hyperscan/repos/community-x86_64/.SRCINFO (from rev 1110479, hyperscan/trunk/.SRCINFO)
===================================================================
--- .SRCINFO	                        (rev 0)
+++ .SRCINFO	2022-01-19 11:32:51 UTC (rev 1110480)
@@ -0,0 +1,17 @@
+pkgbase = hyperscan
+	pkgdesc = High-performance regular expression matching library
+	pkgver = 5.4.0
+	pkgrel = 1
+	url = https://www.hyperscan.io
+	arch = x86_64
+	license = BSD
+	makedepends = boost
+	makedepends = cmake
+	makedepends = git
+	makedepends = python
+	makedepends = ragel
+	source = git+https://github.com/intel/hyperscan.git#tag=64a995bf445d86b74eb0f375624ffc85682eadfe
+	sha256sums = SKIP
+
+pkgname = hyperscan
+

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-01-19 11:32:44 UTC (rev 1110479)
+++ PKGBUILD	2022-01-19 11:32:51 UTC (rev 1110480)
@@ -1,53 +0,0 @@
-# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
-# Contributor: Alireza Ayinmehr <alireza.darksun at gmail.com>
-# Contributor: Maxwell Pray a.k.a. Synthead <synthead at gmail.com>
-# Contributor: JSkier <jskier at gmail dot com>
-# Contributor: Ivan Shapovalov <intelfx at intelfx.name>
-
-pkgname=hyperscan
-pkgver=5.4.0
-pkgrel=1
-pkgdesc='High-performance regular expression matching library'
-arch=(x86_64)
-url=https://www.hyperscan.io
-license=(BSD)
-makedepends=(
-  boost
-  cmake
-  git
-  python
-  ragel
-)
-_tag=64a995bf445d86b74eb0f375624ffc85682eadfe
-source=(git+https://github.com/intel/hyperscan.git#tag=${_tag})
-sha256sums=(SKIP)
-
-pkgver() {
-  cd hyperscan
-
-  git describe --tags | sed 's/^v//'
-}
-
-prepare() {
-  if [[ -d build ]]; then
-    rm -rf build
-  fi
-  mkdir build
-}
-
-build() {
-  cd build
-
-  cmake ../hyperscan \
-    -DCMAKE_INSTALL_PREFIX=/usr \
-    -DCMAKE_INSTALL_LIBDIR=lib \
-    -DBUILD_SHARED_LIBS=ON
-  make
-}
-
-package() {
-  make DESTDIR="$pkgdir" -C build install
-  install -Dm 644 hyperscan/COPYING -t "${pkgdir}"/usr/share/licenses/hyperscan/
-}
-
-# vim: ts=2 sw=2 et:

Copied: hyperscan/repos/community-x86_64/PKGBUILD (from rev 1110479, hyperscan/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-01-19 11:32:51 UTC (rev 1110480)
@@ -0,0 +1,54 @@
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+# Contributor: Alireza Ayinmehr <alireza.darksun at gmail.com>
+# Contributor: Maxwell Pray a.k.a. Synthead <synthead at gmail.com>
+# Contributor: JSkier <jskier at gmail dot com>
+# Contributor: Ivan Shapovalov <intelfx at intelfx.name>
+
+pkgname=hyperscan
+pkgver=5.4.0
+pkgrel=2
+pkgdesc='High-performance regular expression matching library'
+arch=(x86_64)
+url=https://www.hyperscan.io
+license=(BSD)
+makedepends=(
+  boost
+  cmake
+  git
+  ninja
+  python
+  ragel
+)
+_tag=64a995bf445d86b74eb0f375624ffc85682eadfe
+source=(
+  git+https://github.com/intel/hyperscan.git#tag=${_tag}
+  https://github.com/Mic92/hyperscan/commit/e2c4010b1fc1272cab816ba543940b3586e68a0c.patch
+)
+b2sums=('SKIP'
+        '9c703ab4fec035765c3c513589b79dfb98aa9ec79360d0cbda202a8b1957ad81cb0b1107a3cbbb793adb209f3e171d4831cb138c86817ee5533d262a06dd14a4')
+
+prepare() {
+  cd hyperscan
+  patch -Np1 -i ../e2c4010b1fc1272cab816ba543940b3586e68a0c.patch
+}
+
+pkgver() {
+  cd hyperscan
+  git describe --tags | sed 's/^v//'
+}
+
+build() {
+  cmake -S hyperscan -B build -G Ninja \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DCMAKE_INSTALL_LIBDIR=lib \
+    -DBUILD_SHARED_LIBS=ON \
+    -Wno-dev
+  cmake --build build
+}
+
+package() {
+  DESTDIR="${pkgdir}" cmake --install build
+  install -Dm 644 hyperscan/COPYING -t "${pkgdir}"/usr/share/licenses/hyperscan/
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list