PSA: since the latest release (26.07.07-3) you no longer need to manually update, the launcher script fixes this automatically.
Also fixed a lot of dotnet errors so everything should work normally again.
| Git Clone URL: | https://aur.archlinux.org/pkhex-bin.git (read-only, click to copy) |
|---|---|
| Package Base: | pkhex-bin |
| Description: | Pokémon core series save editor, programmed in C#. |
| Upstream URL: | https://github.com/kwsch/PKHeX |
| Licenses: | GPL |
| Conflicts: | pkhex, pkhex-git |
| Submitter: | nirnakinho |
| Maintainer: | R0dn3yS |
| Last Packager: | R0dn3yS |
| Votes: | 12 |
| Popularity: | 0.095718 |
| First Submitted: | 2019-11-18 16:21 (UTC) |
| Last Updated: | 2026-08-31 04:23 (UTC) |
PSA: since the latest release (26.07.07-3) you no longer need to manually update, the launcher script fixes this automatically.
Also fixed a lot of dotnet errors so everything should work normally again.
@nirnakinho thanks for the reply. That all makes sense - I'm sure you can understand why I'm slightly more paranoid these days...
@phunni Try downloading the binary from github. Good luck with that, you'll need it.
The binary download this package is using is hidden behind a pseudo-captcha at projektpokemon.org. the pkhex github does not offer the compiled binary as a download. Feel free to verify this by looking up https://github.com/kwsch/PKHeX/releases
pkhex is windows-only software. the upstream developer is not interested in maintaining support for GNU/Linux. This packages downloads the compiled windows binary. Your system will use wine to run that windows binary. That is why this packages' name ends with "-bin", and that is why it requires wine to run. If you are unhappy, feel free to fork pkhex on github to create a variant that compiles for GNU/Linux.
Due to the binary download being hidden behind a pseuda-captcha, aur helpers fail to download the binary from there. When I started maintaining pkhex-bin, I hosted a copy of the binary at my personal webserver to circumvent that. When the current maintainer took over from me, he continued using this approach.
The currrent maintainer does host that binary download, as he sees fit. If you do not trust that binary, download your own copy of the binary from projectpokemon.org and use makepkg to build this package without an aur helper.
Curious as to why the download has changed from dfagaming.nl to iusearchbtw.nl? Also - why is it not from the upstream url github?
@nirnakinho
I'm not a bot
SSL certificate was expired, it's fixed now.
Build failing right now due to expired certificate from the download server. Github releases don't have binary version...
-> Downloading PKHeX.tar.gz... curl: (60) SSL certificate OpenSSL verify result: certificate has expired (10) More details here: https://curl.se/docs/sslcerts.html
curl failed to verify the legitimacy of the server and therefore could not establish a secure connection to it. To learn more about this situation and how to fix it, please visit the webpage mentioned above.
bad bot
No PKGBUILD does ever need to add bash as a dependency. bash is a dependency of the base package and therefore must be installed on any arch system.
@R0dn3ys
I have the following suggestions for your PKGUBILD:
launcher script so that sed can be used to replace @VERSION@ with the version of the package we're buildinglicense() SPDX compliant, as is requried by all PKGBUILDsbash to depends()provides=(pkhex). It is not enough just to have two packages conflict with each other, they also need to provide one another, especially if its a normal, bin, and git triad of packages. diff --git a/PKGBUILD b/PKGBUILD
index 42d4c93..4033bd9 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,23 +5,29 @@ pkgname=pkhex-bin
pkgver=26.05.05
pkgrel=2
pkgdesc="Pokémon core series save editor, programmed in C#."
-arch=(any)
+arch=(x86_64)
url="https://github.com/kwsch/PKHeX"
-license=(GPL)
-depends=(wine winetricks)
-conflicts=(pkhex pkhex-git)
-source=("PKHeX.tar.gz::https://downloads.dfagaming.nl/PKHeX-${pkgver}.tar.gz"
+license=(GPL-3.0-or-later)
+depends=(wine winetricks bash)
+provides=(pkhex)
+conflicts=(pkhex)
+source=("https://downloads.dfagaming.nl/PKHeX-${pkgver}.tar.gz"
"launcher"
"icon.png"
"pkhex.desktop")
sha256sums=('1346612034787f472b89d671f6ef5c2b05618e7828ec7c26f8e1ace39953a13c'
- '71763d9e17617b8e3ad5c3bed88bc037837dd2b7e6f2837ac6f2a7db0b2e28d7'
+ '49d9163413b11d375ec0d1a968e7496578ef93f1517ef8fb02b2e1ab41a963ef'
'688456b442d51a9cdcffeb053099f23e3333e492c5b9d9266e97da7cd077b89b'
'aa7d55c6d05a79671d38f8c4133b1fbf01d5106200d97c47658e78421e62b0d4')
+prepare(){
+ cd "$srcdir"
+ sed -i "s/@VERSION@/${pkgver}/g" launcher
+}
+
package() {
install -D -m 755 "launcher" "${pkgdir}/usr/bin/pkhex"
- install -D -m 644 "PKHeX.tar.gz" "${pkgdir}/usr/share/pkhex/PKHeX.tar.gz"
+ install -D -m 644 "PKHeX-${pkgver}.tar.gz" "${pkgdir}/usr/share/pkhex/PKHeX-${pkgver}.tar.gz"
install -D -m 644 "icon.png" "${pkgdir}/usr/share/pixmaps/pkhex.png"
install -D -m 644 "pkhex.desktop" "${pkgdir}/usr/share/applications/pkhex.desktop"
diff --git a/launcher b/launcher
index 8af6926..9698743 100644
--- a/launcher
+++ b/launcher
@@ -15,7 +15,7 @@ if [ ! -d "${PKHEX_DATA_DIRECTORY}" ]; then
echo 'Installing PKHeX...'
mkdir -p "${PKHEX_DATA_DIRECTORY}"
cd "${PKHEX_DATA_DIRECTORY}" || exit
- tar -xzf /usr/share/pkhex/PKHeX.tar.gz -C "${PKHEX_DATA_DIRECTORY}"
+ tar -xzf /usr/share/pkhex/PKHeX-@VERSION@.tar.gz -C "${PKHEX_DATA_DIRECTORY}"
wine PKHeX.exe
wineserver -w
echo 'Completed installing PKHeX.'
@@ -45,7 +45,7 @@ case "$1" in
'update')
echo 'Updating'
cd "${PKHEX_DATA_DIRECTORY}" || exit
- tar -xzf /usr/share/pkhex/PKHeX.tar.gz -C "${PKHEX_DATA_DIRECTORY}"
+ tar -xzf /usr/share/pkhex/PKHeX-@VERSION@.tar.gz -C "${PKHEX_DATA_DIRECTORY}"
winetricks -q --force 'dotnetdesktop10'
;;
*)
PSA: For 26.01.07 it might be needed for now to use wine-staging and remove the wineprefix in ~/.local/share/wineprefixes/pkhex.
Also since PKHeX updated to dotnet10 and this is still not in winetricks you need to install this manually with pkhex wine <path/to/dotnetinstaller.exe>
I'll be testing for the coming few updates if both of these issues get fixed.
Pinned Comments
R0dn3yS commented on 2026-08-21 19:49 (UTC)
PSA: since the latest release (26.07.07-3) you no longer need to manually update, the launcher script fixes this automatically.
Also fixed a lot of dotnet errors so everything should work normally again.