FS#56271 - [expat] Moving to GitHub + build efficiency

Attached to Project: Arch Linux
Opened by Kevin Dodd (Jesin) - Tuesday, 07 November 2017, 20:51 GMT
Last edited by Bartłomiej Piotrowski (Barthalion) - Sunday, 10 December 2017, 14:43 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To Bartłomiej Piotrowski (Barthalion)
Architecture All
Severity Very Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Expat has moved to GitHub. The new source URLs can still be computed from the pkgver, but doing so requires a trivial use of bash's "parameter expansion with pattern replacement" syntax.

Also, the current PKGBUILD neglects to "--disable-static" even though it does not enable "options=(staticlibs)", so it unnecessarily builds and tests a static version of the library that is then deleted during the packaging step.

The attached PKGBUILD fixes both of these problems.
   PKGBUILD (0.8 KiB)
This task depends upon

Closed by  Bartłomiej Piotrowski (Barthalion)
Sunday, 10 December 2017, 14:43 GMT
Reason for closing:  Fixed
Comment by Bartłomiej Piotrowski (Barthalion) - Tuesday, 28 November 2017, 16:42 GMT
Expat still hosts release tarballs on Sourceforge and I see no reason to switch. Added --disable-static.
Comment by Doug Newgard (Scimmia) - Tuesday, 28 November 2017, 22:02 GMT
Looks like everything is redirecting to github, at least the URL should be updated before it goes away
Comment by Eli Schwartz (eschwartz) - Tuesday, 28 November 2017, 22:14 GMT
Oh, fair enough.

(The URL would probably redirect indefinitely, but redirects are suboptimal...)
Comment by Kevin Dodd (Jesin) - Tuesday, 28 November 2017, 22:30 GMT
The PKGBUILD I attached in the original bug report works.

EDIT: I just realized I should update it to remove i686. New version incoming.
Comment by Kevin Dodd (Jesin) - Tuesday, 28 November 2017, 22:53 GMT
Here's an updated, working PKGBUILD.
https://ptpb.pw/7uK_.txt
   PKGBUILD (0.8 KiB)

Loading...