rustypaint
LOW
maintainer ELEC7RO
0 votes
scanned 2026-08-24 23:24:42.211920
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: ELECTRO <electro@electris.net>
2
3
pkgname=rustypaint
4
pkgver=0.2.0
5
pkgrel=1
6
pkgdesc="Paint 3D's 2D editor, without the 3D"
7
arch=('x86_64')
8
url='https://github.com/ItzELECTR0/RustyPaint'
9
license=('GPL-3.0-only')
10
depends=('fontconfig' 'libxkbcommon' 'vulkan-icd-loader')
11
makedepends=('cargo' 'git')
12
optdepends=('xdg-desktop-portal: native file dialogs, and following the system colour scheme'
13
'vulkan-radeon: AMD GPU driver'
14
'nvidia-utils: NVIDIA GPU driver'
15
'vulkan-intel: Intel GPU driver')
16
options=('!debug')
17
_native=1
18
source=("${pkgname}::git+${url}.git#tag=v${pkgver}")
19
b2sums=('SKIP')
20
21
prepare() {
22
cd "$pkgname"
23
cargo fetch --locked --target "$(rustc -vV | sed -n 's/host: //p')"
24
}
25
26
build() {
27
cd "$pkgname"
28
export CARGO_TARGET_DIR=target
29
30
if [[ -n "${_native:-}" ]]; then
31
export RUSTFLAGS="${RUSTFLAGS:-} -C target-cpu=native"
32
fi
33
34
cargo build --profile dist --frozen -p rustypaint
35
}
36
37
package() {
38
cd "$pkgname"
39
install -Dm755 target/dist/rustypaint "$pkgdir/usr/bin/rustypaint"
40
install -Dm644 packaging/net.electris.RustyPaint.desktop \
41
"$pkgdir/usr/share/applications/net.electris.RustyPaint.desktop"
42
install -Dm644 packaging/flatpak/net.electris.RustyPaint.metainfo.xml \
43
"$pkgdir/usr/share/metainfo/net.electris.RustyPaint.metainfo.xml"
44
install -Dm644 README.md "$pkgdir/usr/share/doc/rustypaint/README.md"
45
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/rustypaint/LICENSE"
46
47
for size in 16 24 32 48 64 128 256 512; do
48
install -Dm644 "res/icons/icon-$size.png" \
49
"$pkgdir/usr/share/icons/hicolor/${size}x${size}/apps/rustypaint.png"
50
done
51
}
52
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-08-24 23:24:42 | Low | 1 |
| 2026-08-24 21:24:32 | Low | 1 |