I've made some changes to the PKGBUILD such that the version is fixed automatically, and it becomes a "rolling" version, instead of having to update it manually:
6,7c6,7
< pkgname=factorio-headless
< pkgver=1.1.76
---
> pkgname=factorio-stable-headless
> pkgver=1.1.80
13a14
> makedepends=('jq' 'curl')
21d21
<
26c26
< factorio_headless_x64_${pkgver}.tar.xz::http://www.factorio.com/get-download/${pkgver}/headless/linux64
---
> http://www.factorio.com/get-download/stable/headless/linux64
33c33,37
< '24bd61cc3aafe2041eb12b91e4f49d784ff6e36083e365d1e6320a34b636bda7')
---
> SKIP)
>
> pkgver() {
> curl -s https://factorio.com/api/latest-releases | jq -r ".stable.headless"
> }
Pinned Comments
mickael9 commented on 2017-07-28 00:21 (UTC)