2018-05-23 01:26:17 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
2018-05-25 18:35:57 +00:00
|
|
|
source _common.sh
|
2018-05-23 01:26:17 +00:00
|
|
|
|
|
|
|
mkdir build
|
|
|
|
cd build
|
|
|
|
# Download
|
2018-06-18 07:11:21 +00:00
|
|
|
wget -q https://github.com/kbumsik/VirtScreen/archive/$PKGVER.tar.gz
|
2018-05-23 01:26:17 +00:00
|
|
|
tar -xzmf $PKGVER.tar.gz
|
|
|
|
# rename packages
|
|
|
|
mv VirtScreen-$PKGVER virtscreen-$PKGVER
|
|
|
|
mv $PKGVER.tar.gz virtscreen-$PKGVER.tar.gz
|
|
|
|
|
|
|
|
cd virtscreen-$PKGVER
|
2018-06-03 15:55:15 +00:00
|
|
|
if [ $1 = "virtualenv" ]; then
|
2018-06-18 07:11:21 +00:00
|
|
|
cp -f ../../Makefile.virtualenv Makefile
|
2018-06-03 15:55:15 +00:00
|
|
|
debmake -b':sh'
|
|
|
|
else
|
|
|
|
debmake -b':py3'
|
|
|
|
fi
|