Updated: Used recommended fixes from d6EJVpOE.
@d6EJVpOE - Added your changes, i wasnt aware of the change. If your interested in co-maintainer roll. Please let me know
@MarsSeed - While id love to, there is a problem. Archpackaging (https://archlinux.org/packages/community/any/openra/) uses the same format. i was trying to make it futureproof.
Upstream use's the date as a version as well, which is also a concern. Building mods/addons requires the specific version of the game thats installed to be compatible. so i cant just change versioning without also petitioning upstream & archpackaging to do it as well.
Im open to idea's, but i dont see any way to change this.
Upon further review it should already be monotonic; The format +Y+m+d(Year[4]Month[2]Day[2]) should already be a continuous monotonic increase, as these the datestamp sum in this order will only ever count up. the git commit is necessary to prevent build-issues with mods/addons, so it cannot be removed. Any issues that arise from that is a pacman issue in the first place. as $DATE.$REV-$REL should be treating the dateline like a major version, git commit like like minor and the pkgrel is stationary as it only applies to same-version revisions.
@DocMAX - I cant replicate this, its physically in /bin/OpenRA.dll - i know this is not ideal and ill fix it in the future. i am on a tight time schedule. with a estate sale atm.
ill look into it as soon as i can.
Pinned Comments
EndlessEden commented on 2021-08-21 04:03 (UTC)
Major Update: PKGBUILD mostly rewritten, earlier references to D2/R2 mods removed. Dependencies updated/fixed alongside optional dependancies including all known Openra mods.
NOTE: PKGBUILD now packages a copy of the source code at the time of building into /usr/lib/openra/src/; This is for building mods against and it is /not/ a mistake. Mods are built against a client version and /only/ work with that version. So without it, you would need to rebuild openra-git and all mods built against it every time you want to install a new mod. - However, this means a increase in install/package size by about 40%.
EndlessEden commented on 2017-08-16 00:13 (UTC) (edited on 2020-07-30 06:05 (UTC) by EndlessEden)
Updated: Fixed the removal of "make dependencies" upstream;
will be removing old entries for RA2/D2 soon, as building against upstream is not possible as RA2/D2 are lagging behind too much in updating their engine compatibility.