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
1 changed files with 5 additions and 8 deletions

View File

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