mirror of
https://github.com/kbumsik/VirtScreen.git
synced 2025-02-15 04:41:50 +00:00
20 lines
403 B
Bash
Executable file
20 lines
403 B
Bash
Executable file
#!/bin/bash
|
|
|
|
source _common.sh
|
|
|
|
mkdir build
|
|
cd build
|
|
# Download
|
|
wget 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 ../../Makefile.virtualenv Makefile
|
|
debmake -b':sh'
|
|
else
|
|
debmake -b':py3'
|
|
fi
|