mirror of
https://github.com/void-linux/void-packages.git
synced 2025-04-22 09:07:01 +02:00
Signal-Desktop: fix build.
This commit is contained in:
parent
a9a067ccb5
commit
b7e6be3fc7
1 changed files with 7 additions and 3 deletions
|
@ -5,18 +5,22 @@ revision=1
|
||||||
# Due to electron
|
# Due to electron
|
||||||
# 32-bit is not supported https://github.com/signalapp/Signal-Desktop/issues/1661
|
# 32-bit is not supported https://github.com/signalapp/Signal-Desktop/issues/1661
|
||||||
archs="x86_64"
|
archs="x86_64"
|
||||||
hostmakedepends="git python nodejs yarn"
|
hostmakedepends="git nodejs python tar yarn"
|
||||||
depends="libnotify libappindicator"
|
depends="libnotify libappindicator"
|
||||||
short_desc="Signal Private Messenger for Linux"
|
short_desc="Signal Private Messenger for Linux"
|
||||||
maintainer="Julio Galvan <juliogalvan@protonmail.com>"
|
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=0dbc5230ca99ec384abfbe5630f10de894bd76e19c215d7f12cb6f2b25da8e82
|
https://github.com/atom/node-spellchecker/archive/613ff91dd2d9a5ee0e86be8a3682beecc4e94887.tar.gz"
|
||||||
|
checksum="0dbc5230ca99ec384abfbe5630f10de894bd76e19c215d7f12cb6f2b25da8e82
|
||||||
|
9f3d48eeaf1041b4bcee43e3d74d677778ea36741e88cb3262bae06576348667"
|
||||||
nostrip_files="signal-desktop"
|
nostrip_files="signal-desktop"
|
||||||
|
skip_extraction="613ff91dd2d9a5ee0e86be8a3682beecc4e94887.tar.gz"
|
||||||
|
|
||||||
pre_build() {
|
pre_build() {
|
||||||
vsed -e 's/"node": "/&>=/' -i package.json
|
vsed -e 's/"node": "/&>=/' -i package.json
|
||||||
|
sed -r 's#("spellchecker": ").*"#\1file:'"${XBPS_SRCDISTDIR}/${pkgname}-${version}"'/613ff91dd2d9a5ee0e86be8a3682beecc4e94887.tar.gz"#' -i package.json
|
||||||
}
|
}
|
||||||
|
|
||||||
do_build() {
|
do_build() {
|
||||||
|
|
Loading…
Add table
Reference in a new issue