mirror of
https://github.com/kbumsik/VirtScreen.git
synced 2025-02-12 19:31:50 +00:00
updated PKGBUILD from upsteam aur.archlinux.org
This commit is contained in:
parent
d4ea69d16d
commit
6b293bd366
1 changed files with 16 additions and 32 deletions
|
@ -1,41 +1,25 @@
|
|||
# Maintainer: Bumsik Kim <k.bumsik@gmail.com>
|
||||
_pkgname_camelcase=VirtScreen
|
||||
# Maintainer: Luis Martinez <luis dot martinez at tuta dot io>
|
||||
# Contributor: Bumsik Kim <k.bumsik@gmail.com>
|
||||
|
||||
pkgname=virtscreen
|
||||
pkgver=0.3.2
|
||||
pkgrel=1
|
||||
pkgrel=0
|
||||
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=()
|
||||
arch=('any')
|
||||
url="https://github.com/dderjoel/VirtScreen"
|
||||
license=('GPL3')
|
||||
depends=('xorg-xrandr' 'x11vnc' 'python-pyqt5' 'qt5-quickcontrols2' 'python-qasync' 'python-netifaces')
|
||||
makedepends=('python-pip' 'perl')
|
||||
optdepends=(
|
||||
'arandr: for display settings option'
|
||||
)
|
||||
provides=($pkgname)
|
||||
conflicts=()
|
||||
replaces=()
|
||||
backup=()
|
||||
options=()
|
||||
install=
|
||||
changelog=
|
||||
source=(src::git+https://github.com/kbumsik/$_pkgname_camelcase.git#tag=$pkgver)
|
||||
noextract=()
|
||||
md5sums=('SKIP')
|
||||
makedepends=('python-setuptools')
|
||||
optdepends=('arandr: for display settings option')
|
||||
source=("$pkgname-$pkgver.tar.gz::$url/archive/refs/tags/$pkgver.tar.gz")
|
||||
sha256sums=('fdf4192829a1b2c2554e2f33b1c12756d34b691aad280bee207db3c9cd62f11d')
|
||||
|
||||
prepare() {
|
||||
cd $srcdir/src
|
||||
# Delete PyQt5 from install_requires because python-pyqt5 does not have PyPI metadata.
|
||||
# See https://bugs.archlinux.org/task/58887
|
||||
perl -pi -e "s/\'PyQt5>=\d+\.\d+\.\d+\',//" \
|
||||
setup.py
|
||||
build() {
|
||||
cd "VirtScreen-$pkgver"
|
||||
python setup.py build
|
||||
}
|
||||
|
||||
package() {
|
||||
cd $srcdir/src
|
||||
PIP_CONFIG_FILE=/dev/null /usr/bin/pip install --isolated --root="$pkgdir" --ignore-installed --ignore-requires-python --no-deps .
|
||||
# These are already installed by setup.py
|
||||
# install -Dm644 "data/$pkgname.desktop" "$pkgdir/usr/share/applications/$pkgname.desktop"
|
||||
# install -Dm644 "data/icon.png" "$pkgdir/usr/share/pixmaps/$pkgname.png"
|
||||
cd "VirtScreen-$pkgver"
|
||||
python setup.py install --root="$pkgdir" --optimize=1 --skip-build
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue