hacpack
LOW
maintainer Velamniro
1 votes
scanned 2026-08-31 07:44:47.603206
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: Velamniro <velamniro at proton dot me>
2
3
pkgname=hacpack
4
_pkgname="hacPack"
5
pkgver=1.36_r2
6
pkgrel=1
7
pkgdesc="A tool for creating Nintendo Switch NCAs and packing them into NSPs"
8
arch=('x86_64')
9
url="https://github.com/DarkMatterCore/hacPack"
10
license=('GPL-2.0-only AND ISC AND Apache-2.0')
11
depends=('glibc')
12
source=("$_pkgname-${pkgver//_/-}.tar.gz::$url/archive/refs/tags/v${pkgver//_/-}.tar.gz")
13
b2sums=('723b3e969615bf51b304fddf06623fe266b4cd873569d3a823f4a28c0822c530b03dbf598d3ed91531dc6b8f2bd090706bc3812feac1684616007aad60160b9d')
14
15
prepare() {
16
cd "$_pkgname-${pkgver//_/-}"
17
cp "config.mk.template" "config.mk"
18
19
sed -i 's/^CFLAGS =/CFLAGS +=/' "config.mk"
20
sed -i 's/^LDFLAGS =/LDFLAGS +=/' "config.mk"
21
}
22
23
build() {
24
cd "$_pkgname-${pkgver//_/-}"
25
make
26
}
27
28
package() {
29
cd "$_pkgname-${pkgver//_/-}"
30
31
install -Dm0755 hacpack -t "$pkgdir/usr/bin/"
32
33
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/hacpack.LICENSE" # GPL
34
install -Dm644 LICENSES/* -t "$pkgdir/usr/share/licenses/$pkgname/" # ISC
35
install -Dm644 mbedtls/apache-2.0.txt "$pkgdir/usr/share/licenses/$pkgname/mbedtls.LICENSE" # Apache
36
37
install -Dm644 "docs/$_pkgname/README.md" -t "$pkgdir/usr/share/doc/$pkgname/"
38
}
39
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-08-31 07:44:47 | Low | 1 |