hacpack

LOW
maintainer Velamniro 1 votes scanned 2026-08-31 07:44:47.603206
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: Velamniro <velamniro at proton dot me>
2
3pkgname=hacpack
4_pkgname="hacPack"
5pkgver=1.36_r2
6pkgrel=1
7pkgdesc="A tool for creating Nintendo Switch NCAs and packing them into NSPs"
8arch=('x86_64')
9url="https://github.com/DarkMatterCore/hacPack"
10license=('GPL-2.0-only AND ISC AND Apache-2.0')
11depends=('glibc')
12source=("$_pkgname-${pkgver//_/-}.tar.gz::$url/archive/refs/tags/v${pkgver//_/-}.tar.gz")
13b2sums=('723b3e969615bf51b304fddf06623fe266b4cd873569d3a823f4a28c0822c530b03dbf598d3ed91531dc6b8f2bd090706bc3812feac1684616007aad60160b9d')
14
15prepare() {
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
23build() {
24 cd "$_pkgname-${pkgver//_/-}"
25 make
26}
27
28package() {
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)SeverityRules
2026-08-31 07:44:47 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