[arch-commits] Commit in cozy-desktop/repos/community-any (7 files)
Bruno Pagani
archange at archlinux.org
Fri Oct 25 16:39:52 UTC 2019
Date: Friday, October 25, 2019 @ 16:39:51
Author: archange
Revision: 519527
archrelease: copy trunk to community-any
Added:
cozy-desktop/repos/community-any/PKGBUILD
(from rev 519526, cozy-desktop/trunk/PKGBUILD)
cozy-desktop/repos/community-any/cozy-desktop.desktop
(from rev 519526, cozy-desktop/trunk/cozy-desktop.desktop)
cozy-desktop/repos/community-any/cozy-desktop.sh
(from rev 519526, 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
cozy-desktop/repos/community-any/icons.tar.xz
----------------------+
PKGBUILD | 97 +++++++++++++++++++++++++------------------------
cozy-desktop.desktop | 18 ++++-----
cozy-desktop.sh | 6 +--
3 files changed, 62 insertions(+), 59 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-10-25 16:39:47 UTC (rev 519526)
+++ PKGBUILD 2019-10-25 16:39:51 UTC (rev 519527)
@@ -1,47 +0,0 @@
-# Maintainer: Bruno Pagani <archange at archlinux.org>
-
-pkgname=cozy-desktop
-pkgver=3.15.2
-pkgrel=1
-pkgdesc="File synchronisation for Cozy Cloud on Desktop"
-arch=(any)
-url="https://cozy-labs.github.io/cozy-desktop/"
-license=(AGPL3)
-depends=(electron2)
-makedepends=(nodejs-lts-carbon yarn git node-gyp python2)
-source=("https://github.com/cozy-labs/${pkgname}/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz"
- "${pkgname}.desktop"
- "${pkgname}.sh"
- icons.tar.xz)
-sha256sums=('b0eafc139d1e0bae6f6d893a9d438e6ad5cbc3e5c622302de950be279e9dad23'
- 'df0935e38d99c506b622d99d85179ec4612140d78fcd8c73103cb89c4f58ebab'
- '6c2df91fca75903c1e518eab56ba9cddfd3e7af6d4433207d9861ce22338f677'
- '69631fcd5f2334deffd3a5e2708cd06801fd9c22f1ebd2892c2d829dc33adf97')
-
-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/resources/app.asar.unpacked/gui/scripts/macos-add-favorite.py
- rmdir "${pkgdir}"/usr/lib/cozy-desktop/resources/app.asar.unpacked/gui/{scripts/,}
-
- cd "${srcdir}"
- install -d "${pkgdir}"/usr/share/icons/
- cp -r hicolor "${pkgdir}"/usr/share/icons/
-
- 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 519526, cozy-desktop/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-10-25 16:39:51 UTC (rev 519527)
@@ -0,0 +1,50 @@
+# Maintainer: Bruno Pagani <archange at archlinux.org>
+
+pkgname=cozy-desktop
+pkgver=3.16.0
+pkgrel=1
+pkgdesc="File synchronisation for Cozy Cloud on Desktop"
+arch=(any)
+url="https://cozy-labs.github.io/cozy-desktop/"
+license=(AGPL3)
+depends=(electron5)
+makedepends=(nodejs-lts-carbon yarn git node-gyp python2)
+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_x64.AppImage"
+ "${pkgname}.desktop"
+ "${pkgname}.sh")
+sha256sums=('0dce740866cf29d4aee254400c52465ac7bd23297f336fdd180259cc3e91f544'
+ '074bb3b392e8556a3d3f962739c86f5ce06a8f8ab932489447797a0472374c05'
+ '563edd5a43c7f06080e03bec5f4e46154227f7e163500950ea39ecad466b198a'
+ '6915fe8b5771cfcb23970fbd78e07edb6ca364ba336fc3aa790de693d3ade16c')
+
+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/resources/app.asar.unpacked/gui/scripts/macos-add-favorite.py
+ rmdir "${pkgdir}"/usr/lib/cozy-desktop/resources/app.asar.unpacked/gui/{scripts/,}
+ rm -r "${pkgdir}"/usr/lib/cozy-desktop/resources/inspector
+
+ cd "${srcdir}"
+ chmod +x Cozy-Drive-${pkgver}-x86_x64.AppImage
+ ./Cozy-Drive-${pkgver}-x86_x64.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 2019-10-25 16:39:47 UTC (rev 519526)
+++ cozy-desktop.desktop 2019-10-25 16:39:51 UTC (rev 519527)
@@ -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=cozy-desktop
-StartupNotify=true
-Categories=Network;FileTransfer;
Copied: cozy-desktop/repos/community-any/cozy-desktop.desktop (from rev 519526, cozy-desktop/trunk/cozy-desktop.desktop)
===================================================================
--- cozy-desktop.desktop (rev 0)
+++ cozy-desktop.desktop 2019-10-25 16:39:51 UTC (rev 519527)
@@ -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 2019-10-25 16:39:47 UTC (rev 519526)
+++ cozy-desktop.sh 2019-10-25 16:39:51 UTC (rev 519527)
@@ -1,3 +0,0 @@
-#!/bin/sh
-
-electron2 /usr/lib/cozy-desktop/resources/app.asar "$@"
Copied: cozy-desktop/repos/community-any/cozy-desktop.sh (from rev 519526, cozy-desktop/trunk/cozy-desktop.sh)
===================================================================
--- cozy-desktop.sh (rev 0)
+++ cozy-desktop.sh 2019-10-25 16:39:51 UTC (rev 519527)
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+electron5 /usr/lib/cozy-desktop/resources/app.asar "$@"
Deleted: icons.tar.xz
===================================================================
(Binary files differ)
More information about the arch-commits
mailing list