elfbsp-git

LOW
maintainer OrionMelaeno 0 votes scanned 2026-11-02 04:02:15.556644
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: ORION MELAENO <midway64@proton.me>
2# Contributor: ORION MELAENO <midway64@proton.me>
3
4pkgname=elfbsp-git
5_pkgname=elfbsp
6pkgver=elfbsp_v1.3.1.r1.40d9d6c
7pkgrel=1
8pkgdesc="Modern BSP tree builder for idTech1 games and source ports. Based on Andrew Apted's AJBSP."
9arch=('x86_64')
10url="https://elf-alchemist.github.io/elfbsp/"
11license=('GPL-2.0-or-later')
12depends=('libstdc++' 'glibc' 'libgcc')
13makedepends=('cmake' 'git')
14provides=('elfbsp')
15conflicts=('elfbsp')
16source=("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")
19sha256sums=('SKIP'
20 'SKIP'
21 'SKIP')
22
23pkgver() {
24 cd "${_pkgname}"
25 printf "%s" "$(git describe --long | sed 's/\([^-]*-\)g/r\1/;s/-/./g')"
26}
27
28prepare() {
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.)
40build() {
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
51package() {
52 cd "${_pkgname}"
53 make DESTDIR="$pkgdir/" install -C build
54}
55

Scan history

Scanned at (UTC)SeverityRules
2026-11-02 04:02:15 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