Package Details: pkhex-bin 26.05.05-2

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.95
First Submitted: 2019-11-18 16:21 (UTC)
Last Updated: 2026-05-13 01:59 (UTC)

Pinned Comments

R0dn3yS commented on 2026-01-11 01:48 (UTC)

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.

R0dn3yS commented on 2023-10-08 11:28 (UTC)

PSA: after updating the pkhex package, run pkhex update in the terminal to update the executable. This is needed as I can't write in home directories during install.

Latest Comments

1 2 Next › Last »

R0dn3yS commented on 2026-05-23 15:15 (UTC)

SSL certificate was expired, it's fixed now.

marc00077 commented on 2026-05-23 15:13 (UTC)

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.

nirnakinho commented on 2026-05-19 15:22 (UTC)

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.

HurricanePootis commented on 2026-05-17 21:01 (UTC)

@R0dn3ys

I have the following suggestions for your PKGUBILD:

  1. Do not remove the pkgver from the archive name. Any downloaded archive should be numbered with the pkgver.
  2. Edit the launcher script so that sed can be used to replace @VERSION@ with the version of the package we're building
  3. Make the license() SPDX compliant, as is requried by all PKGBUILDs
  4. Add bash to depends()
  5. Add 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.
  6. Despite not having any ELF files in this package, the PKHeX.exe is a 64bit PE32+ executable. Thus, this requires an x86_64 system to run.
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'
     ;;
   *)

R0dn3yS commented on 2026-01-11 01:48 (UTC)

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.

tepig commented on 2025-05-06 21:36 (UTC)

Thanks! A minor bug with the symlink/shortcut, the a in application is lowercase and fails to open.

R0dn3yS commented on 2025-05-06 20:50 (UTC)

Download link should be fixed now, moved the server over to a new domain but forgot to update the download link

tepig commented on 2025-05-06 20:33 (UTC)

The PKHeX.exe download link's website is down.

horix commented on 2024-01-26 16:43 (UTC) (edited on 2024-01-26 16:44 (UTC) by horix)

Tracked by wine upstream https://bugs.winehq.org/show_bug.cgi?id=56042, which includes a patch to fix the issue. I build wine with the patch and it works perfectly. We need to wait until it gets merged into master.

Melechtna commented on 2024-01-23 01:10 (UTC) (edited on 2024-01-23 01:11 (UTC) by Melechtna)

Even after installing dotnet8 with Wine 9 (which is now available) the latest version still breaks whenever you try to view a pokemon. Then the GUI breaks entirely after the first load attempt.