rustypaint

LOW
maintainer ELEC7RO 0 votes scanned 2026-08-24 23:24:42.211920
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: ELECTRO <electro@electris.net>
2
3pkgname=rustypaint
4pkgver=0.2.0
5pkgrel=1
6pkgdesc="Paint 3D's 2D editor, without the 3D"
7arch=('x86_64')
8url='https://github.com/ItzELECTR0/RustyPaint'
9license=('GPL-3.0-only')
10depends=('fontconfig' 'libxkbcommon' 'vulkan-icd-loader')
11makedepends=('cargo' 'git')
12optdepends=('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')
16options=('!debug')
17_native=1
18source=("${pkgname}::git+${url}.git#tag=v${pkgver}")
19b2sums=('SKIP')
20
21prepare() {
22 cd "$pkgname"
23 cargo fetch --locked --target "$(rustc -vV | sed -n 's/host: //p')"
24}
25
26build() {
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
37package() {
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)SeverityRules
2026-08-24 23:24:42 Low 1
2026-08-24 21:24:32 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