summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authoryochananmarqos2019-09-25 13:14:17 -0600
committeryochananmarqos2019-09-25 13:14:17 -0600
commitbebc57f8c1d2959ef1cd9b5634bd8a458ee96290 (patch)
tree9e268dda7b223104ac7dc532b7b4a9c52780be24
parent5f9fb77c7b7111a6d25bc7aaf80936e19bd2d444 (diff)
downloadaur-bebc57f8c1d2959ef1cd9b5634bd8a458ee96290.tar.gz
setup.py removed from upstream
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD16
-rw-r--r--guiscrcpy.desktop2
-rw-r--r--guiscrcpy.sh2
4 files changed, 12 insertions, 16 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 93a9c96a766..a431dd180bc 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = guiscrcpy-git
pkgdesc = A full fledged GUI integration for the most award winning open-source Android screen mirroring system -- scrcpy
- pkgver = v1.11.r1.4c39ba3
- pkgrel = 4
+ pkgver = v1.11.r15.2983e79
+ pkgrel = 1
url = https://srevinsaju.github.io/guiscrcpy
arch = i686
arch = x86_64
@@ -19,8 +19,8 @@ pkgbase = guiscrcpy-git
source = guiscrcpy.desktop
source = guiscrcpy.sh
sha256sums = SKIP
- sha256sums = a97ede5e1f363df0b3960c7cfbfdff69e8c2b2c39ef0abc522d5ff5ecb04061b
- sha256sums = 7d85c9d18ee989efa9cec44924294a5775c00a0d1ca6c369fb43a216e1d6f19f
+ sha256sums = b9f2925be19119950b8fa5099ff81c7368e51f1973d6f2528abe702087e6e5e0
+ sha256sums = 21a9e0f6a38db03cbe84d6498519bd79d66796f47cd6a738133f38a45ea4bb42
pkgname = guiscrcpy-git
diff --git a/PKGBUILD b/PKGBUILD
index 0b18f361adc..fd0b083b9aa 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Mark Wagie <yochanan dot marqos at gmail dot com>
pkgname=guiscrcpy-git
-pkgver=v1.11.r1.4c39ba3
-pkgrel=4
+pkgver=v1.11.r15.2983e79
+pkgrel=1
pkgdesc="A full fledged GUI integration for the most award winning open-source Android screen mirroring system -- scrcpy"
arch=('i686' 'x86_64')
url="https://srevinsaju.github.io/guiscrcpy"
@@ -15,22 +15,18 @@ source=('git+https://github.com/srevinsaju/guiscrcpy.git'
"${pkgname%-git}.desktop"
"${pkgname%-git}.sh")
sha256sums=('SKIP'
- 'a97ede5e1f363df0b3960c7cfbfdff69e8c2b2c39ef0abc522d5ff5ecb04061b'
- '7d85c9d18ee989efa9cec44924294a5775c00a0d1ca6c369fb43a216e1d6f19f')
+ 'b9f2925be19119950b8fa5099ff81c7368e51f1973d6f2528abe702087e6e5e0'
+ '21a9e0f6a38db03cbe84d6498519bd79d66796f47cd6a738133f38a45ea4bb42')
pkgver() {
cd "$srcdir/${pkgname%-git}"
printf "%s" "$(git describe --long --tags | sed 's/\([^-]*-\)g/r\1/;s/-/./g')"
}
-build() {
- cd "$srcdir/${pkgname%-git}"
- python setup.py build
-}
-
package() {
cd "$srcdir/${pkgname%-git}"
- python setup.py install --root="$pkgdir/" --optimize=1 --skip-build
+ install -d "$pkgdir/opt/${pkgname%-git}"
+ cp -r "${pkgname%-git}/"* "$pkgdir/opt/${pkgname%-git}/"
install -Dm755 "$srcdir/${pkgname%-git}.sh" "$pkgdir/usr/bin/${pkgname%-git}"
install -Dm644 "$srcdir/${pkgname%-git}.desktop" "$pkgdir/usr/share/applications/${pkgname%-git}.desktop"
install -Dm644 "installers/linux/icons/${pkgname%-git}_logo.png" "$pkgdir/usr/share/pixmaps/$pkgname.png"
diff --git a/guiscrcpy.desktop b/guiscrcpy.desktop
index 8b08dabb3c1..89cb5575a40 100644
--- a/guiscrcpy.desktop
+++ b/guiscrcpy.desktop
@@ -1,7 +1,7 @@
[Desktop Entry]
Name=guiscrcpy
Comment=Your PC is your Android Device
-Exec=guiscrcpy
+Exec=python /opt/guiscrcpy/__main__.py
Terminal=false
Icon=guiscrcpy
Type=Application
diff --git a/guiscrcpy.sh b/guiscrcpy.sh
index 0f412d4a828..0aee4e60441 100644
--- a/guiscrcpy.sh
+++ b/guiscrcpy.sh
@@ -1,2 +1,2 @@
#!/bin/bash
-python /usr/lib/python3.7/site-packages/guiscrcpy/__main__.py
+python /opt/guiscrcpy/__main__.py