summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authoryochananmarqos2020-01-13 08:42:31 -0700
committeryochananmarqos2020-01-13 08:42:31 -0700
commit2619b750bf1f82f7a260b30610708ff792da8835 (patch)
tree24a24ed6c9eebf6c19b6f9334d12623ada299bb5
parent8741b5fc0ebd8ceda3bb4f9a4a7fcc5148e94d26 (diff)
downloadaur-2619b750bf1f82f7a260b30610708ff792da8835.tar.gz
use sed instead of patch
-rw-r--r--.SRCINFO7
-rw-r--r--PKGBUILD25
2 files changed, 14 insertions, 18 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 9b82704893b..770206b91c5 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,10 +1,9 @@
pkgbase = guiscrcpy-git
pkgdesc = Open Source GUI based Android Screen Mirroring System
- pkgver = 2.0.r3.4456fe6
+ pkgver = 2.0.post27.r24.e8237a4
pkgrel = 1
url = https://srevinsaju.github.io/guiscrcpy
- arch = i686
- arch = x86_64
+ arch = any
license = GPL3
makedepends = git
makedepends = python-setuptools
@@ -22,11 +21,9 @@ pkgbase = guiscrcpy-git
source = git+https://github.com/srevinsaju/guiscrcpy.git
source = guiscrcpy.desktop
source = guiscrcpy.sh
- source = guiscrcpy-git.patch
sha256sums = SKIP
sha256sums = a97ede5e1f363df0b3960c7cfbfdff69e8c2b2c39ef0abc522d5ff5ecb04061b
sha256sums = d00fdf9988324d8654509c39878bd488b63834ffe95fc51b0576204d4e2d0d34
- sha256sums = ea4260b593927008d6c57dd982b4fb2de5cf8579372f8daf5ef072cf70f27487
pkgname = guiscrcpy-git
diff --git a/PKGBUILD b/PKGBUILD
index 67d92cc3a84..aa3a16eea6f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,12 +1,12 @@
-# Maintainer: Mark Wagie <yochanan dot marqos at gmail dot com>
+# Maintainer: Mark Wagie <mark dot wagie at tutanota dot com>
pkgname=guiscrcpy-git
-pkgver=2.0.r3.4456fe6
+pkgver=2.0.post27.r24.e8237a4
pkgrel=1
pkgdesc="Open Source GUI based Android Screen Mirroring System"
-arch=('i686' 'x86_64')
+arch=('any')
url="https://srevinsaju.github.io/guiscrcpy"
license=('GPL3')
-depends=('scrcpy' 'python-pyqt5' 'python-psutil' 'python-qdarkstyle' 'python-gitpython'
+depends=('scrcpy' 'python-pyqt5' 'python-psutil' 'python-qdarkstyle' 'python-gitpython'
'python-pillow' 'python-pynput')
makedepends=('git' 'python-setuptools')
optdepends=('python-pystray: for Notification Auditor'
@@ -15,21 +15,19 @@ provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
source=('git+https://github.com/srevinsaju/guiscrcpy.git'
"${pkgname%-git}.desktop"
- "${pkgname%-git}.sh"
- "$pkgname.patch")
+ "${pkgname%-git}.sh")
sha256sums=('SKIP'
'a97ede5e1f363df0b3960c7cfbfdff69e8c2b2c39ef0abc522d5ff5ecb04061b'
- 'd00fdf9988324d8654509c39878bd488b63834ffe95fc51b0576204d4e2d0d34'
- 'ea4260b593927008d6c57dd982b4fb2de5cf8579372f8daf5ef072cf70f27487')
-
+ 'd00fdf9988324d8654509c39878bd488b63834ffe95fc51b0576204d4e2d0d34')
+
prepare() {
cd "$srcdir/${pkgname%-git}"
-
- # Remove garbage
+
+ # Remove garbage 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
- patch -Np1 -i "$srcdir/$pkgname.patch"
+ sed '44,74d' setup.py
}
pkgver() {
@@ -45,6 +43,7 @@ build() {
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" \