summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD5
2 files changed, 5 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index c9e7c1d28011..d4b73787a47b 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = mattermost-desktop
pkgdesc = Mattermost Desktop application for Linux (Beta)
pkgver = 3.6.0
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/mattermost/desktop
arch = i686
arch = x86_64
diff --git a/PKGBUILD b/PKGBUILD
index 1f754d3c3033..76d8309fd728 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
pkgname=mattermost-desktop
pkgver=3.6.0
-pkgrel=1
+pkgrel=2
pkgdesc="Mattermost Desktop application for Linux (Beta)"
arch=('i686' 'x86_64')
@@ -31,6 +31,9 @@ prepare() {
;;
esac
+ # Reduce build time by removing the creation of a .deb for Debian
+ sed -i -e '/^[[:space:]]*"target": \[/!b' -e '$!N;s/\n[[:space:]]*"deb",//' package.json
+
# Generate a desktop entry
# -f: forces and overrides the file if any
# -n: do not download an icon