summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD5
1 files changed, 4 insertions, 1 deletions
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