pawmmit-git
LOW
maintainer kekmacska
0 votes
scanned 2026-09-28 21:21:47.779666
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
pkgname=pawmmit-git
4
pkgver=0.1.2.r90.g583a748b
5
pkgrel=1
6
pkgdesc='Pawmmit is a fast, native Git client focused on performance, usability and safe history handling'
7
arch=('any')
8
license=('GPL-3.0')
9
url='https://github.com/Pawmmit/Pawmmit'
10
source=('git+https://github.com/Pawmmit/Pawmmit.git')
11
makedepends=(meson ninja cmake svgo pkgconf git)
12
depends=(qt6-base qt6-5compat libgit2 libssh2 luajit hunspell cmark qscintilla-qt6) # the project seems to vendor zip and lua-lpeg
13
provides=(pawmmit)
14
sha256sums=('SKIP')
15
16
pkgver() {
17
cd Pawmmit
18
git describe --long --tags | sed -r 's/([^-]*-g)/r\1/;s/-/./g;s/v//g'
19
}
20
21
prepare() {
22
cd "$srcdir/Pawmmit"
23
24
svgo . -r --multipass
25
oxipng -o max -r -p -s -v -t "$(nproc)" -z --zi 100 --ziwi 10 --brute-level 5 --brute-lines 16 .
26
}
27
28
build() {
29
cd Pawmmit
30
31
BASE_CFLAGS="-O3 -march=native -mtune=native \
32
-falign-functions=32 -falign-loops=32 \
33
-fno-math-errno -fno-trapping-math \
34
-fno-semantic-interposition \
35
-fomit-frame-pointer -fno-plt \
36
-pipe -flto -Wall -Wno-unused \
37
-fstrict-aliasing \
38
-fmerge-all-constants -ffunction-sections \
39
-fdata-sections -fvisibility=hidden"
40
41
BASE_CXXFLAGS="$BASE_CFLAGS"
42
BASE_LDFLAGS="-Wl,--icf=safe -Wl,--gc-sections -Wl,-O3 -flto -fno-plt"
43
44
# Clang-only flags
45
CLANG_EXTRA_CFLAGS="-fstrict-vtable-pointers -fno-asynchronous-unwind-tables"
46
CLANG_EXTRA_CXXFLAGS="$CLANG_EXTRA_CFLAGS"
47
CLANG_EXTRA_LDFLAGS="-fuse-ld=lld"
48
49
# Detect compiler
50
if command -v clang >/dev/null 2>&1; then
51
export CC=clang
52
export CXX=clang++
53
export CFLAGS="$BASE_CFLAGS $CLANG_EXTRA_CFLAGS"
54
export CXXFLAGS="$BASE_CXXFLAGS $CLANG_EXTRA_CXXFLAGS"
55
export LDFLAGS="$BASE_LDFLAGS $CLANG_EXTRA_LDFLAGS"
56
else
57
export CC=gcc
58
export CXX=g++
59
export CFLAGS="$BASE_CFLAGS"
60
export CXXFLAGS="$BASE_CXXFLAGS"
61
export LDFLAGS="$BASE_LDFLAGS"
62
fi
63
64
meson setup \
65
--prefix /usr \
66
--libexecdir lib \
67
--sbindir bin \
68
--buildtype plain \
69
--auto-features enabled \
70
-D b_pie=true \
71
-D python.bytecompile=1 \
72
build
73
74
ninja -C build
75
}
76
77
package(){
78
cd "$srcdir/Pawmmit"
79
meson install -C build --destdir "$pkgdir"
80
81
install -Dm644 LICENSE.md "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
82
}
83
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-09-28 21:21:47 | Low | 1 |