summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorWilliam Gathoye2017-11-11 21:18:10 +0100
committerWilliam Gathoye2017-11-11 21:18:10 +0100
commitb46312874577a26b0f2744179e67ece4f5f49bfd (patch)
tree3f8d4e40677dd3a855bb624788df4805f40816ad
parent62766a0a4e9d154348706a650e9b29ca8b3c1066 (diff)
downloadaur-b46312874577a26b0f2744179e67ece4f5f49bfd.tar.gz
Add Arch Linux version in the Mattermost about dialog
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD4
2 files changed, 3 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 14082740d574..07dcd01a6470 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = mattermost
pkgdesc = Open source Slack-alternative in Golang and React
pkgver = 4.3.2
- pkgrel = 2
+ pkgrel = 3
url = https://mattermost.com
arch = i686
arch = x86_64
diff --git a/PKGBUILD b/PKGBUILD
index 28259a1e06a2..71429a39b4bb 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
pkgname=mattermost
pkgver=4.3.2
-pkgrel=2
+pkgrel=3
pkgdesc='Open source Slack-alternative in Golang and React'
arch=('i686' 'x86_64' 'arm' 'armv6h' 'armv7h' 'aarch64')
url="https://mattermost.com"
@@ -69,7 +69,7 @@ prepare() {
# Enforce build hash to Arch Linux (Enterprise hash is already set to
# none), instead of the official git hash value.
sed -r -i Makefile \
- -e 's/^(\s*)BUILD_HASH(_ENTERPRISE)? =.*/\1BUILD_HASH\2 = Arch Linux/' \
+ -e "s/^(\s*)BUILD_HASH(_ENTERPRISE)? =.*/\1BUILD_HASH\2 = Arch Linux \(${CARCH}\)/" \
-e 's/-X (.*)(\$\(BUILD_HASH(_ENTERPRISE)?\))(.*)/-X '\''\1\2'\''\4/'
# The configuration isn't available at this time yet, modify the default.