1
0
Fork 0
mirror of https://github.com/kbumsik/VirtScreen.git synced 2025-03-09 15:40:18 +00:00

bumped version

This commit is contained in:
Joel 2022-07-01 10:03:12 +09:30
parent 0bcdc8afab
commit d4ea69d16d
4 changed files with 16 additions and 16 deletions

View file

@ -1,12 +1,12 @@
#!/bin/bash
PKGVER=0.3.1
PKGVER=0.3.2
# Required for debmake
DEBEMAIL="k.bumsik@gmail.com"
DEBFULLNAME="Bumsik Kim"
export PKGVER DEBEMAIL DEBFULLNAME
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
ROOT=$SCRIPT_DIR/../..
# Generate necessary files for package building (generated by debmake)
@ -14,7 +14,7 @@ cd $ROOT/package/debian
cp $ROOT/virtscreen-$PKGVER.tar.gz .
tar -xzmf virtscreen-$PKGVER.tar.gz
cp $ROOT/package/debian/Makefile \
$ROOT/package/debian/virtscreen-$PKGVER/Makefile
$ROOT/package/debian/virtscreen-$PKGVER/Makefile
cd $ROOT/package/debian/virtscreen-$PKGVER
debmake --yes -b':sh'
@ -22,18 +22,18 @@ debmake --yes -b':sh'
# debmake files
mkdir -p $ROOT/package/debian/build
cp -R $ROOT/package/debian/virtscreen-$PKGVER/debian \
$ROOT/package/debian/build/debian
$ROOT/package/debian/build/debian
cp $ROOT/package/debian/Makefile \
$ROOT/package/debian/build/
$ROOT/package/debian/build/
cp $ROOT/package/debian/{control,README.Debian} \
$ROOT/package/debian/build/debian/
$ROOT/package/debian/build/debian/
# binary and data files
cp $ROOT/package/appimage/VirtScreen.AppImage \
$ROOT/package/debian/build/
$ROOT/package/debian/build/
cp $ROOT/virtscreen.desktop \
$ROOT/package/debian/build/
$ROOT/package/debian/build/
cp -R $ROOT/data \
$ROOT/package/debian/build/
$ROOT/package/debian/build/
# Build .deb package
cd $ROOT/package/debian/build
@ -41,4 +41,4 @@ dpkg-buildpackage -b
# cleanup
rm -rf $ROOT/package/debian/virtscreen-$PKGVER \
$ROOT/package/debian/*.tar.gz
$ROOT/package/debian/*.tar.gz