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

Makefile: cleanup build system

This commit is contained in:
Bumsik Kim 2018-06-26 03:33:46 -04:00
parent af7b9348a5
commit d357296306
No known key found for this signature in database
GPG key ID: E31041C8EC5B01C6
5 changed files with 50 additions and 97 deletions

View file

@ -1,22 +0,0 @@
pkgbase = virtscreen
pkgdesc = Make your iPad/tablet/computer as a secondary monitor on Linux
pkgver = 0.2.4
pkgrel = 1
url = https://github.com/kbumsik/VirtScreen
arch = i686
arch = x86_64
license = GPL
makedepends = python-pip
depends = xorg-xrandr
depends = x11vnc
depends = python-pyqt5
depends = python-twisted
depends = python-netifaces
depends = python-qt5reactor
optdepends = arandr: for display settings option
provides = virtscreen
source = https://github.com/kbumsik/VirtScreen/archive/0.2.4.tar.gz
sha256sums = 0a62fd5e2b89ff7d83f9769d33b6a795c452a8bf09cf2e61ccd8282b40cefd6f
pkgname = virtscreen

View file

@ -29,11 +29,11 @@ override_version () {
}
build_pypi () {
make -C $ROOT python-wheel
make -C $ROOT package/pypi/virtscreen-$VERSION-py2.py3-none-any.whl
}
build_appimage () {
make -C $ROOT appimage-build
make -C $ROOT package/appimage/VirtScreen-x86_64.AppImage
}
build_arch () {
@ -43,16 +43,15 @@ build_arch () {
perl -pi -e "s/sha256sums=\('.*'\)/sha256sums=('$SHA256')/" \
$ROOT/package/archlinux/PKGBUILD
rm $VERSION.tar.gz
make -C $ROOT arch-upload
# make -C $ROOT arch-upload
}
build_debian () {
make -C $ROOT deb-env-build
make -C $ROOT deb-chown
make -C $ROOT package/debian/virtscreen_$VERSION-1_all.deb
}
override_version
# build_pypi
build_pypi
build_appimage
# build_arch
build_arch
build_debian

1
package/pypi/.gitignore vendored Normal file
View file

@ -0,0 +1 @@
virtscreen*.whl