garlic-git

LOW
maintainer lapsus 0 votes scanned 2026-08-20 19:12:21.626580
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: Yakov Till <yakov.till@gmail.com>
2pkgname=garlic-git
3_pkgname=garlic
4pkgver=r167.adb4b1f
5pkgrel=1
6pkgdesc="The world's fastest APK (android)/Java open source decompiler/ELF analyzer, written in C"
7arch=('x86_64')
8url="https://github.com/neocanable/garlic"
9license=('Apache-2.0')
10makedepends=('cmake' 'git')
11depends=('glibc')
12source=("${pkgname}::git+https://github.com/neocanable/garlic.git")
13sha256sums=('SKIP')
14
15pkgver() {
16 cd "$srcdir/${pkgname}"
17 printf 'r%s.%s' "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
18}
19
20build() {
21 # upstream disables -Wformat while Arch's makepkg.conf sets
22 # -Wformat-security -Werror=format-security; gcc errors on the
23 # ignored option, so neutralize the -Werror form.
24 export CFLAGS="${CFLAGS} -Wno-error=format-security"
25 cmake -B build -S "$srcdir/${pkgname}" -DCMAKE_INSTALL_PREFIX=/usr
26 cmake --build build
27}
28
29package() {
30 install -Dm755 build/${_pkgname} "$pkgdir/usr/bin/${_pkgname}-decompiler"
31}
32

Scan history

Scanned at (UTC)SeverityRules
2026-08-20 19:12:21 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