@Kuchiriel AND @TrialInError
Assuming there are no big changes, you delete the old souces (downloaded file from tibia.com) and run makepkg -s, it will fail because although the file from tibia.com always has the same name, it extracts to a folder with a specific name (the tibia client's current version).
Unfortunately, tibia has some compatibility problems with Arch Linux (not sure about other distros) that require small patches to configuration files, the problem is that this PKGBUILD's .patch files include the exact path of the tarball as downloaded from tibia.com and extracted with no additional flags, meaning we have to extract the tarball manually or run makepkg -s and wait as it fail every time in order to see the new name of the extracted file and edit the .patch files manually to refer to that new path so the package builds properly.
Resolving this issue is trivial, you just mv $extracted_path $static_path the tarball and use $static_Path in the patch files, it would require no maintenance whatsoever except that you would still need to pacaur/yaourt/other_helper -S tibia when the game fails to launch or if you were makepkg -s like the current maintainer likes to do: You would need to cd tibia && rm *tar && makepkg -s.
The BIG PROBLEM here is that Tibia is a game, I want to play, I play. The current PKGBUILD punishes me by saying I either need to go through several steps in order to play or I give up playing entirely until the maintainer "fixes" the package.
I've been trying to tell this to TrialInError for a few times now but I'm certain that this time my point got across, next time Tibia updates and requires manual intervention I'll push tibia-latest.
Pinned Comments
seds commented on 2025-08-30 20:37 (UTC)
I've made some changes to this packages, and hopefully this works for everyone. I've added a few optional dependencies which
namcapraised and changed how we deal with installing the package.