[arch-commits] Commit in cozy-desktop/trunk (PKGBUILD)
Bruno Pagani
archange at archlinux.org
Thu Jul 19 13:27:39 UTC 2018
Date: Thursday, July 19, 2018 @ 13:27:39
Author: archange
Revision: 362397
upgpkg: cozy-desktop 3.8.1-1
Switch to npm from yarn because of build failure.
Modified:
cozy-desktop/trunk/PKGBUILD
----------+
PKGBUILD | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-07-19 11:08:58 UTC (rev 362396)
+++ PKGBUILD 2018-07-19 13:27:39 UTC (rev 362397)
@@ -1,7 +1,7 @@
# Maintainer: Bruno Pagani <archange at archlinux.org>
pkgname=cozy-desktop
-pkgver=3.7.0
+pkgver=3.8.1
pkgrel=1
pkgdesc="File synchronisation for Cozy Cloud on Desktop"
arch=('any')
@@ -8,12 +8,12 @@
url="https://docs.cozy.io/en/sync/desktop/"
license=('AGPL3')
depends=('electron' 'nodejs-lts-carbon')
-makedepends=('yarn' 'git' 'node-gyp' 'python2')
+makedepends=('npm' '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=('1b7b0cee16667d419fc1aaab1f56aeb7b500223ea7dd1b528361cd966c883bdb'
+sha256sums=('c9a7422c2d05372a80723d9bfe9eaaca5c07457819a58ce11199505fc3af12e9'
'df0935e38d99c506b622d99d85179ec4612140d78fcd8c73103cb89c4f58ebab'
'fe182a6ee6b42c26fc5577df7b845798bfddadbbe470ab057e12ca46d6ca93f1'
'69631fcd5f2334deffd3a5e2708cd06801fd9c22f1ebd2892c2d829dc33adf97')
@@ -20,17 +20,17 @@
prepare() {
cd ${pkgname}-${pkgver}
- yarn install
+ npm install --cache "${srcdir}"/npm-cache
}
build() {
cd ${pkgname}-${pkgver}
- yarn build
+ npm run build --cache "${srcdir}"/npm-cache
}
package() {
cd ${pkgname}-${pkgver}
- yarn dist --dir
+ npm run dist --dir --cache "${srcdir}"/npm-cache
install -dm755 "${pkgdir}"/usr/lib/${pkgname}
cp -r dist/linux-unpacked/resources "${pkgdir}"/usr/lib/${pkgname}/
More information about the arch-commits
mailing list