humanify
LOW
maintainer Auerhuhn
0 votes
scanned 2026-10-07 16:05:57.670383
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: Claudia Pellegrino <auerhuhn@archlinux.org>
2
3
pkgname=humanify
4
pkgver=3.1.1
5
pkgrel=1
6
pkgdesc='Deobfuscate Javascript code using ChatGPT'
7
arch=('x86_64')
8
url='https://github.com/jehna/humanify'
9
license=('MIT')
10
depends=('glibc' 'libgcc')
11
makedepends=('cargo')
12
conflicts=('humanifyjs')
13
replaces=('humanifyjs')
14
15
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/jehna/humanify/archive/v${pkgver}.tar.gz")
16
sha512sums=('999df1b5e8a092859be3590549911706de5ced7fa5fb423c35266ffe02444565db8f4efc7ab04816365c6d72193de21012faf2dbe44119eb3a49d9bc7bbf2da9')
17
18
prepare() {
19
cd "${pkgname}-${pkgver}"
20
21
export RUSTUP_TOOLCHAIN=stable
22
cargo fetch --locked --target host-tuple
23
}
24
25
build() {
26
cd "${pkgname}-${pkgver}"
27
28
export RUSTUP_TOOLCHAIN=stable
29
export CARGO_TARGET_DIR=target
30
31
# Fixes `ld.lld: error: undefined symbol` and similar link-time
32
# errors related to some *-sys crates
33
# See also:
34
# - https://gitlab.archlinux.org/archlinux/rfcs/-/merge_requests/69
35
# - https://github.com/briansmith/ring/issues/1444#issuecomment-5217008291
36
CFLAGS+=' -ffat-lto-objects'
37
38
cargo build --frozen --release --all-features
39
}
40
41
check() {
42
cd "${pkgname}-${pkgver}"
43
44
export RUSTUP_TOOLCHAIN=stable
45
cargo test --frozen --all-features
46
}
47
48
package() {
49
cd "${pkgname}-${pkgver}"
50
51
echo >&2 'Packaging the executable'
52
install -D -m 755 -t "${pkgdir}/usr/bin/" \
53
"target/release/${pkgname}"
54
55
echo >&2 'Packaging the documentation'
56
install -D -m 644 -t "${pkgdir}/usr/share/doc/${pkgname}" \
57
README.md
58
59
echo >&2 'Packaging the license'
60
install -D -m 644 -t "${pkgdir}/usr/share/licenses/${pkgname}" \
61
LICENSE
62
}
63
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-10-07 16:05:57 | Low | 1 |