Fichiers obligatoires package Debian
This commit is contained in:
parent
73ed7ef4e2
commit
4df989270e
7
Makefile
7
Makefile
@ -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
|
||||
|
9
debian/control
vendored
9
debian/control
vendored
@ -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
|
||||
|
1
debian/pitaya.install
vendored
1
debian/pitaya.install
vendored
@ -1 +0,0 @@
|
||||
build/pitaya-linux-x64 opt/pitaya
|
1
debian/pitaya_amd64.install
vendored
Normal file
1
debian/pitaya_amd64.install
vendored
Normal file
@ -0,0 +1 @@
|
||||
build/pitaya-linux-x64/* opt/pitaya
|
1
debian/pitaya_ia32.install
vendored
Normal file
1
debian/pitaya_ia32.install
vendored
Normal file
@ -0,0 +1 @@
|
||||
build/pitaya-linux-ia32/* opt/pitaya
|
@ -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
scripts/install-build-deps.sh
Executable file
5
scripts/install-build-deps.sh
Executable 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…
Reference in New Issue
Block a user