diff options
author | Maxim Baz | 2019-02-19 23:41:02 +0100 |
---|---|---|
committer | Maxim Baz | 2019-02-19 23:41:02 +0100 |
commit | 11d8561ce617131dbff9a3dfc42f2daec43f409e (patch) | |
tree | 2a3b2de288a9d4c7e6c4a35dcbe24e4a1b88c65d | |
parent | 3a98fa3b9343f951df7bfe54c21f6a184acbb16c (diff) | |
download | aur-11d8561ce617131dbff9a3dfc42f2daec43f409e.tar.gz |
wire-desktop-beta: align with wire-desktop
-rw-r--r-- | PKGBUILD | 21 | ||||
-rw-r--r-- | wire-desktop-beta.desktop | 17 |
2 files changed, 23 insertions, 15 deletions
@@ -4,18 +4,21 @@ pkgname=wire-desktop-beta _pkgname=${pkgname%-beta} pkgver=3.6.2885 -pkgrel=3 +pkgrel=4 pkgdesc='End-to-end encrypted messenger with file sharing, voice calls and video conferences' arch=('x86_64') url='https://wire.com/' license=('GPL3') depends=('electron' 'xdg-utils') -makedepends=('cargo' 'npm' 'python2' 'git' 'yarn') +makedepends=('git' 'npm' 'yarn') optdepends=('emoji-font: colorful emoji') -source=("${pkgver}.tar.gz::https://github.com/wireapp/${_pkgname}/archive/linux/${pkgver}.tar.gz" +source=("${pkgname}-${pkgver}.tar.gz::https://github.com/wireapp/${_pkgname}/archive/linux/${pkgver}.tar.gz" + "${pkgname}-${pkgver}.tar.gz.sig::https://github.com/wireapp/${_pkgname}/releases/download/linux%2F${pkgver}/${_pkgname}-linux-${pkgver}.tar.gz.sig" "${pkgname}.desktop") sha256sums=('524db450d41a2dc677b8450cdf4e13dcc753280b2f6565ed5e23e6f59c14bed4' - '79505a8ae908a26f74af3d72c24cb09815dc5688eca26ee4bbf57362a865d7c5') + 'SKIP' + '35e522978ac21f7aa2f67faa712037d8999482eed1b88953dbea5420a9b13196') +validpgpkeys=('ABBA007D6E14E2DB5B283C45D599C1AA126762B1') prepare() { # Remove "node-addressbook" dependency as it's only for macOS @@ -23,7 +26,7 @@ prepare() { # Create launcher script cat << EOF > "${pkgname}" -#!/bin/sh +#!/usr/bin/env sh electron "/usr/lib/${pkgname}" "\$@" EOF @@ -33,13 +36,15 @@ build() { cd "${_pkgname}-linux-${pkgver}" yarn yarn build:ts - npx grunt 'clean:linux' 'update-keys' 'gitinfo' 'release-internal' 'bundle' + # ********** + # ***TODO*** in the next release simply use 'linux-prod-package' + BUILD_NUMBER="${pkgver##*.}" npx grunt 'clean:linux' 'update-keys' 'gitinfo' 'set-custom-data' 'release-internal' 'bundle' } package() { # Place files install -d "${pkgdir}/usr/lib/${pkgname}" - cp -a "${_pkgname}-linux-${pkgver}/electron"/* "${pkgdir}/usr/lib/${pkgname}" + cp -a "${_pkgname}-linux-${pkgver}/electron/"* "${pkgdir}/usr/lib/${pkgname}" # Place launcher script install -Dm755 -t "${pkgdir}/usr/bin/" "${pkgname}" @@ -51,3 +56,5 @@ package() { install -Dm644 "${_pkgname}-linux-${pkgver}/resources/icons/${res}.png" "${pkgdir}/usr/share/icons/hicolor/${res}/apps/${pkgname}.png" done } + +# vim:set ts=4 sw=4 et: diff --git a/wire-desktop-beta.desktop b/wire-desktop-beta.desktop index 7c0184140984..276307a71a12 100644 --- a/wire-desktop-beta.desktop +++ b/wire-desktop-beta.desktop @@ -1,12 +1,13 @@ [Desktop Entry] -Type=Application -Version=1.1 Name=Wire (beta) -GenericName=Secure messenger -Comment=Secure messenger for everyone -Exec=wire-desktop-beta -Icon=wire-desktop-beta +Comment=The most secure collaboration platform. +Exec=wire-desktop-beta %U Terminal=false -Categories=Network;InstantMessaging;Chat;VideoConference -Keywords=chat;encrypt;e2e;messenger;videocall +Type=Application +Icon=wire-desktop-beta StartupWMClass=Wire +Categories=Network; +GenericName=Secure messenger +Keywords=chat;encrypt;e2e;messenger;videocall +MimeType=x-scheme-handler/wire +Version=1.1 |