libraven
LOW
maintainer Blaadick
1 votes
scanned 2026-11-01 01:59:19.609877
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: Blaadick <null>
2
3
pkgname="libraven"
4
pkgdesc="Lightweight multithreaded GUI library in C for editors and tools"
5
url="https://github.com/oscar-soirey/Raven"
6
license=("Apache-2.0" "OFL-1.1" "MIT OR Unlicense")
7
pkgver="0.2.0"
8
pkgrel=1
9
arch=("x86_64")
10
depends=(
11
"glibc"
12
"libx11"
13
"vulkan-icd-loader"
14
)
15
optdepends=(
16
"zenity: system file dialogs"
17
"kdialog: system file dialogs"
18
"dbus: accessibility through AT-SPI"
19
"curl: remote images in Markdown"
20
"chromium: web pages (raven_web)"
21
"python: Python bindings"
22
)
23
makedepends=(
24
"cmake"
25
"ninja"
26
"vulkan-headers"
27
)
28
checkdepends=(
29
"python"
30
)
31
source=("$pkgname-$pkgver.tar.gz::$url/archive/refs/tags/v$pkgver.tar.gz")
32
sha512sums=("54e27d1bfa7f195d477dc82a6f8abca39bad3bc14e0eb5fae04671875cd1756382288a5b6fc8ce1549b59dfaea4da1d627ebade1459fc0aa71f4617a4b77089f")
33
34
prepare() {
35
cd "Raven-$pkgver"
36
37
sed -i 's|${PROJECT_SOURCE_DIR}/include|/usr/include|' tools/CMakeLists.txt
38
}
39
40
build() {
41
cd "Raven-$pkgver"
42
43
cmake -B build -S . -G Ninja \
44
-DCMAKE_BUILD_TYPE=Release \
45
-DCMAKE_INSTALL_PREFIX=/usr \
46
-DRAVEN_BUILD_SHARED=ON \
47
-DRAVEN_BUILD_TOOLS=ON \
48
-DRAVEN_BUILD_TESTS=ON \
49
-DRAVEN_BUILD_EXAMPLES=OFF \
50
-DRAVEN_FETCH_VULKAN_HEADERS=OFF
51
cmake --build build --parallel
52
}
53
54
check() {
55
cd "Raven-$pkgver"
56
57
mkdir -p build/share/raven
58
ln -sfn "$PWD/bindings" build/share/raven/bindings
59
ctest --test-dir build --output-on-failure
60
}
61
62
package() {
63
cd "Raven-$pkgver"
64
65
DESTDIR="$pkgdir" cmake --install build
66
install -Dm644 LICENSE NOTICE -t "$pkgdir/usr/share/licenses/$pkgname"
67
ln -s /usr/share/raven/licenses "$pkgdir/usr/share/licenses/$pkgname/third_party"
68
}
69
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-11-01 01:59:19 | Low | 1 |