[arch-commits] Commit in cozy-desktop/trunk (PKGBUILD cozy-desktop.sh)

Bruno Pagani archange at archlinux.org
Mon Dec 30 23:48:38 UTC 2019


    Date: Monday, December 30, 2019 @ 23:48:38
  Author: archange
Revision: 545022

Remove useless "resources" sublevel

Modified:
  cozy-desktop/trunk/PKGBUILD
  cozy-desktop/trunk/cozy-desktop.sh

-----------------+
 PKGBUILD        |   12 ++++++------
 cozy-desktop.sh |    2 +-
 2 files changed, 7 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-12-30 23:33:30 UTC (rev 545021)
+++ PKGBUILD	2019-12-30 23:48:38 UTC (rev 545022)
@@ -16,7 +16,7 @@
 sha256sums=('1b44b4fa2c77c8090eb02bd82e63a8e571fc706fa7f66183ae5f97ed9cbacb4b'
             '460674b23dd870c2bf8eac029c48a44b988a340c4bee76ee7cb1f7524e81f5cb'
             '563edd5a43c7f06080e03bec5f4e46154227f7e163500950ea39ecad466b198a'
-            '6915fe8b5771cfcb23970fbd78e07edb6ca364ba336fc3aa790de693d3ade16c')
+            '16200451af0bd1099510da4eeb7bd440ac4db4eda82013f1b3bd58777e04004e')
 
 prepare() {
     cd ${pkgname}-${pkgver}
@@ -33,12 +33,12 @@
     yarn dist --dir
 
     install -d "${pkgdir}"/usr/lib/${pkgname}
-    cp -r dist/linux-unpacked/resources "${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
-    rm -r "${pkgdir}"/usr/lib/cozy-desktop/resources/regedit/
+    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/inspector
+    rm -r "${pkgdir}"/usr/lib/cozy-desktop/regedit
 
     cd "${srcdir}"
     chmod +x Cozy-Drive-${pkgver}-x86_64.AppImage

Modified: cozy-desktop.sh
===================================================================
--- cozy-desktop.sh	2019-12-30 23:33:30 UTC (rev 545021)
+++ cozy-desktop.sh	2019-12-30 23:48:38 UTC (rev 545022)
@@ -1,3 +1,3 @@
 #!/bin/sh
 
-electron5 /usr/lib/cozy-desktop/resources/app.asar "$@"
+electron5 /usr/lib/cozy-desktop/app.asar "$@"



More information about the arch-commits mailing list