summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephan Springer2018-09-23 12:46:49 +0200
committerStephan Springer2018-09-23 12:46:49 +0200
commit296e547e6b8927f4daf5a9ba8a5dc295653c8ff0 (patch)
treeb05cbacbd1bd1808d83c562b7b1c825b97a540bc
parent90f379a9f6ff873039cf784be9fe72eaf29f943e (diff)
downloadaur-296e547e6b8927f4daf5a9ba8a5dc295653c8ff0.tar.gz
update to 2.13.3; add LICENSE; cleanup
-rw-r--r--.SRCINFO10
-rw-r--r--LICENSE21
-rw-r--r--PKGBUILD21
3 files changed, 39 insertions, 13 deletions
diff --git a/.SRCINFO b/.SRCINFO
index bb9fa409075..5734a3c0352 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,17 +1,19 @@
pkgbase = rocketchat-client-bin
pkgdesc = The Ultimate Open Source Web Chat Platform
- pkgver = 2.13.0
+ pkgver = 2.13.3
pkgrel = 1
url = https://rocket.chat
arch = x86_64
- license = The MIT License (MIT)
+ license = MIT
depends = gtk3
depends = nss
depends = gconf
depends = libxss
optdepends = libnotify: For sending desktop notifications
- source = https://github.com/RocketChat/Rocket.Chat.Electron/releases/download/2.13.0/rocketchat_2.13.0_amd64.deb
- sha256sums = 002a6f6d45ca55e6bdcec17a8300af1cadb43f8612d749b68b7bd86cd26c3b92
+ source = https://github.com/RocketChat/Rocket.Chat.Electron/releases/download/2.13.3/rocketchat_2.13.3_amd64.deb
+ source = LICENSE
+ sha256sums = 6410468fa36e17b96d69f8e3d71286d87f608188efb25a633864d76945933564
+ sha256sums = SKIP
pkgname = rocketchat-client-bin
diff --git a/LICENSE b/LICENSE
new file mode 100644
index 00000000000..074ee470b31
--- /dev/null
+++ b/LICENSE
@@ -0,0 +1,21 @@
+The MIT License (MIT)
+
+Copyright (c) 2015-2016 Rocket.Chat Technologies Corp.
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
diff --git a/PKGBUILD b/PKGBUILD
index 3dbb5833f08..a7ea378f89c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,21 +2,24 @@
# Contributor: Gui||aume <michaudg@gmail.com>
pkgname=rocketchat-client-bin
-pkgver=2.13.0
+pkgver=2.13.3
pkgrel=1
pkgdesc="The Ultimate Open Source Web Chat Platform"
arch=('x86_64')
-license=('The MIT License (MIT)')
+license=('MIT')
url='https://rocket.chat'
depends=('gtk3' 'nss' 'gconf' 'libxss')
optdepends=('libnotify: For sending desktop notifications')
-source=("https://github.com/RocketChat/Rocket.Chat.Electron/releases/download/${pkgver}/rocketchat_${pkgver}_amd64.deb")
-sha256sums=('002a6f6d45ca55e6bdcec17a8300af1cadb43f8612d749b68b7bd86cd26c3b92')
+source=("https://github.com/RocketChat/Rocket.Chat.Electron/releases/download/${pkgver}/rocketchat_${pkgver}_amd64.deb"
+ 'LICENSE')
+sha256sums=('6410468fa36e17b96d69f8e3d71286d87f608188efb25a633864d76945933564'
+ 'SKIP')
package() {
- cd "$srcdir"
- tar -xf data.tar.xz -C "$pkgdir"
- chmod -R go-w "$pkgdir"
- mkdir -m 755 -p "$pkgdir"/usr/bin
- ln -s /opt/Rocket.Chat/rocketchat "$pkgdir"/usr/bin
+ cd "$pkgdir"
+ tar -xf "$srcdir"/data.tar.xz
+ chmod -R go-w .
+ mkdir -m 755 -p usr/bin
+ ln -s ../../opt/Rocket.Chat/rocketchat-desktop usr/bin
+ install -Dm644 "$srcdir"/LICENSE usr/share/licenses/"$pkgname"/LICENSE
}