cre2

LOW
maintainer AlphaJack 0 votes scanned 2026-10-29 17:53:05.425985
View on AUR
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
3pkgname="cre2"
4pkgver=0.3.6
5pkgrel=3
6pkgdesc="C language wrapper for RE2, the regular expressions library from Google"
7arch=("x86_64" "aarch64")
8url="https://github.com/marcomaggi/cre2"
9license=("BSD-3-Clause")
10depends=("gcc-libs" "glibc" "re2")
11makedepends=("autoconf" "autoconf-archive" "automake" "libtool")
12source=("$pkgname-$pkgver.tar.gz::$url/archive/refs/tags/v$pkgver.tar.gz")
13sha256sums=('faae21540e7889b811263942726aa1edce6b8d42c37e15d8e211da8a1a3bc43b')
14
15prepare(){
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
25build(){
26 cd "$pkgname-$pkgver"
27 ./configure --prefix=/usr --disable-static
28 make
29}
30
31package(){
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)SeverityRules
2026-10-29 17:53:05 Low 1
2026-10-29 15:52:51 Low 1

Report a package

Reports go to the AURWatch maintainer (one person) and are read by hand. No login required.

0 / 4000
Your suggestion