summaryrefslogtreecommitdiff
path: root/openttd-git/PKGBUILD
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-02-14 11:19:38 +0100
committerErich Eckner <git@eckner.net>2019-02-14 11:19:38 +0100
commitabfc5e4380a932136c7c5e96d96f1dddbea863fc (patch)
treeda671980de90c2af3d59b118818bdb159274c9f5 /openttd-git/PKGBUILD
parentcc6d11d6c716b32eeacaf8c0cb3d45826b6b859b (diff)
downloadarchlinuxewe.git.save-abfc5e4380a932136c7c5e96d96f1dddbea863fc.tar.xz
openttd-git 28543.aa737715d-1 -> 28549.045503e72-1
Diffstat (limited to 'openttd-git/PKGBUILD')
-rw-r--r--openttd-git/PKGBUILD5
1 files changed, 3 insertions, 2 deletions
diff --git a/openttd-git/PKGBUILD b/openttd-git/PKGBUILD
index d35eb937..c77134d4 100644
--- a/openttd-git/PKGBUILD
+++ b/openttd-git/PKGBUILD
@@ -1,6 +1,6 @@
# Maintainer: Erich Eckner <arch at eckner dot net>
pkgname=openttd-git
-pkgver=28543.aa737715d
+pkgver=28549.045503e72
_commit=${pkgver#*.}
pkgrel=1
pkgdesc="A FOSS clone of Transport Tycoon Deluxe."
@@ -64,11 +64,12 @@ prepare() {
)
HASH=$(find {src,bin} -type f -exec sha512sum {} \; | sort | sha512sum - | cut -d' ' -f1)
SHORTHASH=$(echo ${HASH} | cut -c1-8)
- printf '%s\t%s\t%s\t%s\n' \
+ printf '%s\t%s\t%s\t%s\t%s\n' \
"${ISODATE}-ewe-g${SHORTHASH}" \
"${ISODATE}" \
"0" \
"${HASH}" \
+ "0" \
> .ottdrev
sed -i '
s,"\$ROOT_DIR/\.git","/dev/does/not/exist",