[arch-commits] Commit in hyperscan/repos (3 files)
Felix Yan
felixonmars at gemini.archlinux.org
Sun Mar 6 16:48:59 UTC 2022
Date: Sunday, March 6, 2022 @ 16:48:59
Author: felixonmars
Revision: 1142790
archrelease: copy trunk to community-staging-x86_64
Added:
hyperscan/repos/community-staging-x86_64/
hyperscan/repos/community-staging-x86_64/.SRCINFO
(from rev 1142789, hyperscan/trunk/.SRCINFO)
hyperscan/repos/community-staging-x86_64/PKGBUILD
(from rev 1142789, hyperscan/trunk/PKGBUILD)
----------+
.SRCINFO | 17 +++++++++++++++++
PKGBUILD | 55 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 72 insertions(+)
Copied: hyperscan/repos/community-staging-x86_64/.SRCINFO (from rev 1142789, hyperscan/trunk/.SRCINFO)
===================================================================
--- community-staging-x86_64/.SRCINFO (rev 0)
+++ community-staging-x86_64/.SRCINFO 2022-03-06 16:48:59 UTC (rev 1142790)
@@ -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
+
Copied: hyperscan/repos/community-staging-x86_64/PKGBUILD (from rev 1142789, hyperscan/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2022-03-06 16:48:59 UTC (rev 1142790)
@@ -0,0 +1,55 @@
+# 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=3
+pkgdesc='High-performance regular expression matching library'
+arch=(x86_64)
+url=https://www.hyperscan.io
+license=(BSD)
+makedepends=(
+ boost
+ cmake
+ git
+ ninja
+ python
+ ragel
+)
+options=(!lto)
+_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