isai-studio-pro-git
LOW
maintainer kekmacska
0 votes
scanned 2026-10-20 19:28:13.414480
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: kekmacska
2
3
execname=isai
4
5
pkgname=isai-studio-pro-git
6
pkgver=0.0.1.r28.eeb7666
7
pkgrel=1
8
pkgdesc="An unofficial, native, cross-platform Proton Mail desktop client written in Rust"
9
arch=('any')
10
url="https://github.com/DhineshKrishnan1206/isai-studio-pro"
11
license=('GPL-3.0')
12
depends=(qt6-base qt6-declarative libxcb alsa-lib)
13
makedepends=('git' 'rust' 'cargo' 'clang' 'lld' 'imagemagick' 'oxipng')
14
source=("git+$url.git" "$execname.desktop")
15
b2sums=('SKIP'
16
'9eb0f5158c9aae2b8480c3eab0e9ec7fe7d6cb6406f1bc269c14da2e05193fc70e7bf6d567fdcccd207132f986b5ea419b211b2dde5944c9b25d85f8b306a305')
17
18
pkgver() {
19
cd "${pkgname%-*}"
20
21
# 1. Extract base version from Cargo.toml
22
local _base_ver
23
_base_ver=$(grep '^version =' Cargo.toml | head -1 | cut -d'"' -f2)
24
25
# 2. Get git info
26
local _commits
27
_commits=$(git rev-list --count HEAD)
28
29
local _hash
30
_hash=$(git rev-parse --short HEAD)
31
32
# 3. Combine them: base_version.rcommit_count.githash
33
printf "${_base_ver}.r${_commits}.${_hash}"
34
}
35
36
prepare() {
37
cd "${pkgname%-*}"
38
39
magick crates/app/assets/brand/source/isai-studio-pro.png \
40
-resize 256x256 \
41
-gravity center \
42
-background none \
43
-extent 256x256 \
44
crates/app/assets/brand/source/isai-studio-pro-256.png
45
46
oxipng -o max -r -p -s -v -t "$(nproc)" -z --zi 100 --ziwi 10 --brute-level 5 --brute-lines 16 crates/app/assets/brand/source/isai-studio-pro-256.png
47
}
48
49
build() {
50
cd "${pkgname%-*}"
51
52
# explicitly set clang as the default compiler for c/c++ backends to prevent the infamous linker error
53
export CC=clang
54
export CXX=clang++
55
export RUSTFLAGS="\
56
-C opt-level=3 \
57
-C target-cpu=native \
58
-C embed-bitcode=yes \
59
-C codegen-units=1 \
60
-C strip=symbols \
61
-C relocation-model=pic \
62
-C link-arg=-fuse-ld=lld \
63
-C link-arg=-Wl,--icf=safe \
64
-C link-arg=-Wl,--gc-sections \
65
-C link-arg=-Wl,--as-needed \
66
-C link-arg=-Wl,-O3 \
67
-C link-arg=-fno-plt \
68
"
69
70
cargo build --release || printf "\x1b[38;2;213;0;50mYou might need to update your system's LLVM and Rust version to match:\nsudo pacman -Syu cargo rustup llvm clang && rustup update\x1b[0m\n"
71
}
72
73
check() {
74
cd "${pkgname%-*}"
75
cargo test
76
}
77
78
package() {
79
cd "${pkgname%-*}"
80
81
# Install executable
82
install -Dm755 "target/release/$execname" "$pkgdir/usr/bin/$execname"
83
84
# Install desktop file
85
install -Dm644 "$srcdir/$execname.desktop" "$pkgdir/usr/share/applications/$execname.desktop"
86
87
# Install icon
88
install -Dm644 "$srcdir/${pkgname%-*}/crates/app/assets/brand/source/${pkgname%-*}-256.png" "$pkgdir/usr/share/icons/hicolor/256x256/apps/$execname.png"
89
90
# Install license
91
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$execname/LICENSE"
92
}
93
Changes since previous scan
--- PKGBUILD @ 2026-10-17 00:21+++ PKGBUILD @ 2026-10-20 19:28@@ -3,14 +3,14 @@ execname=isai pkgname=isai-studio-pro-git-pkgver=0.0.1.r13.1ecaeb9+pkgver=0.0.1.r28.eeb7666 pkgrel=1 pkgdesc="An unofficial, native, cross-platform Proton Mail desktop client written in Rust" arch=('any') url="https://github.com/DhineshKrishnan1206/isai-studio-pro" license=('GPL-3.0') depends=(qt6-base qt6-declarative libxcb alsa-lib)-makedepends=('git' 'rust' 'cargo' 'clang' 'lld' 'imagemagick')+makedepends=('git' 'rust' 'cargo' 'clang' 'lld' 'imagemagick' 'oxipng') source=("git+$url.git" "$execname.desktop") b2sums=('SKIP' '9eb0f5158c9aae2b8480c3eab0e9ec7fe7d6cb6406f1bc269c14da2e05193fc70e7bf6d567fdcccd207132f986b5ea419b211b2dde5944c9b25d85f8b306a305')@@ -70,6 +70,11 @@ cargo build --release || printf "\x1b[38;2;213;0;50mYou might need to update your system's LLVM and Rust version to match:\nsudo pacman -Syu cargo rustup llvm clang && rustup update\x1b[0m\n" } +check() {+ cd "${pkgname%-*}"+ cargo test+}+ package() { cd "${pkgname%-*}" Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-10-20 19:28:13 | Low | 1 |
| 2026-10-17 00:21:55 | Clean | 2 |
| 2026-10-16 15:16:11 | Low | 1 |