rustypaint-git
LOW
maintainer ELEC7RO
0 votes
scanned 2026-08-25 15:26:42.169879
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-git
4
pkgver=0.2.0.r0.g7ce156b
5
pkgrel=1
6
pkgdesc="Paint 3D's 2D editor, without the 3D (Git version)"
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
provides=('rustypaint')
17
conflicts=('rustypaint')
18
options=('!debug')
19
_native=1
20
source=('rustypaint::git+https://github.com/ItzELECTR0/RustyPaint.git')
21
b2sums=('SKIP')
22
23
pkgver() {
24
cd rustypaint
25
git describe --long --tags --abbrev=7 | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
26
}
27
28
prepare() {
29
cd rustypaint
30
cargo fetch --locked --target "$(rustc -vV | sed -n 's/host: //p')"
31
}
32
33
build() {
34
cd rustypaint
35
export CARGO_TARGET_DIR=target
36
37
if [[ -n "${_native:-}" ]]; then
38
export RUSTFLAGS="${RUSTFLAGS:-} -C target-cpu=native"
39
fi
40
41
cargo build --profile dist --frozen -p rustypaint
42
}
43
44
package() {
45
cd rustypaint
46
install -Dm755 target/dist/rustypaint "$pkgdir/usr/bin/rustypaint"
47
install -Dm644 packaging/net.electris.RustyPaint.desktop \
48
"$pkgdir/usr/share/applications/net.electris.RustyPaint.desktop"
49
install -Dm644 packaging/flatpak/net.electris.RustyPaint.metainfo.xml \
50
"$pkgdir/usr/share/metainfo/net.electris.RustyPaint.metainfo.xml"
51
install -Dm644 README.md "$pkgdir/usr/share/doc/rustypaint/README.md"
52
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/rustypaint/LICENSE"
53
54
for size in 16 24 32 48 64 128 256 512; do
55
install -Dm644 "res/icons/icon-$size.png" \
56
"$pkgdir/usr/share/icons/hicolor/${size}x${size}/apps/rustypaint.png"
57
done
58
}
59
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-08-25 15:26:42 | Low | 1 |
| 2026-08-25 00:14:31 | Clean | 2 |
| 2026-08-24 23:24:42 | Low | 1 |