gitpulsar

LOW
maintainer gaougalos 0 votes scanned 2026-10-27 15:48:05.092314
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: gaou-piou <i.am.piou@gmail.com>
2
3pkgname=gitpulsar
4pkgver=1.4.0
5pkgrel=1
6pkgdesc='Fast, native Git client for GNOME (GTK4 + libadwaita)'
7arch=('x86_64' 'aarch64')
8url='https://gitlab.com/ilshat-apps/gitpulsar'
9license=('GPL-3.0-or-later')
10depends=(
11 'cairo'
12 'git'
13 'glib2'
14 'glibc'
15 'gtk4'
16 'hicolor-icon-theme'
17 'libadwaita'
18 'libgcc'
19 'libgit2'
20 'libssh2'
21 'oniguruma'
22 'openssl'
23 'pango'
24)
25makedepends=('cargo')
26conflicts=('gitpulsar-appimage')
27source=("$pkgname-$pkgver.tar.gz::$url/-/archive/v$pkgver/$pkgname-v$pkgver.tar.gz"
28 'system-libgit2.patch')
29sha256sums=('aad433bd05265ec3d6e3db633858428014d47df8a3f1d5927b0133efe31979cb'
30 '32c40a1471a9bed6dee02425f005281acdac8e73b0bd17524c62a50e7c270685')
31
32_appid=io.gitlab.ilshat_apps.gitpulsar
33
34prepare() {
35 cd "$pkgname-v$pkgver"
36 # git2 0.19 pins libgit2 1.8.x, so with Arch's 1.9 libgit2-sys would build
37 # its bundled copy (whose LTO objects rust-lld cannot link). git2 0.20 is a
38 # drop-in here and uses the system libgit2.
39 patch -Np1 -i ../system-libgit2.patch
40 export RUSTUP_TOOLCHAIN=stable
41 cargo fetch --locked --target "$(rustc -vV | sed -n 's/host: //p')"
42}
43
44build() {
45 cd "$pkgname-v$pkgver"
46 export RUSTUP_TOOLCHAIN=stable
47 export CARGO_TARGET_DIR=target
48 export LIBGIT2_NO_VENDOR=1
49 export RUSTONIG_SYSTEM_LIBONIG=1
50 export LIBSSH2_SYS_USE_PKG_CONFIG=1
51 cargo build --frozen --release
52}
53
54check() {
55 cd "$pkgname-v$pkgver"
56 export RUSTUP_TOOLCHAIN=stable
57 export CARGO_TARGET_DIR=target
58 export LIBGIT2_NO_VENDOR=1
59 export RUSTONIG_SYSTEM_LIBONIG=1
60 export LIBSSH2_SYS_USE_PKG_CONFIG=1
61 # The GTK crate's tests need a display; the core holds the git logic.
62 cargo test --frozen --release -p gitpulsar-core
63}
64
65package() {
66 cd "$pkgname-v$pkgver"
67 install -Dm755 target/release/gitpulsar-gtk -t "$pkgdir/usr/bin"
68 ln -s gitpulsar-gtk "$pkgdir/usr/bin/gitpulsar"
69
70 install -Dm644 "data/$_appid.desktop" -t "$pkgdir/usr/share/applications"
71 install -Dm644 "data/$_appid.metainfo.xml" -t "$pkgdir/usr/share/metainfo"
72 install -Dm644 "data/icons/hicolor/scalable/apps/$_appid.svg" \
73 -t "$pkgdir/usr/share/icons/hicolor/scalable/apps"
74 install -Dm644 data/icons/hicolor/scalable/actions/*.svg \
75 -t "$pkgdir/usr/share/icons/hicolor/scalable/actions"
76
77 install -Dm644 README.md CHANGELOG.md -t "$pkgdir/usr/share/doc/$pkgname"
78}
79

Scan history

Scanned at (UTC)SeverityRules
2026-10-27 15:48:05 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