bisq/package/linux/32bitBuild.sh

51 lines
1.3 KiB
Bash
Raw Normal View History

#!/bin/bash
cd ../../
mkdir -p gui/deploy
set -e
# Edit version
2017-06-27 01:29:51 +02:00
version=0.5.0
2017-06-27 01:29:51 +02:00
jarFile="/media/sf_vm_shared_ubuntu14_32bit/bisq-$version.jar"
# Note: fakeroot needs to be installed on linux
$JAVA_HOME/bin/javapackager \
-deploy \
2016-07-05 15:45:08 +02:00
-Bruntime="$JAVA_HOME/jre" \
-BappVersion=$version \
2017-02-11 18:46:50 +01:00
-Bcategory=Network \
2017-06-27 01:29:51 +02:00
-Bemail=team@bisq.io \
-BlicenseType=GPLv3 \
-BlicenseFile=LICENSE \
-Bicon=package/linux/icon.png \
-native deb \
2017-06-27 02:50:31 +02:00
-name Bisq \
-title Bisq \
-vendor Bisq \
-outdir gui/deploy \
2016-07-05 15:45:08 +02:00
-srcfiles $jarFile:$jdkfixFile \
2017-06-27 01:29:51 +02:00
-srcfiles "core/src/main/resources/bisq.policy" \
-srcfiles package/linux/LICENSE \
2017-06-27 01:29:51 +02:00
-appclass io.bisq.gui.app.BisqAppMain \
-BjvmOptions=-Xss1280k \
-outfile bisq
# when we have support for security manager we use that
# \
# -BjvmOptions=-Djava.security.manager \
# -BjvmOptions=-Djava.security.debug=failure \
# -BjvmOptions=-Djava.security.policy=file:bisq.policy
# sudo alien -r -c -k gui/deploy/bundles/bisq-$version.deb
2017-06-27 22:48:56 +02:00
cp "gui/deploy/bundles/bisq-$version.deb" "/home/bisq/Desktop/bisq-32bit-$version.deb"
2017-06-27 01:29:51 +02:00
mv "gui/deploy/bundles/bisq-$version.deb" "/media/sf_vm_shared_ubuntu14_32bit/bisq-32bit-$version.deb"
2017-06-27 22:48:56 +02:00
2017-06-27 01:29:51 +02:00
# mv "bisq-$version-1.i386.rpm" "/media/sf_vm_shared_ubuntu14_32bit/bisq-32bit-$version.rpm"
2016-08-07 05:10:27 +02:00
rm -r gui/deploy/
2017-06-27 01:29:51 +02:00
cd package/linux