rustypaint-git

LOW
maintainer ELEC7RO 0 votes scanned 2026-08-25 15:26:42.169879
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-git
4pkgver=0.2.0.r0.g7ce156b
5pkgrel=1
6pkgdesc="Paint 3D's 2D editor, without the 3D (Git version)"
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')
16provides=('rustypaint')
17conflicts=('rustypaint')
18options=('!debug')
19_native=1
20source=('rustypaint::git+https://github.com/ItzELECTR0/RustyPaint.git')
21b2sums=('SKIP')
22
23pkgver() {
24 cd rustypaint
25 git describe --long --tags --abbrev=7 | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
26}
27
28prepare() {
29 cd rustypaint
30 cargo fetch --locked --target "$(rustc -vV | sed -n 's/host: //p')"
31}
32
33build() {
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
44package() {
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)SeverityRules
2026-08-25 15:26:42 Low 1
2026-08-25 00:14:31 Clean 2
2026-08-24 23:24:42 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