garlic-git
LOW
maintainer lapsus
0 votes
scanned 2026-08-20 19:12:21.626580
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>
2
pkgname=garlic-git
3
_pkgname=garlic
4
pkgver=r167.adb4b1f
5
pkgrel=1
6
pkgdesc="The world's fastest APK (android)/Java open source decompiler/ELF analyzer, written in C"
7
arch=('x86_64')
8
url="https://github.com/neocanable/garlic"
9
license=('Apache-2.0')
10
makedepends=('cmake' 'git')
11
depends=('glibc')
12
source=("${pkgname}::git+https://github.com/neocanable/garlic.git")
13
sha256sums=('SKIP')
14
15
pkgver() {
16
cd "$srcdir/${pkgname}"
17
printf 'r%s.%s' "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
18
}
19
20
build() {
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
29
package() {
30
install -Dm755 build/${_pkgname} "$pkgdir/usr/bin/${_pkgname}-decompiler"
31
}
32
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-08-20 19:12:21 | Low | 1 |