rxcom
LOW
maintainer crazyboycjr
0 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: Jingrong Chen <crazyboycjr at gmail dot com>
2
#
3
# The repository's packaging/arch/PKGBUILD builds its working tree with the
4
# same dependencies and package(); keep the two alike. To release:
5
# 1. with the repository public, push the tag v$pkgver to
6
# github.com/crazyboycjr/rxcom, and set pkgver here and pkgrel=1;
7
# 2. updpkgsums, which puts the tarball's sha256 in place of SKIP;
8
# 3. makepkg --printsrcinfo > .SRCINFO;
9
# 4. makepkg -f, a test build whose check() runs the tests, and
10
# namcap PKGBUILD rxcom-*.pkg.tar.*;
11
# 5. git commit -am "rxcom $pkgver", and git push.
12
pkgname=rxcom
13
pkgver=0.3.0
14
pkgrel=1
15
pkgdesc='X11 compositor with a full-desktop zoom'
16
arch=('x86_64')
17
url='https://github.com/crazyboycjr/rxcom'
18
license=('MIT')
19
depends=('glibc' 'libgcc' 'libxcb')
20
optdepends=('libglvnd: the experimental GL presenter'
21
'libx11: the experimental GL presenter'
22
'vulkan-icd-loader: the experimental Vulkan presenter')
23
makedepends=('cargo' 'shaderc')
24
options=('!lto' '!debug')
25
source=("$pkgname-$pkgver.tar.gz::$url/archive/refs/tags/v$pkgver.tar.gz")
26
sha256sums=('41fcb9c9a0ab00947e90a88fa1a20f8e1fefcacc8e41f3ecc75338b394f22d07')
27
28
prepare() {
29
cd "$pkgname-$pkgver"
30
export RUSTUP_TOOLCHAIN=stable
31
cargo fetch --locked --target "$(rustc -vV | sed -n 's/host: //p')"
32
}
33
34
build() {
35
cd "$pkgname-$pkgver"
36
export RUSTUP_TOOLCHAIN=stable
37
export CARGO_TARGET_DIR=target
38
cargo build --frozen --release
39
}
40
41
check() {
42
cd "$pkgname-$pkgver"
43
export RUSTUP_TOOLCHAIN=stable
44
export CARGO_TARGET_DIR=target
45
cargo test --frozen --release --lib
46
}
47
48
package() {
49
cd "$pkgname-$pkgver"
50
install -Dm755 target/release/rxcom -t "$pkgdir/usr/bin/"
51
install -Dm644 README.md DESIGN.md CHANGELOG.md -t "$pkgdir/usr/share/doc/$pkgname/"
52
install -Dm644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname/"
53
}
54
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-11-01 01:59:19 | Low | 1 |