[arch-commits] Commit in (7 files)

Bruno Pagani archange at archlinux.org
Wed Jun 6 14:39:43 UTC 2018


    Date: Wednesday, June 6, 2018 @ 14:39:42
  Author: archange
Revision: 341218

Initial addition of cozy-desktop

Added:
  cozy-desktop/
  cozy-desktop/repos/
  cozy-desktop/trunk/
  cozy-desktop/trunk/PKGBUILD
  cozy-desktop/trunk/cozy-desktop.desktop
  cozy-desktop/trunk/cozy-desktop.sh
  cozy-desktop/trunk/icons.tar.xz

----------------------+
 PKGBUILD             |   44 ++++++++++++++++++++++++++++++++++++++++++++
 cozy-desktop.desktop |    9 +++++++++
 cozy-desktop.sh      |    3 +++
 icons.tar.xz         |    1 +
 4 files changed, 57 insertions(+)

Added: cozy-desktop/trunk/PKGBUILD
===================================================================
--- cozy-desktop/trunk/PKGBUILD	                        (rev 0)
+++ cozy-desktop/trunk/PKGBUILD	2018-06-06 14:39:42 UTC (rev 341218)
@@ -0,0 +1,44 @@
+# Maintainer: Bruno Pagani <archange at archlinux.org>
+
+pkgname=cozy-desktop
+pkgver=3.6.0
+pkgrel=1
+pkgdesc="File synchronisation for Cozy Cloud on Desktop"
+arch=('any')
+url="https://docs.cozy.io/en/sync/desktop/"
+license=('AGPL3')
+depends=('electron' 'nodejs-lts-carbon')
+makedepends=('yarn' 'git' 'node-gyp' 'python2')
+source=(${pkgname}-${pkgver}.tar.gz::"https://github.com/cozy-labs/${pkgname}/archive/v${pkgver}.tar.gz"
+        "${pkgname}.desktop"
+        "${pkgname}.sh"
+        'icons.tar.xz')
+sha256sums=('6a92d71be8d70f1c4079e280576ce5d36db4b8ef02b4fbeffd261d300a8b7354'
+            'df0935e38d99c506b622d99d85179ec4612140d78fcd8c73103cb89c4f58ebab'
+            'fe182a6ee6b42c26fc5577df7b845798bfddadbbe470ab057e12ca46d6ca93f1'
+            '69631fcd5f2334deffd3a5e2708cd06801fd9c22f1ebd2892c2d829dc33adf97')
+
+prepare() {
+    cd ${pkgname}-${pkgver}
+    yarn install
+}
+
+build() {
+    cd ${pkgname}-${pkgver}
+    yarn build
+}
+
+package() {
+    cd ${pkgname}-${pkgver}
+    yarn dist --dir
+
+    install -dm755 "${pkgdir}"/usr/lib/${pkgname}
+    cp -r dist/linux-unpacked/resources "${pkgdir}"/usr/lib/${pkgname}/
+
+    cd "${srcdir}"
+    install -dm755 "${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
+}

Added: cozy-desktop/trunk/cozy-desktop.desktop
===================================================================
--- cozy-desktop/trunk/cozy-desktop.desktop	                        (rev 0)
+++ cozy-desktop/trunk/cozy-desktop.desktop	2018-06-06 14:39:42 UTC (rev 341218)
@@ -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=cozy-desktop
+StartupNotify=true
+Categories=Network;FileTransfer;

Added: cozy-desktop/trunk/cozy-desktop.sh
===================================================================
--- cozy-desktop/trunk/cozy-desktop.sh	                        (rev 0)
+++ cozy-desktop/trunk/cozy-desktop.sh	2018-06-06 14:39:42 UTC (rev 341218)
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+electron /usr/lib/cozy-desktop/resources/app.asar "$@"


Property changes on: cozy-desktop/trunk/cozy-desktop.sh
___________________________________________________________________
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: cozy-desktop/trunk/icons.tar.xz
===================================================================
(Binary files differ)

Index: cozy-desktop/trunk/icons.tar.xz
===================================================================
--- cozy-desktop/trunk/icons.tar.xz	2018-06-06 14:39:36 UTC (rev 341217)
+++ cozy-desktop/trunk/icons.tar.xz	2018-06-06 14:39:42 UTC (rev 341218)

Property changes on: cozy-desktop/trunk/icons.tar.xz
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/x-xz
\ No newline at end of property



More information about the arch-commits mailing list