Date: Friday, March 5, 2021 @ 10:14:09 Author: maximbaz Revision: 881686
archrelease: copy trunk to community-any Added: wire-desktop/repos/community-any/PKGBUILD (from rev 881685, wire-desktop/trunk/PKGBUILD) wire-desktop/repos/community-any/wire-desktop.desktop (from rev 881685, wire-desktop/trunk/wire-desktop.desktop) Deleted: wire-desktop/repos/community-any/PKGBUILD wire-desktop/repos/community-any/wire-desktop.desktop ----------------------+ PKGBUILD | 108 ++++++++++++++++++++++++------------------------- wire-desktop.desktop | 26 +++++------ 2 files changed, 67 insertions(+), 67 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2021-03-05 10:09:59 UTC (rev 881685) +++ PKGBUILD 2021-03-05 10:14:09 UTC (rev 881686) @@ -1,54 +0,0 @@ -# Maintainer: Maxim Baz <$pkgname at maximbaz dot com> -# Contributor: Conor Anderson <co...@conr.ca> - -pkgname=wire-desktop -pkgver=3.22.2937 -pkgrel=1 -pkgdesc='End-to-end encrypted messenger with file sharing, voice calls and video conferences' -arch=('any') -url='https://wire.com/' -license=('GPL3') -depends=('electron10' '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=('5d1e4bef658fa5f3bf37c8a471bd95e3ef1ba7a902d902b3d013544d190126f1' - 'SKIP' - '53f37e99d4c2f41a3e31fd70154d82ba06a4af578c68df86af4906f7f37ec787') -validpgpkeys=('ABBA007D6E14E2DB5B283C45D599C1AA126762B1') - -prepare() { - # Create launcher script - cat << EOF > "${pkgname}" -#!/usr/bin/env sh - -electron10 "/usr/lib/${pkgname}" "\$@" -EOF -} - -build() { - cd "${pkgname}-linux-${pkgver}" - - yarn - BUILD_NUMBER="${pkgver##*.}" LINUX_TARGET=dir ENABLE_ASAR=false yarn build:linux -} - -package() { - # Place files - install -d "${pkgdir}/usr/lib/${pkgname}" - cp -a "${pkgname}-linux-${pkgver}/wrap/dist/linux-unpacked/resources/app/"{electron,node_modules,package.json} "${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-any/PKGBUILD (from rev 881685, wire-desktop/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2021-03-05 10:14:09 UTC (rev 881686) @@ -0,0 +1,54 @@ +# Maintainer: Maxim Baz <$pkgname at maximbaz dot com> +# Contributor: Conor Anderson <co...@conr.ca> + +pkgname=wire-desktop +pkgver=3.22.2937 +pkgrel=1 +pkgdesc='End-to-end encrypted messenger with file sharing, voice calls and video conferences' +arch=('any') +url='https://wire.com/' +license=('GPL3') +depends=('electron10' '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=('5d1e4bef658fa5f3bf37c8a471bd95e3ef1ba7a902d902b3d013544d190126f1' + 'SKIP' + '53f37e99d4c2f41a3e31fd70154d82ba06a4af578c68df86af4906f7f37ec787') +validpgpkeys=('ABBA007D6E14E2DB5B283C45D599C1AA126762B1') + +prepare() { + # Create launcher script + cat << EOF > "${pkgname}" +#!/usr/bin/env sh + +electron10 "/usr/lib/${pkgname}" "\$@" +EOF +} + +build() { + cd "${pkgname}-linux-${pkgver}" + + yarn + BUILD_NUMBER="${pkgver##*.}" LINUX_TARGET=dir ENABLE_ASAR=false yarn build:linux +} + +package() { + # Place files + install -d "${pkgdir}/usr/lib/${pkgname}" + cp -a "${pkgname}-linux-${pkgver}/wrap/dist/linux-unpacked/resources/app/"{electron,node_modules,package.json} "${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: Deleted: wire-desktop.desktop =================================================================== --- wire-desktop.desktop 2021-03-05 10:09:59 UTC (rev 881685) +++ wire-desktop.desktop 2021-03-05 10:14:09 UTC (rev 881686) @@ -1,13 +0,0 @@ -[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 Copied: wire-desktop/repos/community-any/wire-desktop.desktop (from rev 881685, wire-desktop/trunk/wire-desktop.desktop) =================================================================== --- wire-desktop.desktop (rev 0) +++ wire-desktop.desktop 2021-03-05 10:14:09 UTC (rev 881686) @@ -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