[arch-commits] Commit in cozy-desktop/repos/community-any (6 files)

Bruno Pagani archange at gemini.archlinux.org
Wed Aug 4 18:45:23 UTC 2021


    Date: Wednesday, August 4, 2021 @ 18:45:23
  Author: archange
Revision: 993738

archrelease: copy trunk to community-any

Added:
  cozy-desktop/repos/community-any/PKGBUILD
    (from rev 993737, cozy-desktop/trunk/PKGBUILD)
  cozy-desktop/repos/community-any/cozy-desktop.desktop
    (from rev 993737, cozy-desktop/trunk/cozy-desktop.desktop)
  cozy-desktop/repos/community-any/cozy-desktop.sh
    (from rev 993737, cozy-desktop/trunk/cozy-desktop.sh)
Deleted:
  cozy-desktop/repos/community-any/PKGBUILD
  cozy-desktop/repos/community-any/cozy-desktop.desktop
  cozy-desktop/repos/community-any/cozy-desktop.sh

----------------------+
 PKGBUILD             |  103 +++++++++++++++++++++++++------------------------
 cozy-desktop.desktop |   18 ++++----
 cozy-desktop.sh      |    6 +-
 3 files changed, 65 insertions(+), 62 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-08-04 18:45:15 UTC (rev 993737)
