essentials-unpackd-git

LOW
maintainer yorukai 0 votes scanned 2026-09-28 13:20:45.422575
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: Yorukai <33402703+yorukai@users.noreply.github.com>
2
3pkgname=essentials-unpackd-git
4_pkgname=Essentials-Unpackd
5pkgver=3.0.0.r111.g9463b51
6pkgrel=1
7pkgdesc="Tool for unpacking and repacking Pokémon Essentials data files"
8arch=('any')
9url="https://github.com/ra101/Essentials-Unpackd"
10license=('MIT')
11
12depends=('ruby' 'ruby-bundler')
13makedepends=('git')
14
15provides=('essentials-unpackd')
16conflicts=('essentials-unpackd')
17
18source=("git+https://github.com/ra101/Essentials-Unpackd.git")
19sha256sums=('SKIP')
20
21pkgver() {
22 cd "$_pkgname"
23
24 printf '%s.r%s.g%s\n' \
25 "$(ruby -Ilib -e 'require "unpackd/version"; puts Unpackd::VERSION')" \
26 "$(git rev-list --count HEAD)" \
27 "$(git rev-parse --short HEAD)"
28}
29
30prepare() {
31 cd "$_pkgname"
32
33 bundle config set --local path vendor/bundle
34 bundle config set --local without 'development'
35}
36
37build() {
38 cd "$_pkgname"
39
40 bundle install --jobs "$(nproc)"
41}
42
43package() {
44 cd "$_pkgname"
45
46 install -dm755 "$pkgdir/usr/share/$pkgname"
47 cp -a . "$pkgdir/usr/share/$pkgname/"
48
49 rm -rf "$pkgdir/usr/share/$pkgname/.git"
50 rm -f "$pkgdir/usr/share/$pkgname/.bundle/config"
51
52 install -dm755 "$pkgdir/usr/bin"
53
54 cat > "$pkgdir/usr/bin/essentials-unpackd" <<'EOF'
55#!/bin/sh
56exec ruby -rbundler/setup \
57 -I/usr/share/essentials-unpackd-git/lib \
58 /usr/share/essentials-unpackd-git/bin/unpackd "$@"
59EOF
60
61 chmod 755 "$pkgdir/usr/bin/essentials-unpackd"
62
63 if [[ -f LICENSE ]]; then
64 install -Dm644 LICENSE \
65 "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
66 fi
67}
68

Scan history

Scanned at (UTC)SeverityRules
2026-09-28 13:20:45 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