1
0
Fork 0
mirror of https://github.com/kbumsik/VirtScreen.git synced 2025-02-15 04:41:50 +00:00
VirtScreen/package/debian/debmake.sh
2018-06-18 20:32:42 -04:00

20 lines
409 B
Bash
Executable file

#!/bin/bash
source _common.sh
mkdir build
cd build
# Download
wget -q https://github.com/kbumsik/VirtScreen/archive/$PKGVER.tar.gz
tar -xzmf $PKGVER.tar.gz
# rename packages
mv VirtScreen-$PKGVER virtscreen-$PKGVER
mv $PKGVER.tar.gz virtscreen-$PKGVER.tar.gz
cd virtscreen-$PKGVER
if [ $1 = "virtualenv" ]; then
cp -f ../../Makefile.virtualenv Makefile
debmake -b':sh'
else
debmake -b':py3'
fi