cre2
LOW
maintainer AlphaJack
0 votes
scanned 2026-10-29 17:53:05.425985
Why flagged
Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.
Triggered rules
Low
Few votes, recently uploaded
zero_votes_recent
Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.
PKGBUILD
1
# Maintainer: AlphaJack <alphajack at tuta dot io>
2
3
pkgname="cre2"
4
pkgver=0.3.6
5
pkgrel=3
6
pkgdesc="C language wrapper for RE2, the regular expressions library from Google"
7
arch=("x86_64" "aarch64")
8
url="https://github.com/marcomaggi/cre2"
9
license=("BSD-3-Clause")
10
depends=("gcc-libs" "glibc" "re2")
11
makedepends=("autoconf" "autoconf-archive" "automake" "libtool")
12
source=("$pkgname-$pkgver.tar.gz::$url/archive/refs/tags/v$pkgver.tar.gz")
13
sha256sums=('faae21540e7889b811263942726aa1edce6b8d42c37e15d8e211da8a1a3bc43b')
14
15
prepare(){
16
cd "$pkgname-$pkgver"
17
# current re2 is built on abseil and needs C++17, the bundled macro only knows 11 and 14
18
cp /usr/share/aclocal/ax_cxx_compile_stdcxx.m4 meta/autoconf/m4_ax_cxx_compile_stdcxx.m4
19
sed -i 's/AX_CXX_COMPILE_STDCXX_11(noext,mandatory)/AX_CXX_COMPILE_STDCXX(17,noext,mandatory)/' configure.ac
20
# the release lacks the helper generating version.texi, skip the info manual
21
sed -i '/^info_TEXINFOS/d; /^doc_cre2_TEXINFOS/d' Makefile.am
22
autoreconf -fi
23
}
24
25
build(){
26
cd "$pkgname-$pkgver"
27
./configure --prefix=/usr --disable-static
28
make
29
}
30
31
package(){
32
cd "$pkgname-$pkgver"
33
make DESTDIR="$pkgdir" install
34
install -D -m 644 COPYING -t "$pkgdir/usr/share/licenses/$pkgname"
35
}
36
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-10-29 17:53:05 | Low | 1 |
| 2026-10-29 15:52:51 | Low | 1 |