summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuillaume Michaud2017-09-29 08:42:57 -0400
committerGuillaume Michaud2017-09-29 08:42:57 -0400
commite971cb66bd75d497b8efbbbb6e52a0a9bba77565 (patch)
treee67ad05fe814a773b9e94b4c38a994c3e052b70c
downloadaur-e971cb66bd75d497b8efbbbb6e52a0a9bba77565.tar.gz
First commit. rocketchat-client renamed to rocketchat-client-bin.
-rw-r--r--.SRCINFO14
-rw-r--r--PKGBUILD31
2 files changed, 45 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..f8f3fe2d2f0
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,14 @@
+pkgbase = rocketchat-client-bin
+ pkgdesc = The Ultimate Open Source Web Chat Platform
+ pkgver = 2.9.0
+ pkgrel = 1
+ url = https://rocket.chat
+ arch = x86_64
+ license = The MIT License (MIT)
+ depends = libnotify
+ depends = gconf
+ source_x86_64 = https://github.com/RocketChat/Rocket.Chat.Electron/releases/download/2.9.0/rocketchat_2.9.0_amd64.deb
+ md5sums_x86_64 = 2516939885b416dfa2d0cc5bf2dfd742
+
+pkgname = rocketchat-client-bin
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..588d733bc6b
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,31 @@
+# Maintainer: Gui||aume <michaudg@gmail.com>
+
+pkgname=rocketchat-client-bin
+pkgver=2.9.0
+pkgrel=1
+pkgdesc="The Ultimate Open Source Web Chat Platform"
+arch=('x86_64')
+license=('The MIT License (MIT)')
+url="https://rocket.chat"
+options=()
+
+source_x86_64=("https://github.com/RocketChat/Rocket.Chat.Electron/releases/download/${pkgver}/rocketchat_${pkgver}_amd64.deb")
+md5sums_x86_64=('2516939885b416dfa2d0cc5bf2dfd742')
+
+depends=('libnotify' 'gconf')
+optdepends=()
+
+package() {
+ cd "${srcdir}"
+
+ tar xf data.tar.xz -C "${pkgdir}"
+
+ chmod 755 $pkgdir/opt
+ chmod 755 $pkgdir/usr
+ chmod 755 $pkgdir/usr/share
+ chmod 755 $pkgdir/usr/share/applications
+
+ mkdir -p "$pkgdir/usr/bin"
+ ln -s /opt/Rocket.Chat+/rocketchat ${pkgdir}/usr/bin
+}
+