summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authoryochananmarqos2020-01-28 12:22:15 -0700
committeryochananmarqos2020-01-28 12:22:15 -0700
commit4421c0de43ea7fa3f9965c85b20703bc9e90ebc4 (patch)
treee116987f36eef4fb80a00d464509aa61a0688975
parentc72552a04e9316fb9aeb32cb1bf49839128cf1fb (diff)
downloadaur-4421c0de43ea7fa3f9965c85b20703bc9e90ebc4.tar.gz
use included binary
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD12
-rw-r--r--guiscrcpy-git.patch44
-rw-r--r--guiscrcpy.sh2
4 files changed, 4 insertions, 58 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 650dbb97cc8..b5bdf444fe9 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = guiscrcpy-git
pkgdesc = Open Source GUI based Android Screen Mirroring System
- pkgver = 2.0.post27.r26.dd8fcdb
+ pkgver = 2.0.post27.r45.f72aae1
pkgrel = 1
url = https://srevinsaju.github.io/guiscrcpy
arch = any
@@ -21,10 +21,8 @@ pkgbase = guiscrcpy-git
conflicts = guiscrcpy
source = git+https://github.com/srevinsaju/guiscrcpy.git
source = guiscrcpy.desktop
- source = guiscrcpy.sh
sha256sums = SKIP
sha256sums = a97ede5e1f363df0b3960c7cfbfdff69e8c2b2c39ef0abc522d5ff5ecb04061b
- sha256sums = d00fdf9988324d8654509c39878bd488b63834ffe95fc51b0576204d4e2d0d34
pkgname = guiscrcpy-git
diff --git a/PKGBUILD b/PKGBUILD
index 0df179b1011..b825659ad78 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,6 +1,6 @@
# Maintainer: Mark Wagie <mark dot wagie at tutanota dot com>
pkgname=guiscrcpy-git
-pkgver=2.0.post27.r26.dd8fcdb
+pkgver=2.0.post27.r45.f72aae1
pkgrel=1
pkgdesc="Open Source GUI based Android Screen Mirroring System"
arch=('any')
@@ -14,18 +14,13 @@ optdepends=('python-pystray: for Notification Auditor'
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
source=('git+https://github.com/srevinsaju/guiscrcpy.git'
- "${pkgname%-git}.desktop"
- "${pkgname%-git}.sh")
+ "${pkgname%-git}.desktop")
sha256sums=('SKIP'
- 'a97ede5e1f363df0b3960c7cfbfdff69e8c2b2c39ef0abc522d5ff5ecb04061b'
- 'd00fdf9988324d8654509c39878bd488b63834ffe95fc51b0576204d4e2d0d34')
+ 'a97ede5e1f363df0b3960c7cfbfdff69e8c2b2c39ef0abc522d5ff5ecb04061b')
prepare() {
cd "$srcdir/${pkgname%-git}"
- # Remove folders that should be added to dev's .gitignore
- rm -rf .circleci .github .idea .vscode
-
# Remove shortcut creation as files cannot be placed in $HOME in fakeroot environment
sed -i '44,74d' setup.py
}
@@ -44,7 +39,6 @@ package() {
cd "$srcdir/${pkgname%-git}"
python setup.py install --root="$pkgdir/" --optimize=1 --skip-build
- install -Dm755 "$srcdir/${pkgname%-git}.sh" "$pkgdir/usr/bin/${pkgname%-git}"
install -Dm644 "$srcdir/${pkgname%-git}.desktop" -t "$pkgdir/usr/share/applications"
install -Dm644 "installers/linux/icons/${pkgname%-git}_logo.png" \
"$pkgdir/usr/share/pixmaps/${pkgname%-git}.png"
diff --git a/guiscrcpy-git.patch b/guiscrcpy-git.patch
deleted file mode 100644
index 60dbe2c9608..00000000000
--- a/guiscrcpy-git.patch
+++ /dev/null
@@ -1,44 +0,0 @@
-diff --unified --recursive --text guiscrcpy.orig/setup.py guiscrcpy.new/setup.py
---- guiscrcpy.orig/setup.py 2019-11-06 16:17:04.137933911 -0700
-+++ guiscrcpy.new/setup.py 2019-11-06 16:06:41.783311000 -0700
-@@ -2,7 +2,6 @@
- import sys,os
- from os import path
- import git
--from pyshortcuts import make_shortcut
- import platform
- from shutil import copyfile
- repo = git.Repo(search_parent_directories=True)
-@@ -39,32 +38,3 @@
- 'Operating System :: POSIX',
- 'License :: OSI Approved :: GNU General Public License v3 (GPLv3)'],
- )
--
--
--print("CREATING SHORTCUTS...")
--"""entry_points = {
-- 'console_scripts': [
-- 'guiscrcpy=guiscrcpy.__main__:launch_main']
-- },"""
--print("thanks to pyshortcuts by @newvile shortcuts for pip packages are easier than ever")
--
--if platform.platform()=="Windows":
-- cfgpath = os.path.expanduser("~/AppData/Local/guiscrcpy/")
--else:
-- cfgpath = os.path.expanduser("~/.config/guiscrcpy/")
--
--def last_i():
--
-- copyfile("./guiscrcpy/icons/guiscrcpy_logo_SRj_icon.ico", cfgpath+"logo.ico")
-- make_shortcut(
-- script=os.path.expanduser("~/.local/bin/guiscrcpy"),
-- name="guiscrcpy",
-- description="Open Source GUI based Android Screen Mirroring System",
-- icon=cfgpath + "logo.ico",
-- desktop=True,
-- startmenu=True,
-- executable=None,
-- )
--
--
--last_i()
diff --git a/guiscrcpy.sh b/guiscrcpy.sh
deleted file mode 100644
index 7eaa8cc1dd3..00000000000
--- a/guiscrcpy.sh
+++ /dev/null
@@ -1,2 +0,0 @@
-#!/bin/bash
-python /usr/lib/python3.8/site-packages/guiscrcpy/__main__.py