Browse Source

Fichiers obligatoires package Debian

upgrade-electron
wpetit 4 years ago
parent
commit
4df989270e
7 changed files with 19 additions and 7 deletions
  1. +4
    -3
      Makefile
  2. +7
    -2
      debian/control
  3. +0
    -1
      debian/pitaya.install
  4. +1
    -0
      debian/pitaya_amd64.install
  5. +1
    -0
      debian/pitaya_ia32.install
  6. +1
    -1
      package.json
  7. +5
    -0
      scripts/install-build-deps.sh

+ 4
- 3
Makefile View File

@@ -3,8 +3,9 @@
build: clean
npm run build

clean:
clean: install-deps
npm run clean

install: build
env
install-deps:
./scripts/install-build-deps.sh
npm install

+ 7
- 2
debian/control View File

@@ -8,7 +8,12 @@ Homepage:
Vcs-Git: https://forge.cadoles.com/wpetit/pitaya.git
Vcs-Browser: https://forge.cadoles.com/wpetit/pitaya

Package: pitaya
Architecture: any
Package: pitaya_amd64
Architecture: amd64
Depends: ${shlibs:Depends}, ${misc:Depends}
Description: Lanceur d'application pour GNU/Linux

Package: pitaya_ia32
Architecture: ia32
Depends: ${shlibs:Depends}, ${misc:Depends}
Description: Lanceur d'application pour GNU/Linux

+ 0
- 1
debian/pitaya.install View File

@@ -1 +0,0 @@
build/pitaya-linux-x64 opt/pitaya

+ 1
- 0
debian/pitaya_amd64.install View File

@@ -0,0 +1 @@
build/pitaya-linux-x64/* opt/pitaya

+ 1
- 0
debian/pitaya_ia32.install View File

@@ -0,0 +1 @@
build/pitaya-linux-ia32/* opt/pitaya

+ 1
- 1
package.json View File

@@ -15,7 +15,7 @@
"start": "./node_modules/.bin/electron .",
"compile": "./node_modules/.bin/jsx -x js src dist",
"clean": "rm -rf dist/* build/*",
"package": "./node_modules/.bin/electron-packager ./ pitaya --prune --ignore=res/ --platform=linux --arch=ia32,x64 --version=0.33.6 --out=build --overwrite --app-version 0.0.0",
"package": "./node_modules/.bin/electron-packager ./ pitaya --prune --ignore=res/ --ignore=scripts/ --ignore=debian/ --ignore=test/ --platform=linux --arch=ia32,x64 --version=0.33.6 --out=build --overwrite --app-version 0.0.0",
"build": "npm run clean && npm run compile && npm run package"
},
"dependencies": {

+ 5
- 0
scripts/install-build-deps.sh View File

@@ -0,0 +1,5 @@
#!/usr/bin/env bash

apt-get install --yes --no-install-recommends curl ca-certificates || exit 1
curl --silent --location https://deb.nodesource.com/setup_4.x | bash - || exit 1
apt-get install --yes nodejs || exit 1

Loading…
Cancel
Save