+++ PKGBUILD	2021-08-04 18:45:23 UTC (rev 993738)
@@ -1,50 +0,0 @@
-# Maintainer: Bruno Pagani <archange at archlinux.org>
-
-pkgname=cozy-desktop
-pkgver=3.28.0
-pkgrel=1
-pkgdesc="File synchronisation for Cozy Cloud on Desktop"
-arch=(any)
-url="https://cozy-labs.github.io/cozy-desktop/"
-license=(AGPL3)
-depends=(electron12)
-makedepends=(nodejs-lts-fermium yarn git node-gyp python)
-source=(https://github.com/cozy-labs/${pkgname}/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz
-        https://github.com/cozy-labs/${pkgname}/releases/download/v${pkgver}/Cozy-Drive-${pkgver}-x86_64.AppImage
-        ${pkgname}.desktop
-        ${pkgname}.sh)
-sha256sums=('9adaf1a00de0342c018e9c08577209199291450cb46a9c023cbb5317a2c0c71b'
-            '452a8f12e447830c7b7129e1f677c5c970555c91021700650922e0d5371c1124'
-            '563edd5a43c7f06080e03bec5f4e46154227f7e163500950ea39ecad466b198a'
-            '39feb05f56c9a84a8a94f2a39fd3166b423d70cea3ad1edbe1c8f82f645de8a4')
-
-prepare() {
-    cd ${pkgname}-${pkgver}
-    yarn install
-}
-
-build() {
-    cd ${pkgname}-${pkgver}
-    yarn build
-}
-
-package() {
-    cd ${pkgname}-${pkgver}
-    yarn dist --dir
-
-    install -d "${pkgdir}"/usr/lib/${pkgname}
-    cp -r dist/linux-unpacked/resources/* "${pkgdir}"/usr/lib/${pkgname}/
-
-    rm "${pkgdir}"/usr/lib/cozy-desktop/app.asar.unpacked/gui/scripts/macos-add-favorite.py
-    rmdir "${pkgdir}"/usr/lib/cozy-desktop/app.asar.unpacked/{gui/{scripts/,},}
-    rm -r "${pkgdir}"/usr/lib/cozy-desktop/regedit
-
-    cd "${srcdir}"
-    chmod +x Cozy-Drive-${pkgver}-x86_64.AppImage
-    ./Cozy-Drive-${pkgver}-x86_64.AppImage --appimage-extract
-    cp -r squashfs-root/usr/share "${pkgdir}"/usr/
-    chmod a+rX -R "${pkgdir}"/usr/share
-
-    install -Dm755 ${pkgname}.sh "${pkgdir}"/usr/bin/${pkgname}
-    install -Dm644 ${pkgname}.desktop "${pkgdir}"/usr/share/applications/${pkgname}.desktop
-}

Copied: cozy-desktop/repos/community-any/PKGBUILD (from rev 993737, cozy-desktop/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-08-04 18:45:23 UTC (rev 993738)
@@ -0,0 +1,53 @@
+# Maintainer: Bruno Pagani <archange at archlinux.org>
+
+pkgname=cozy-desktop
+pkgver=3.28.1
+pkgrel=1
+pkgdesc="File synchronisation for Cozy Cloud on Desktop"
+arch=(any)
+url="https://cozy-labs.github.io/cozy-desktop/"
+license=(AGPL3)
+_electron=electron12
+depends=(${_electron})
+makedepends=(nodejs-lts-fermium yarn git node-gyp python)
+source=(https://github.com/cozy-labs/${pkgname}/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz
+        https://github.com/cozy-labs/${pkgname}/releases/download/v${pkgver}/Cozy-Drive-${pkgver}-x86_64.AppImage
+        ${pkgname}.desktop
+        ${pkgname}.sh)
+sha256sums=('de6bbbc12e46c0be50d403b4b4aa8ae8c3eb6adfd689a36c5bd28ad9740fb2d3'
+            '4e7d4e84fdc3d62edd6faa7d5e43e4509ee9ac60261d20035e5fe12d4e1a1558'
+            '563edd5a43c7f06080e03bec5f4e46154227f7e163500950ea39ecad466b198a'
+            'a8783d3f6ce2da344ffe403f8e1a4f9da8de3b59e8bfda10e15a4ff5643244cf')
+
+prepare() {
+    # Specify electron version in launcher
+    sed -i "s|@ELECTRON@|${_electron}|" ${pkgname}.sh
+    cd ${pkgname}-${pkgver}
+    yarn install --no-fund
+}
+
+build() {
+    cd ${pkgname}-${pkgver}
+    yarn build --offline
+}
+
+package() {
+    cd ${pkgname}-${pkgver}
+    yarn dist --dir
+
+    install -d "${pkgdir}"/usr/lib/${pkgname}
+    cp -r dist/linux-unpacked/resources/* "${pkgdir}"/usr/lib/${pkgname}/
+
+    rm "${pkgdir}"/usr/lib/cozy-desktop/app.asar.unpacked/gui/scripts/macos-add-favorite.py
+    rmdir "${pkgdir}"/usr/lib/cozy-desktop/app.asar.unpacked/{gui/{scripts/,},}
+    rm -r "${pkgdir}"/usr/lib/cozy-desktop/regedit
+
+    cd "${srcdir}"
+    chmod +x Cozy-Drive-${pkgver}-x86_64.AppImage
+    ./Cozy-Drive-${pkgver}-x86_64.AppImage --appimage-extract
+    cp -r squashfs-root/usr/share "${pkgdir}"/usr/
+    chmod a+rX -R "${pkgdir}"/usr/share
+
+    install -Dm755 ${pkgname}.sh "${pkgdir}"/usr/bin/${pkgname}
+    install -Dm644 ${pkgname}.desktop "${pkgdir}"/usr/share/applications/${pkgname}.desktop
+}

Deleted: cozy-desktop.desktop
===================================================================
--- cozy-desktop.desktop	2021-08-04 18:45:15 UTC (rev 993737)
+++ cozy-desktop.desktop	2021-08-04 18:45:23 UTC (rev 993738)
@@ -1,9 +0,0 @@
-[Desktop Entry]
-Name=Cozy Desktop
-Comment=Save them safely in your open source personal cloud, access them anywhere, anytime with the mobile application and share them with the world or just your friends and colleagues. You can host your own Cozy Cloud, and or use the hosting services. Your freedom to chose is why you can trust us.
-Exec=/usr/bin/cozy-desktop
-Terminal=false
-Type=Application
-Icon=cozydrive
-StartupNotify=true
-Categories=Network;FileTransfer;

Copied: cozy-desktop/repos/community-any/cozy-desktop.desktop (from rev 993737, cozy-desktop/trunk/cozy-desktop.desktop)
===================================================================
--- cozy-desktop.desktop	                        (rev 0)
+++ cozy-desktop.desktop	2021-08-04 18:45:23 UTC (rev 993738)
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Name=Cozy Desktop
+Comment=Save them safely in your open source personal cloud, access them anywhere, anytime with the mobile application and share them with the world or just your friends and colleagues. You can host your own Cozy Cloud, and or use the hosting services. Your freedom to chose is why you can trust us.
+Exec=/usr/bin/cozy-desktop
+Terminal=false
+Type=Application
+Icon=cozydrive
+StartupNotify=true
+Categories=Network;FileTransfer;

Deleted: cozy-desktop.sh
===================================================================
--- cozy-desktop.sh	2021-08-04 18:45:15 UTC (rev 993737)
+++ cozy-desktop.sh	2021-08-04 18:45:23 UTC (rev 993738)
@@ -1,3 +0,0 @@
-#!/bin/sh
-
-electron12 /usr/lib/cozy-desktop/app.asar "$@"

Copied: cozy-desktop/repos/community-any/cozy-desktop.sh (from rev 993737, cozy-desktop/trunk/cozy-desktop.sh)
===================================================================
--- cozy-desktop.sh	                        (rev 0)
+++ cozy-desktop.sh	2021-08-04 18:45:23 UTC (rev 993738)
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+exec @ELECTRON@ /usr/lib/cozy-desktop/app.asar --disable-dev-mode "$@"



More information about the arch-commits mailing list