vectorscan-docs
LOW
maintainer marcool04
1 votes
scanned 2026-08-29 13:39:41.976942
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: Mark Collins <tera_1225 hat hotmail ðot com>
2
3
pkgname=vectorscan-docs
4
_name=${pkgname%%-docs}
5
pkgver=5.4.13
6
pkgrel=1
7
pkgdesc='API and developer documentation for vectorscan, a portable hyperscan fork'
8
arch=('any')
9
url='https://github.com/VectorCamp/vectorscan'
10
license=('BSD-3-Clause')
11
12
# depends=("$_name")
13
makedepends=(
14
'boost'
15
'cmake'
16
'doxygen'
17
'ninja'
18
'python-sphinx'
19
'python-breathe'
20
'ragel'
21
'simde'
22
)
23
24
source=(
25
"${_name}-${pkgver}.tar.gz::${url}/archive/refs/tags/${_name}/${pkgver}.tar.gz"
26
)
27
28
b2sums=('7d229b100e99d1b4dae0d62d5449074f0a0b7166e2c183db0641adaec38fad4f216dea22b550802e203afc065175d0a4656c770d9405a03363a2586776da9ff8')
29
30
build() {
31
cd "${srcdir}/${_name}-${_name}-${pkgver}"
32
33
cmake -S . -B build -G Ninja \
34
-DCMAKE_INSTALL_PREFIX=/usr \
35
-DCMAKE_INSTALL_LIBDIR=lib \
36
-DBUILD_SHARED_LIBS=ON \
37
-Wno-author
38
39
cmake --build build --target dev-reference dev-reference-man
40
}
41
42
package() {
43
cd "${srcdir}/${_name}-${_name}-${pkgver}"
44
45
mkdir -p "${pkgdir}/usr/share/licenses/${pkgname}/"
46
install -Dm 644 "COPYING" -t "${pkgdir}/usr/share/licenses/${pkgname}/"
47
48
cd "build/doc/dev-reference/"
49
50
mkdir -p "${pkgdir}/usr/share/man/man7/"
51
install -v -Dm644 "./man/${_name}.7" -t "${pkgdir}/usr/share/man/man7/$_name"
52
mkdir -p "${pkgdir}/usr/share/doc/$_name/html"
53
find html -maxdepth 1 -type f -name "*.html" |
54
while IFS="" read -r html_file; do
55
install -v -Dm644 "$html_file" -t "${pkgdir}/usr/share/doc/$_name/html/"
56
done
57
find html -maxdepth 1 -type f -name "*.js" |
58
while IFS="" read -r html_file; do
59
install -v -Dm644 "$html_file" -t "${pkgdir}/usr/share/doc/$_name/html/"
60
done
61
cp -r "html/_static" "${pkgdir}/usr/share/doc/$_name/html/"
62
}
63
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-08-29 13:39:41 | Low | 1 |