Date: Tuesday, March 15, 2022 @ 21:05:31
  Author: archange
Revision: 1155172

archrelease: copy trunk to community-any

Added:
  cozy-desktop/repos/community-any/PKGBUILD
    (from rev 1155171, cozy-desktop/trunk/PKGBUILD)
  cozy-desktop/repos/community-any/cozy-desktop.desktop
    (from rev 1155171, cozy-desktop/trunk/cozy-desktop.desktop)
  cozy-desktop/repos/community-any/cozy-desktop.sh
    (from rev 1155171, 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             |  107 ++++++++++++++++++++++++-------------------------
 cozy-desktop.desktop |   18 ++++----
 cozy-desktop.sh      |    6 +-
 3 files changed, 66 insertions(+), 65 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2022-03-15 21:04:56 UTC (rev 1155171)
+++ PKGBUILD    2022-03-15 21:05:31 UTC (rev 1155172)
@@ -1,53 +0,0 @@
-# Maintainer: Bruno Pagani <[email protected]>
-
-pkgname=cozy-desktop
-pkgver=3.32.0
-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=('10f938d95915f35336864780aff258924b262400c027486655db7791c3a08da3'
-            '2ab147deb4bdad5ffb986ad98c67f38e4f8e5a5134d93cc39cf82fccf552a561'
-            '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
-}

Copied: cozy-desktop/repos/community-any/PKGBUILD (from rev 1155171, 
cozy-desktop/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2022-03-15 21:05:31 UTC (rev 1155172)
@@ -0,0 +1,54 @@
+# Maintainer: Bruno Pagani <[email protected]>
+
+pkgname=cozy-desktop
+pkgver=3.33.0
+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=('a82325f1183c83888c30bb839b89a2e87e3991a09588c0c4564b33db7a557590'
+            '2ecffbfe8d464fc03070d7f320e37b770f7ac4fdb043ab34bdf8211f56fdfa90'
+            '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 disabled 
https://github.com/cozy-labs/cozy-desktop/issues/2206
+}
+
+package() {
+    cd ${pkgname}-${pkgver}
+    # Using our electron does not work with the same failure as 
https://github.com/cozy-labs/cozy-desktop/issues/2206
+    yarn dist --dir #-c.electronDist=/usr/lib/${_electron} 
-c.electronVersion=$(tail -c +1 /usr/lib/${_electron}/version)
+
+    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        2022-03-15 21:04:56 UTC (rev 1155171)
+++ cozy-desktop.desktop        2022-03-15 21:05:31 UTC (rev 1155172)
@@ -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 
1155171, cozy-desktop/trunk/cozy-desktop.desktop)
===================================================================
--- cozy-desktop.desktop                                (rev 0)
+++ cozy-desktop.desktop        2022-03-15 21:05:31 UTC (rev 1155172)
@@ -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     2022-03-15 21:04:56 UTC (rev 1155171)
+++ cozy-desktop.sh     2022-03-15 21:05:31 UTC (rev 1155172)
@@ -1,3 +0,0 @@
-#!/bin/sh
-
-exec @ELECTRON@ /usr/lib/cozy-desktop/app.asar --disable-dev-mode "$@"

Copied: cozy-desktop/repos/community-any/cozy-desktop.sh (from rev 1155171, 
cozy-desktop/trunk/cozy-desktop.sh)
===================================================================
--- cozy-desktop.sh                             (rev 0)
+++ cozy-desktop.sh     2022-03-15 21:05:31 UTC (rev 1155172)
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+exec @ELECTRON@ /usr/lib/cozy-desktop/app.asar --disable-dev-mode "$@"

Reply via email to