Signal-Desktop: update to 1.18.0

closes #4765 #3273
This commit is contained in:
Rien Maertens 2018-11-15 14:21:36 +01:00 committed by maxice8
parent 9ae59d5490
commit 08374030ff
No known key found for this signature in database
GPG key ID: 543B9D4F4299F06B

View file

@ -1,6 +1,6 @@
# Template file for 'Signal-Desktop'
pkgname=Signal-Desktop
version=1.14.4
version=1.18.0
revision=1
hostmakedepends="git python nodejs-lts yarn"
depends="libnotify libappindicator"
@ -9,9 +9,10 @@ maintainer="Julio Galvan <juliogalvan@protonmail.com>"
license="GPL-3.0-only"
homepage="https://github.com/signalapp/Signal-Desktop"
distfiles="https://github.com/signalapp/Signal-Desktop/archive/v${version}.tar.gz"
checksum=538c50de7fb2bd442e470f5128a76ddb07490f612a597183d342a95f26b89940
checksum=db0adab206282504ce2ed768f0365f13db06d7a144bedb36cfe55f6d6777db59
# Due to electron
only_for_archs="x86_64 i686"
# 32-bit is not supported https://github.com/signalapp/Signal-Desktop/issues/1661
only_for_archs="x86_64"
nostrip_files="signal-desktop"
do_build() {
@ -23,11 +24,7 @@ do_build() {
do_install() {
vmkdir usr/share/signal-desktop
case "$XBPS_TARGET_MACHINE" in
i686*) _ARCH="-ia32-";;
x86_64*) _ARCH="-";;
esac
vcopy release/linux${_ARCH}unpacked/* usr/share/signal-desktop
vcopy release/linux-unpacked/* usr/share/signal-desktop
vmkdir usr/bin
ln -s /usr/share/signal-desktop/signal-desktop ${DESTDIR}/usr/bin/