gnome-vram-booster
LOW
maintainer sachesi
0 votes
scanned 2026-09-18 21:28:57.026605
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: sachesi <xsachesi@pm.me>
2
3
# pkgver and sha256sums are filled in by .github/workflows/aur.yml for each release.
4
pkgname=gnome-vram-booster
5
pkgver=0.7.0
6
pkgrel=1
7
pkgdesc='Dynamic VRAM prioritization for GNOME'
8
arch=('x86_64' 'aarch64')
9
url='https://github.com/sachesi/gnome-vram-booster'
10
license=('GPL-3.0-or-later')
11
depends=('dmemcg-booster' 'libgcc' 'glibc')
12
makedepends=('cargo' 'glib2')
13
optdepends=('gnome-shell: the extension that reports the focused window')
14
source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver/$pkgname-$pkgver.tar.gz")
15
sha256sums=('7d64cf44eea144ec4dac0d790c89c0f03adf79a2d10adcdba0b98488c7c75a46')
16
17
_ext_uuid=vram-booster@local
18
19
prepare() {
20
cd "$pkgname-$pkgver/daemon"
21
export RUSTUP_TOOLCHAIN=stable
22
cargo fetch --locked --target "$(rustc -vV | sed -n 's/host: //p')"
23
}
24
25
build() {
26
cd "$pkgname-$pkgver/daemon"
27
export RUSTUP_TOOLCHAIN=stable
28
export CARGO_TARGET_DIR=target
29
cargo build --frozen --release
30
}
31
32
check() {
33
cd "$pkgname-$pkgver/daemon"
34
export RUSTUP_TOOLCHAIN=stable
35
export CARGO_TARGET_DIR=target
36
cargo test --frozen
37
}
38
39
package() {
40
cd "$pkgname-$pkgver"
41
install -Dm755 daemon/target/release/$pkgname daemon/target/release/${pkgname}ctl -t "$pkgdir/usr/bin"
42
install -Dm644 packaging/usr/lib/systemd/system/$pkgname.service -t "$pkgdir/usr/lib/systemd/system"
43
install -Dm644 packaging/usr/share/dbus-1/system.d/org.gnome.VramBooster.conf -t "$pkgdir/usr/share/dbus-1/system.d"
44
local ext="$pkgdir/usr/share/gnome-shell/extensions/$_ext_uuid"
45
install -Dm644 extension/extension.js extension/prefs.js extension/metadata.json -t "$ext"
46
install -Dm644 extension/schemas/*.gschema.xml -t "$ext/schemas"
47
glib-compile-schemas "$ext/schemas"
48
}
49
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-09-18 21:28:57 | Low | 1 |
| 2026-09-18 19:28:54 | Low | 1 |