humanify

LOW
maintainer Auerhuhn 0 votes scanned 2026-10-07 16:05:57.670383
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: Claudia Pellegrino <auerhuhn@archlinux.org>
2
3pkgname=humanify
4pkgver=3.1.1
5pkgrel=1
6pkgdesc='Deobfuscate Javascript code using ChatGPT'
7arch=('x86_64')
8url='https://github.com/jehna/humanify'
9license=('MIT')
10depends=('glibc' 'libgcc')
11makedepends=('cargo')
12conflicts=('humanifyjs')
13replaces=('humanifyjs')
14
15source=("${pkgname}-${pkgver}.tar.gz::https://github.com/jehna/humanify/archive/v${pkgver}.tar.gz")
16sha512sums=('999df1b5e8a092859be3590549911706de5ced7fa5fb423c35266ffe02444565db8f4efc7ab04816365c6d72193de21012faf2dbe44119eb3a49d9bc7bbf2da9')
17
18prepare() {
19 cd "${pkgname}-${pkgver}"
20
21 export RUSTUP_TOOLCHAIN=stable
22 cargo fetch --locked --target host-tuple
23}
24
25build() {
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
41check() {
42 cd "${pkgname}-${pkgver}"
43
44 export RUSTUP_TOOLCHAIN=stable
45 cargo test --frozen --all-features
46}
47
48package() {
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)SeverityRules
2026-10-07 16:05:57 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