Works on debian too

This commit is contained in:
ArsenArsen 2017-06-26 17:07:03 +02:00
parent d0e8a8b1ba
commit 4b8b763024
2 changed files with 4 additions and 3 deletions

View File

@ -4,6 +4,6 @@ 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)
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), libxcb-cursor0 (>=0.1.0), libxcb1 (>=1.11.0), libxcb-xfixes0 (>=1.11.0)
Maintainer: ArsenArsen <arsenarsentmc@outlook.com>
Description: The open source and cross platform screen sharing software

View File

@ -4,8 +4,8 @@ then
echo "Provide a version with arg1" >&2
exit 1
fi
[[ ! -d work ]] && cp ubuntu17.04 work -r
sed "s/%ver/$1/g" ubuntu17.04/DEBIAN/control > work/DEBIAN/control
[[ ! -d work ]] && cp deb work -r
sed "s/%ver/$1/g" deb/DEBIAN/control > work/DEBIAN/control
mkdir -p work/usr/bin
mkdir compiling
cd compiling
@ -23,3 +23,4 @@ cd work
md5sum usr/bin/kshare > DEBIAN/md5sums
cd ..
dpkg-deb -b work/
rm -rf work