pawmmit-git

LOW
maintainer kekmacska 0 votes scanned 2026-09-28 21:21:47.779666
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: kekmacska
2
3pkgname=pawmmit-git
4pkgver=0.1.2.r90.g583a748b
5pkgrel=1
6pkgdesc='Pawmmit is a fast, native Git client focused on performance, usability and safe history handling'
7arch=('any')
8license=('GPL-3.0')
9url='https://github.com/Pawmmit/Pawmmit'
10source=('git+https://github.com/Pawmmit/Pawmmit.git')
11makedepends=(meson ninja cmake svgo pkgconf git)
12depends=(qt6-base qt6-5compat libgit2 libssh2 luajit hunspell cmark qscintilla-qt6) # the project seems to vendor zip and lua-lpeg
13provides=(pawmmit)
14sha256sums=('SKIP')
15
16pkgver() {
17 cd Pawmmit
18 git describe --long --tags | sed -r 's/([^-]*-g)/r\1/;s/-/./g;s/v//g'
19}
20
21prepare() {
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
28build() {
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
77package(){
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)SeverityRules
2026-09-28 21:21:47 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