[arch-commits] Commit in wire-desktop/repos (3 files)

Maxim Baz maximbaz at archlinux.org
Wed Apr 3 10:13:06 UTC 2019


    Date: Wednesday, April 3, 2019 @ 10:13:04
  Author: maximbaz
Revision: 448285

archrelease: copy trunk to community-staging-x86_64

Added:
  wire-desktop/repos/community-staging-x86_64/
  wire-desktop/repos/community-staging-x86_64/PKGBUILD
    (from rev 448284, wire-desktop/trunk/PKGBUILD)
  wire-desktop/repos/community-staging-x86_64/wire-desktop.desktop
    (from rev 448284, wire-desktop/trunk/wire-desktop.desktop)

----------------------+
 PKGBUILD             |   54 +++++++++++++++++++++++++++++++++++++++++++++++++
 wire-desktop.desktop |   13 +++++++++++
 2 files changed, 67 insertions(+)

Copied: wire-desktop/repos/community-staging-x86_64/PKGBUILD (from rev 448284, wire-desktop/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2019-04-03 10:13:04 UTC (rev 448285)
@@ -0,0 +1,54 @@
+# Maintainer: Maxim Baz <$pkgname at maximbaz dot com>
+# Contributor: Conor Anderson <conor at conr.ca>
+
+pkgname=wire-desktop
+pkgver=3.9.2895
+pkgrel=2
+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=('git' 'npm' 'yarn')
+optdepends=('emoji-font: colorful emoji')
+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=('852de3b3eddce0611432d1249303a6e99bdf1450ac26aa60858e216b10562e6f'
+            'SKIP'
+            '53f37e99d4c2f41a3e31fd70154d82ba06a4af578c68df86af4906f7f37ec787')
+validpgpkeys=('ABBA007D6E14E2DB5B283C45D599C1AA126762B1')
+
+prepare() {
+    # Create launcher script
+    cat << EOF > "${pkgname}"
+#!/usr/bin/env sh
+
+electron "/usr/lib/${pkgname}" "\$@"
+EOF
+}
+
+build() {
+    cd "${pkgname}-linux-${pkgver}"
+    yarn
+    yarn build:ts
+    BUILD_NUMBER="${pkgver##*.}" npx grunt 'linux-prod-package'
+}
+
+package() {
+    # Place files
+    install -d "${pkgdir}/usr/lib/${pkgname}"
+    cp -a "${pkgname}-linux-${pkgver}/electron/"* "${pkgdir}/usr/lib/${pkgname}"
+
+    # Place launcher script
+    install -Dm755 -t "${pkgdir}/usr/bin/" "${pkgname}"
+
+    # Place desktop entry and icon
+    desktop-file-install -m 644 --dir "${pkgdir}/usr/share/applications/" "${pkgname}.desktop"
+    local res
+    for res in 32x32 256x256; do
+        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:

Copied: wire-desktop/repos/community-staging-x86_64/wire-desktop.desktop (from rev 448284, wire-desktop/trunk/wire-desktop.desktop)
===================================================================
--- community-staging-x86_64/wire-desktop.desktop	                        (rev 0)
+++ community-staging-x86_64/wire-desktop.desktop	2019-04-03 10:13:04 UTC (rev 448285)
@@ -0,0 +1,13 @@
+[Desktop Entry]
+Name=Wire
+Comment=The most secure collaboration platform.
+Exec=wire-desktop %U
+Terminal=false
+Type=Application
+Icon=wire-desktop
+StartupWMClass=Wire
+Categories=Network;
+GenericName=Secure messenger
+Keywords=chat;encrypt;e2e;messenger;videocall
+MimeType=x-scheme-handler/wire
+Version=1.1



More information about the arch-commits mailing list