elfbsp-git
LOW
maintainer OrionMelaeno
0 votes
scanned 2026-11-02 04:02:15.556644
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: ORION MELAENO <midway64@proton.me>
2
# Contributor: ORION MELAENO <midway64@proton.me>
3
4
pkgname=elfbsp-git
5
_pkgname=elfbsp
6
pkgver=elfbsp_v1.3.1.r1.40d9d6c
7
pkgrel=1
8
pkgdesc="Modern BSP tree builder for idTech1 games and source ports. Based on Andrew Apted's AJBSP."
9
arch=('x86_64')
10
url="https://elf-alchemist.github.io/elfbsp/"
11
license=('GPL-2.0-or-later')
12
depends=('libstdc++' 'glibc' 'libgcc')
13
makedepends=('cmake' 'git')
14
provides=('elfbsp')
15
conflicts=('elfbsp')
16
source=("git+https://github.com/elf-alchemist/elfbsp.git"
17
"git+https://github.com/elf-alchemist/libscanner.git"
18
"git+https://github.com/zlib-ng/zlib-ng.git")
19
sha256sums=('SKIP'
20
'SKIP'
21
'SKIP')
22
23
pkgver() {
24
cd "${_pkgname}"
25
printf "%s" "$(git describe --long | sed 's/\([^-]*-\)g/r\1/;s/-/./g')"
26
}
27
28
prepare() {
29
cd "${_pkgname}"
30
git submodule init
31
git config submodule.library/scanner.url "${srcdir}/libscanner"
32
git config submodule.library/zlib-ng.url "${srcdir}/zlib-ng"
33
git -c protocol.file.allow=always submodule update
34
}
35
36
# Building with GCC (instead of Clang - as upstream prefers) since I struggle
37
# convincing CMake to read the environment flags, as it just skips the Clang
38
# compiler and uses GCC nevertheless. Suggestions for this issue are welcome.
39
# (GCC is cool, anyway.)
40
build() {
41
local cmake_options=(
42
-B build
43
-D CMAKE_BUILD_TYPE=RelWithDebInfo # This is a git pkg, debug is good.
44
-D CMAKE_INSTALL_PREFIX=/usr
45
)
46
cd "${_pkgname}"
47
cmake "${cmake_options[@]}"
48
make all -C build
49
}
50
51
package() {
52
cd "${_pkgname}"
53
make DESTDIR="$pkgdir/" install -C build
54
}
55
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-11-02 04:02:15 | Low | 1 |