ant-renamer-qt-git

LOW
maintainer kekmacska 0 votes scanned 2026-10-18 17:22:42.773931
View on AUR
Why flagged

The package builds from a public Git repository with a SKIP'd checksum, but it is a legitimate source for a Qt port of a known file renamer; no remote code execution or malicious payloads are present, and the build process, while optimized aggressively, is typical for AUR packages.

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.

Low AI review llm_review

An AI model (qwen/qwen3-235b-a22b-2507) reviewed this and agrees it is LOW (confidence 95%): The package builds from a public Git repository with a SKIP'd checksum, but it is a legitimate source for a Qt port of a known file renamer; no remote code execution or malicious payloads are present, and the build process, while optimized aggressively, is typical for AUR packages.

PKGBUILD

1# Maintainer: kekmacska
2
3pkgname=ant-renamer-qt-git
4pkgver=3.0.0.rc.15.r3.gb5afaec
5pkgrel=1
6pkgdesc='C++/Qt 6 port of Ant Renamer 2.13: batch file renaming (replace, enumerate, case, regex, EXIF, MP3 tags)'
7arch=('any')
8license=('GPL-2.0')
9url='https://github.com/morfredus/ant-renamer-qt'
10source=("git+$url.git" "shared.patch")
11makedepends=(cmake make pkgconf git vulkan-headers)
12depends=(qt6-base libglvnd)
13provides=("${pkgname%-*}")
14sha256sums=('SKIP' '5e966bb76eb469f163c54ce8e38a9cc3d9df11d5d7b75012a7dc4867a46d8035')
15
16pkgver() {
17 cd "$srcdir/${pkgname%-*}"
18
19 git describe --long --tags | sed -r 's/([^-]*-g)/r\1/;s/-/./g;s/v//g'
20}
21
22prepare() {
23 cd ${pkgname%-*}
24
25 oxipng -o max -r -p -s -v -t "$(nproc)" -z --zi 100 --ziwi 10 --brute-level 5 --brute-lines 16 .
26
27 patch -Np1 -i "$srcdir/shared.patch"
28}
29
30build() {
31 cd ${pkgname%-*}
32
33 BASE_CFLAGS="-O3 -march=native -mtune=native \
34 -falign-functions=32 -falign-loops=32 \
35 -fno-math-errno -fno-trapping-math \
36 -fno-semantic-interposition \
37 -fomit-frame-pointer -fno-plt \
38 -pipe -flto -Wall -Wno-unused \
39 -fstrict-aliasing -fno-rtti \
40 -fmerge-all-constants -ffunction-sections \
41 -fdata-sections"
42
43 BASE_CXXFLAGS="$BASE_CFLAGS"
44 BASE_LDFLAGS="-Wl,--icf=safe -Wl,--gc-sections -Wl,-O3 -flto -fno-plt"
45
46 # Clang-only flags
47 CLANG_EXTRA_CFLAGS="-fstrict-vtable-pointers -fno-asynchronous-unwind-tables"
48 CLANG_EXTRA_CXXFLAGS="$CLANG_EXTRA_CFLAGS"
49 CLANG_EXTRA_LDFLAGS="-fuse-ld=lld"
50
51 # Detect compiler
52 if command -v clang >/dev/null 2>&1; then
53 export CC=clang
54 export CXX=clang++
55 export CFLAGS="$BASE_CFLAGS $CLANG_EXTRA_CFLAGS"
56 export CXXFLAGS="$BASE_CXXFLAGS $CLANG_EXTRA_CXXFLAGS"
57 export LDFLAGS="$BASE_LDFLAGS $CLANG_EXTRA_LDFLAGS"
58 else
59 export CC=gcc
60 export CXX=g++
61 export CFLAGS="$BASE_CFLAGS"
62 export CXXFLAGS="$BASE_CXXFLAGS"
63 export LDFLAGS="$BASE_LDFLAGS"
64 fi
65
66 cmake -B build -DCMAKE_BUILD_TYPE=Release \
67 -DCMAKE_INSTALL_PREFIX=/usr \
68 -DCMAKE_INSTALL_MANDIR=share/man \
69 -DCMAKE_INSTALL_DATAROOTDIR=share \
70 -DCMAKE_INSTALL_LIBDIR=lib \
71 -DCMAKE_INSTALL_BINDIR=bin \
72 -DBUILD_SHARED_LIBS=ON
73
74 cmake --build build --parallel "$(nproc)"
75}
76
77check() {
78 cd ${pkgname%-*}
79 ./build/test_core || true # this might not always succeed
80 ./build/app/test_panel
81}
82
83package() {
84 cd "$srcdir/${pkgname%-*}"
85
86 # 1. Install the executable
87 install -Dm755 build/app/antrenamer-qt "${pkgdir}/usr/bin/antrenamer-qt"
88
89 # 2. Install the shared library
90 install -Dm755 build/librencore.so "${pkgdir}/usr/lib/librencore.so"
91
92 # 3. Install the desktop file
93 install -Dm644 scripts/linux/antrenamer-qt.desktop "${pkgdir}/usr/share/applications/antrenamer-qt.desktop"
94
95 # 4. Install the 48x48 icon
96 install -Dm644 app/antrenamer-qt.png "${pkgdir}/usr/share/icons/hicolor/48x48/apps/antrenamer-qt.png"
97
98 # license
99 install -Dm644 LICENSE "$pkgdir/usr/share/licenses/${pkgname%-*}/LICENSE"
100}
101

Scan history

Scanned at (UTC)SeverityRules
2026-10-18 17:22:42 Low 2

Report a package

Reports go to the AURWatch maintainer (one person) and are read by hand. No login required.

0 / 4000
Your suggestion