wiiudownloader-bin: adapt to 3.x AppImage, bump actions/checkout

This commit is contained in:
Felitendo committed 2026-09-15 20:06:16 +02:00
1 parent 89ee59dbb2
commit 06a99936eb
5 files changed
+23 -29

No files matched your search

+5 -16
View File
@@ -1,29 +1,18 @@
pkgbase = wiiudownloader-bin
pkgdesc = Download encrypted Wii U files from Nintendo's official servers (upstream AppImage)
pkgver = 2.105
pkgver = 3.1
pkgrel = 1
url = https://github.com/Xpl0itU/WiiUDownloader
arch = x86_64
license = GPL-3.0-or-later
depends = glibc
depends = libx11
depends = libxcb
depends = wayland
depends = fontconfig
depends = freetype2
depends = harfbuzz
depends = fribidi
depends = zlib
depends = bzip2
depends = expat
depends = libgpg-error
depends = hicolor-icon-theme
depends = sh
provides = wiiudownloader
conflicts = wiiudownloader
noextract = wiiudownloader-bin-2.105.AppImage
noextract = wiiudownloader-bin-3.1.AppImage
options = !strip
options = !debug
source = wiiudownloader-bin-2.105.AppImage::https://github.com/Xpl0itU/WiiUDownloader/releases/download/v2.105/WiiUDownloader-Linux-x86_64.AppImage
sha256sums = 5e9b6fee20657fd1e3d7034a9f119ee77934b9b6613caf6a3cc8b012dfbc58a2
source = wiiudownloader-bin-3.1.AppImage::https://github.com/Xpl0itU/WiiUDownloader/releases/download/v3.1/WiiUDownloader-Linux-x86_64.AppImage
sha256sums = 49bfdb7371b650680aeb7cd799942e2802b54cf70d10acfe2cc50074af35ebf0
pkgname = wiiudownloader-bin
+9 -8
View File
@@ -3,22 +3,21 @@
# https://github.com/Felitendo/PKGBUILDS
pkgname=wiiudownloader-bin
pkgver=2.105
pkgver=3.1
pkgrel=1
pkgdesc="Download encrypted Wii U files from Nintendo's official servers (upstream AppImage)"
arch=('x86_64')
url="https://github.com/Xpl0itU/WiiUDownloader"
license=('GPL-3.0-or-later')
# the AppImage bundles GTK3 and its stack; these are what is left over
depends=('glibc' 'libx11' 'libxcb' 'wayland' 'fontconfig' 'freetype2'
'harfbuzz' 'fribidi' 'zlib' 'bzip2' 'expat' 'libgpg-error'
'hicolor-icon-theme')
# the AppImage is built with sharun and carries GTK4, libadwaita, Mesa and its
# own glibc and dynamic loader; only the shell that runs its AppRun.sh is left
depends=('hicolor-icon-theme' 'sh')
provides=('wiiudownloader')
conflicts=('wiiudownloader')
options=('!strip' '!debug')
source=("${pkgname}-${pkgver}.AppImage::${url}/releases/download/v${pkgver}/WiiUDownloader-Linux-x86_64.AppImage")
noextract=("${pkgname}-${pkgver}.AppImage")
sha256sums=('5e9b6fee20657fd1e3d7034a9f119ee77934b9b6613caf6a3cc8b012dfbc58a2')
sha256sums=('49bfdb7371b650680aeb7cd799942e2802b54cf70d10acfe2cc50074af35ebf0')
prepare() {
chmod +x "$srcdir/${pkgname}-${pkgver}.AppImage"
@@ -26,7 +25,8 @@ prepare() {
}
package() {
# upstream's AppImage payload, installed unchanged
# upstream's AppImage payload, installed unchanged; its self-updater hook
# only acts when started from an AppImage ($APPIMAGE), so it stays inert
install -d "$pkgdir/opt/$pkgname"
cp -a "$srcdir/squashfs-root/." "$pkgdir/opt/$pkgname/"
rm -f "$pkgdir/opt/$pkgname/.DirIcon"
@@ -40,10 +40,11 @@ exec /opt/$pkgname/AppRun "\$@"
EOF
chmod 755 "$pkgdir/usr/bin/wiiudownloader"
install -Dm644 "$srcdir/squashfs-root/usr/share/icons/hicolor/512x512/apps/WiiUDownloader.png" \
install -Dm644 "$srcdir/squashfs-root/WiiUDownloader.png" \
"$pkgdir/usr/share/icons/hicolor/512x512/apps/wiiudownloader.png"
install -Dm644 "$srcdir/squashfs-root/WiiUDownloader.desktop" \
"$pkgdir/usr/share/applications/wiiudownloader.desktop"
sed -i -e 's|^Exec=.*|Exec=wiiudownloader|' -e 's|^Icon=.*|Icon=wiiudownloader|' \
-e '/^X-AppImage-/d' \
"$pkgdir/usr/share/applications/wiiudownloader.desktop"
}
+6 -2
View File
@@ -1,10 +1,14 @@
# wiiudownloader-bin - WiiUDownloader
# (https://github.com/Xpl0itU/WiiUDownloader), a Go + GTK3 downloader for
# Wii U titles from Nintendo's official servers.
# (https://github.com/Xpl0itU/WiiUDownloader), a Go + GTK4/libadwaita
# downloader for Wii U titles from Nintendo's official servers.
#
# Upstream publishes an AppImage per release, which the PKGBUILD unpacks and
# installs into /opt - so there is no build step here, only pkgver and the
# checksum are refreshed on a new version.
#
# Since v3.0 the AppImage is built with sharun (pkgforge-dev/Anylinux-AppImages)
# and bundles everything down to glibc, which is why the PKGBUILD depends on
# little more than a shell. Icon and desktop entry sit at the top of the image.
UPSTREAM_REPO="Xpl0itU/WiiUDownloader"