Browse Source

Initial commit

Nemo 1 year ago
commit
b0d09170d0
3 changed files with 61 additions and 0 deletions
  1. 23
    0
      .SRCINFO
  2. 19
    0
      PKGBUILD
  3. 19
    0
      signal-desktop-beta.install

+ 23
- 0
.SRCINFO View File

@@ -0,0 +1,23 @@
1
+pkgbase = signal-desktop-beta
2
+	pkgdesc = Private messaging from your desktop
3
+	pkgver = 1.0.35beta.1
4
+	pkgrel = 1
5
+	url = https://github.com/WhisperSystems/Signal-Desktop#readme
6
+	install = signal-desktop-beta.install
7
+	arch = x86_64
8
+	license = GPLv3
9
+	depends = desktop-file-utils
10
+	depends = gconf
11
+	depends = hicolor-icon-theme
12
+	depends = libappindicator-gtk2
13
+	depends = libnotify
14
+	depends = libxss
15
+	depends = libxtst
16
+	depends = nss
17
+	options = !strip
18
+	options = !emptydirs
19
+	source = https://updates.signal.org/desktop/apt/pool/main/s/signal-desktop-beta/signal-desktop-beta_1.0.35-beta.1_amd64.deb
20
+	sha512sums = f3440fb7b622659ac58531d9dce0e1e4dbfdb897d8dcd929530f8e5d44d18ce088bf631670cb2d65d1ee3c1fbee890d2673936fa89f826e2fe4c99340665d044
21
+
22
+pkgname = signal-desktop-beta
23
+

+ 19
- 0
PKGBUILD View File

@@ -0,0 +1,19 @@
1
+# Generated by debtap
2
+# Maintainer: Nemo <archlinux at captnemo dot in>
3
+pkgname=signal-desktop-beta
4
+pkgver=1.0.35beta.1
5
+pkgrel=1
6
+pkgdesc="Private messaging from your desktop"
7
+arch=('x86_64')
8
+url="https://github.com/WhisperSystems/Signal-Desktop#readme"
9
+license=('GPLv3')
10
+depends=('desktop-file-utils' 'gconf' 'hicolor-icon-theme' 'libappindicator-gtk2' 'libnotify' 'libxss' 'libxtst' 'nss')
11
+options=('!strip' '!emptydirs')
12
+install=${pkgname}.install
13
+source=("https://updates.signal.org/desktop/apt/pool/main/s/signal-desktop-beta/signal-desktop-beta_1.0.35-beta.1_amd64.deb")
14
+sha512sums=('f3440fb7b622659ac58531d9dce0e1e4dbfdb897d8dcd929530f8e5d44d18ce088bf631670cb2d65d1ee3c1fbee890d2673936fa89f826e2fe4c99340665d044')
15
+
16
+package(){
17
+    # Extract package data
18
+    tar xf data.tar.xz -C "${pkgdir}"
19
+}

+ 19
- 0
signal-desktop-beta.install View File

@@ -0,0 +1,19 @@
1
+post_install() {
2
+	gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
3
+
4
+	# Link to the binary
5
+	ln -sf '/opt/Signal Beta/signal-desktop-beta' '/usr/bin/signal-desktop-beta'
6
+	update-desktop-database -q
7
+}
8
+
9
+post_upgrade() {
10
+	post_install
11
+}
12
+
13
+post_remove() {
14
+	gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
15
+
16
+	# Delete the link to the binary
17
+	rm -f '/usr/bin/signal-desktop-beta'
18
+	update-desktop-database -q
19
+}

Loading…
Cancel
Save