summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD9
-rw-r--r--mattermost.service2
3 files changed, 6 insertions, 11 deletions
diff --git a/.SRCINFO b/.SRCINFO
index e1fb533a8fc..7f565626774 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = mattermost-git
pkgdesc = Open source Slack-alternative in Golang and React
- pkgver = 4.9.0.r38.g853445dc2
+ pkgver = 5.1.0.r32.g10f571784
pkgrel = 1
url = https://mattermost.com
arch = i686
@@ -24,13 +24,11 @@ pkgbase = mattermost-git
source = git+https://github.com/mattermost/mattermost-server
source = git+https://github.com/mattermost/mattermost-webapp
source = mattermost.service
- source = mattermost.sh
source = mattermost.sysusers
source = mattermost.tmpfiles
sha512sums = SKIP
sha512sums = SKIP
- sha512sums = 3e3d46dc7778be256da9a366ec96cde684fcb07732d0adfd40ea00d6ec61a161a9d7e784f7773d34e4f058e6919b13053ac228255a05f175e7ce20538f07ec93
- sha512sums = 5fe6c343e9739b12f8ea9390dafd729fa9f980978bbc0fa7eb6a2eb2d437929078d3efede23c28a6b399c407b8b5e92755169a468462088de0eb148b360acc4b
+ sha512sums = 893bab002d343ee5cc9a07d6221cc4f00d4d6c9d0adccc9b1bf35619306384fcb1261058c2dd63662f33ae41a62b1d735fa2e3cf50b479709edf272ea58324d1
sha512sums = b95bf2c0d840d0e85baebc1051c872056fa4990d263334fecc7b11d96085cb65a69dd866f18889e209336028f17c02152c13a92d2be1c21848939f22203439f0
sha512sums = e3ffcf4b86e2ecc7166c1abf92cd4de23d81bad405db0121e513a8d81fea05eec9dd508141b14b208c4c13fbc347c56f01ed91326faa01e872ecdedcc18718f9
diff --git a/PKGBUILD b/PKGBUILD
index dfefcca1488..0e766743b6d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=mattermost-git
_pkgname="${pkgname%-git}"
-pkgver=4.9.0.r38.g853445dc2
+pkgver=5.1.0.r32.g10f571784
pkgrel=1
pkgdesc="Open source Slack-alternative in Golang and React"
arch=('i686' 'x86_64' 'arm' 'armv6h' 'armv7h' 'aarch64')
@@ -33,14 +33,12 @@ source=(
"git+https://github.com/${_pkgname}/${_pkgname}-server"
"git+https://github.com/${_pkgname}/${_pkgname}-webapp"
"${_pkgname}.service"
- "${_pkgname}.sh"
"${_pkgname}.sysusers"
"${_pkgname}.tmpfiles")
sha512sums=(
'SKIP'
'SKIP'
- '3e3d46dc7778be256da9a366ec96cde684fcb07732d0adfd40ea00d6ec61a161a9d7e784f7773d34e4f058e6919b13053ac228255a05f175e7ce20538f07ec93'
- '5fe6c343e9739b12f8ea9390dafd729fa9f980978bbc0fa7eb6a2eb2d437929078d3efede23c28a6b399c407b8b5e92755169a468462088de0eb148b360acc4b'
+ '893bab002d343ee5cc9a07d6221cc4f00d4d6c9d0adccc9b1bf35619306384fcb1261058c2dd63662f33ae41a62b1d735fa2e3cf50b479709edf272ea58324d1'
'b95bf2c0d840d0e85baebc1051c872056fa4990d263334fecc7b11d96085cb65a69dd866f18889e209336028f17c02152c13a92d2be1c21848939f22203439f0'
'e3ffcf4b86e2ecc7166c1abf92cd4de23d81bad405db0121e513a8d81fea05eec9dd508141b14b208c4c13fbc347c56f01ed91326faa01e872ecdedcc18718f9')
@@ -167,8 +165,7 @@ package() {
mv NOTICE.txt README.md "${pkgdir}"/usr/share/doc/${_pkgname}
cd "${srcdir}"
- install -Dm755 bin/platform -t "${pkgdir}"/usr/share/webapps/${_pkgname}/bin/
- install -Dm755 ${_pkgname}.sh "${pkgdir}"/usr/bin/${_pkgname}
+ install -Dm755 bin/${_pkgname} "${pkgdir}"/usr/share/webapps/${_pkgname}/bin/${_pkgname}
install -Dm644 ${_pkgname}.service -t "${pkgdir}"/usr/lib/systemd/system/
install -Dm644 ${_pkgname}.sysusers "${pkgdir}"/usr/lib/sysusers.d/${_pkgname}.conf
install -Dm644 ${_pkgname}.tmpfiles "${pkgdir}"/usr/lib/tmpfiles.d/${_pkgname}.conf
diff --git a/mattermost.service b/mattermost.service
index 11aa7d214a3..fc460ba6ea3 100644
--- a/mattermost.service
+++ b/mattermost.service
@@ -7,7 +7,7 @@ After=postgresql.service
Type=simple
User=mattermost
Group=mattermost
-ExecStart=/usr/share/webapps/mattermost/bin/platform
+ExecStart=/usr/bin/mattermost
WorkingDirectory=/usr/share/webapps/mattermost
Restart=on-failure