makedeb


element-desktop-bin 1.11.86-1


A feature-rich client for Matrix.org

Click here to go back to the commit logs for element-desktop-bin.

Commit:


Hash: 44e454cffde118645855e76840dc7ae55026d6d4

Message: Updated version to 1.9.7

Diff


diff --git a/.SRCINFO b/.SRCINFO
index 3495143..b159af8 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -2,7 +2,7 @@ generated-by = makedeb-makepkg
 
 pkgbase = element-desktop-bin
 	pkgdesc = A feature-rich client for Matrix.org
-	pkgver = 1.8.5
+	pkgver = 1.9.7
 	pkgrel = 1
 	url = https://element.io/
 	arch = x86_64
@@ -22,7 +22,7 @@ pkgbase = element-desktop-bin
 	conflicts = riot-web<1.7.0
 	replaces = riot-desktop<1.7.0
 	replaces = riot-web<1.7.0
-	source = https://packages.riot.im/debian/pool/main/e/element-desktop/element-desktop_1.8.5_amd64.deb
+	source = https://packages.riot.im/debian/pool/main/e/element-desktop/element-desktop_1.9.7_amd64.deb
 	sha256sums = SKIP
 
 pkgname = element-desktop-bin
diff --git a/PKGBUILD b/PKGBUILD
index e51fd03..cb7c5c2 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,6 @@
 # Maintainer: Hunter Wittenborn <hunter@hunterwittenborn.com>
-
 pkgname=element-desktop-bin
-pkgver=1.8.5
+pkgver=1.9.7
 pkgrel=1
 pkgdesc="A feature-rich client for Matrix.org"
 arch=('x86_64')
@@ -16,14 +15,8 @@ source=("https://packages.riot.im/debian/pool/main/e/element-desktop/element-des
 sha256sums=('SKIP')
 
 package() {
-    # Extract data.tar.xz to pkgdir
-    msg2 "Extracting data.tar.xz..."
     tar -xf "${srcdir}/data.tar.xz" -C "${pkgdir}"
-
-    # Copy binary to /usr/bin/
-    msg2 "Copying binary to /usr/bin/..."
-    install -Dm 555 "${pkgdir}/opt/Element/element-desktop" "${pkgdir}/usr/bin/element-desktop"
-
-    # Configure perms on chrome-sandbox
-    chmod 4755 "${pkgdir}/opt/Element/chrome-sandbox"
+    mkdir -p "${pkgdir}/usr/bin/"
+    ln -s /opt/Element/element-desktop "${pkgdir}/usr/bin/element-desktop"
+    chmod 755 "${pkgdir}/usr/bin/element-desktop"
 }