-
Notifications
You must be signed in to change notification settings - Fork 111
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Created AUR package and a desktop entry
- Loading branch information
Showing
4 changed files
with
91 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,33 @@ | ||
# See https://packaging.python.org/tutorials/distributing-packages/#packaging-your-project | ||
# for python packaging reference. | ||
|
||
.PHONY: wheel install clean | ||
.PHONY: | ||
|
||
wheel: | ||
python-wheel: | ||
python setup.py bdist_wheel --universal | ||
|
||
upload: | ||
python-install: | ||
python setup.py install --user | ||
|
||
pip-upload: | ||
twine upload dist/* | ||
|
||
install: | ||
python setup.py install --user | ||
.ONESHELL: | ||
|
||
arch-update: | ||
cd package/archlinux | ||
makepkg --printsrcinfo > .SRCINFO | ||
|
||
arch-install: arch-update | ||
cd package/archlinux | ||
makepkg -si | ||
|
||
arch-clean: | ||
cd package/archlinux | ||
rm -rf pkg src *.tar* | ||
|
||
launch: | ||
./launch.sh | ||
|
||
clean: | ||
clean: arch-clean | ||
rm -rf build dist virtscreen.egg-info |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
pkgbase = virtscreen | ||
pkgdesc = Make your iPad/tablet/computer as a secondary monitor on Linux | ||
pkgver = 0.1.1 | ||
pkgrel = 1 | ||
url = https://github.com/kbumsik/VirtScreen | ||
arch = i686 | ||
arch = x86_64 | ||
license = GPL | ||
makedepends = python-setuptools | ||
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.1.1.tar.gz | ||
sha256sums = c584fe68ef296bced2ef5f3d88ffe81de1039c3062531c34547eeabd8c2f186d | ||
|
||
pkgname = virtscreen | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
# Maintainer: Bumsik Kim <[email protected]> | ||
_pkgname_camelcase=VirtScreen | ||
pkgname=virtscreen | ||
pkgver=0.1.1 | ||
pkgrel=1 | ||
pkgdesc="Make your iPad/tablet/computer as a secondary monitor on Linux" | ||
arch=("i686" "x86_64") | ||
url="https://github.com/kbumsik/VirtScreen" | ||
license=('GPL') | ||
groups=() | ||
depends=('xorg-xrandr' 'x11vnc' 'python-pyqt5' 'python-twisted' 'python-netifaces' 'python-qt5reactor') | ||
makedepends=('python-setuptools') | ||
optdepends=( | ||
'arandr: for display settings option' | ||
) | ||
provides=($pkgname) | ||
conflicts=() | ||
replaces=() | ||
backup=() | ||
options=() | ||
install= | ||
changelog= | ||
source=(https://github.com/kbumsik/$_pkgname_camelcase/archive/$pkgver.tar.gz) | ||
noextract=() | ||
sha256sums=('c584fe68ef296bced2ef5f3d88ffe81de1039c3062531c34547eeabd8c2f186d') | ||
|
||
build() { | ||
echo "$pkgdir" | ||
cd $_pkgname_camelcase-$pkgver | ||
python setup.py build | ||
} | ||
|
||
package() { | ||
cd $_pkgname_camelcase-$pkgver | ||
python setup.py install --root="$pkgdir/" --optimize=1 --skip-build | ||
install -Dm644 "$pkgname.desktop" "$pkgdir/usr/share/applications/$pkgname.desktop" | ||
install -Dm644 "$pkgname/icon/icon.png" "$pkgdir/usr/share/pixmaps/$pkgname.png" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
#!/usr/bin/env xdg-open | ||
[Desktop Entry] | ||
Encoding=UTF-8 | ||
Type=Application | ||
Name=VirtScreen | ||
Comment=Make your iPad/tablet/computer as a secondary monitor on Linux | ||
Exec=virtscreen | ||
Icon=virtscreen | ||
Terminal=false | ||
StartupNotify=false | ||
Categories=Application; |