hakchi-git

MEDIUM
maintainer ilovemikael 0 votes scanned 2026-08-30 19:44:01.063593
View on AUR
Why flagged

This package was orphaned and re-adopted within the last 30 days — a window where ownership transfers can introduce malicious changes.

Triggered rules

Medium Recently orphaned & re-adopted orphaned_readopted

This package was orphaned and re-adopted within the last 30 days — a window where ownership transfers can introduce malicious changes.

PKGBUILD

1pkgname=hakchi-git
2_pkgname=hakchi
3pkgver=r130.fd525ac
4pkgrel=2
5pkgdesc="Tool that allows you to add more games to your NES/SNES Classic Mini v1"
6arch=("x86_64")
7url="https://github.com/madmonkey1907/hakchi"
8license=("GPL3")
9depends=("libusb" "qt5-base" "upx" "cpio" "lzop" "wget")
10makedepends=("git" "arm-linux-gnueabihf-gcc" "imagemagick")
11provides=("hakchi")
12conflicts=("hakchi")
13source=("$_pkgname::git+https://github.com/madmonkey1907/hakchi.git"
14 "git+https://github.com/osm0sis/mkbootimg.git"
15 "git+https://github.com/linux-sunxi/sunxi-tools.git"
16 "git+https://github.com/auriamg/macdylibbundler.git"
17 "git+https://github.com/osm0sis/mkbootfs.git"
18 "git+https://github.com/DanTheMan827/decodepng.git"
19 "git+https://github.com/madmonkey1907/sun-nontendocm-kernel.git"
20 "git+https://git.kernel.org/pub/scm/fs/ext2/e2fsprogs.git"
21 "hakchi.desktop")
22sha512sums=("SKIP" "SKIP" "SKIP" "SKIP" "SKIP" "SKIP" "SKIP" "SKIP" "f9c817be40200613d587503c1001ec35b1ba40655476cac9e4de10d44ba326f088f3e87f9cb7603c4c5d4ef676cc6cb22ca51575ecb07c3355f0c362777229e4")
23
24pkgver() {
25 cd "$_pkgname"
26 printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
27}
28
29prepare() {
30 cd "$_pkgname"
31 git submodule init
32 git config submodule.3rdparty/mkbootimg.url $srcdir/mkbootimg
33 git config submodule.3rdparty/sunxi-tools.url $srcdir/sunxi-tools
34 git config submodule.3rdparty/macdylibbundler.url $srcdir/macdylibbundler
35 git config submodule.3rdparty/mkbootfs.url $srcdir/mkbootfs
36 git config submodule.3rdparty/decodepng.url $srcdir/decodepng
37 git config submodule.3rdparty/sun-nontendocm-kernel.url $srcdir/sun-nontendocm-kernel
38 git config submodule.3rdparty/e2fsprogs.url $srcdir/e2fsprogs
39 git submodule update
40}
41
42build() {
43 cd "$_pkgname"
44 make CROSS_COMPILE=arm-linux-gnueabihf-
45}
46
47package() {
48 cd "$_pkgname"
49 install -D -m 0755 build/hakchi-gui ${pkgdir}/usr/bin/hakchi-gui
50 install -d "$pkgdir"/usr/share/pixmaps
51 convert mod/hakchi/rootfs/etc/hakchi.png -gravity center -crop 640x640+5+5 "$pkgdir"/usr/share/pixmaps/hakchi.png
52 install -D -m 0644 $srcdir/hakchi.desktop $pkgdir/usr/share/applications/hakchi.desktop
53}
54
55

Scan history

Scanned at (UTC)SeverityRules
2026-08-30 19:44:01 Medium 1
2026-06-18 16:11:54 Clean 0

Report a package

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

0 / 4000
Your suggestion