Debian making thingy
This commit is contained in:
parent
ab98120ce5
commit
27c9a57a61
25
packages/makedeb.sh
Executable file
25
packages/makedeb.sh
Executable file
@ -0,0 +1,25 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
if [[ "$1" == "" ]]
|
||||||
|
then
|
||||||
|
echo "Provide a version with arg1" >&2
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
cp ubuntu17.04 work -r
|
||||||
|
sed "s/%ver/$1/g" ubuntu17.04/DEBIAN/control > work/DEBIAN/control
|
||||||
|
mkdir -p work/usr/bin
|
||||||
|
mkdir compiling
|
||||||
|
cd compiling
|
||||||
|
qmake ../../KShare.pro
|
||||||
|
if make
|
||||||
|
then
|
||||||
|
cd ..
|
||||||
|
cp compiling/KShare work/usr/bin/kshare
|
||||||
|
rm -rf compiling
|
||||||
|
else
|
||||||
|
rm -rf compiling
|
||||||
|
echo "Failed to make!"
|
||||||
|
exit 2
|
||||||
|
fi
|
||||||
|
cd work
|
||||||
|
md5sum usr/bin/kshare > DEBIAN/md5sums
|
||||||
|
cd ..
|
9
packages/ubuntu17.04/DEBIAN/control
vendored
Normal file
9
packages/ubuntu17.04/DEBIAN/control
vendored
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
Package: kshare
|
||||||
|
Version: %ver
|
||||||
|
Architecture: all
|
||||||
|
Essential: no
|
||||||
|
Section: contrib
|
||||||
|
Priority: optional
|
||||||
|
Depends: qt5-default (>=5.7.0) libqt5x11extras5 (>=5.7.0) libavcodec (>=3.2.0) libavformat (>=3.2.0) libswscale (>=3.2.0) libavutil (>=3.2.0)
|
||||||
|
Maintainer: ArsenArsen <arsenarsentmc@outlook.com>
|
||||||
|
Description: The open source and cross platform screen sharing software
|
Loading…
Reference in New Issue
Block a user