summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavi Augusto2021-10-06 17:19:21 -0300
committerDavi Augusto2021-10-06 17:19:21 -0300
commit0d6875a4b075e3cea930da0c843ac2454c3907a0 (patch)
treef3b9ae144f681d41c8ba582d7d2327ab725e55ec
parentdde1758e29224a3fbc15f1eed329a3abc187631a (diff)
downloadaur-0d6875a4b075e3cea930da0c843ac2454c3907a0.tar.gz
Upstream update
Version has been updated to 2.6. The PKGBUILD now also includes some file permission fixes as, at the time of writing, the provided deb has all directories (and the program binary) set to 775 instead of 755.
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD11
2 files changed, 12 insertions, 7 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 985b96f57e49..615c89feb7c5 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = iriunwebcam-bin
pkgdesc = Use your phone's camera as a wireless webcam in your PC.
- pkgver = 2.4
- pkgrel = 2
+ pkgver = 2.6
+ pkgrel = 1
url = http://iriun.gitlab.io
arch = any
license = unknown
@@ -10,8 +10,8 @@ pkgbase = iriunwebcam-bin
depends = v4l2loopback-dkms
depends = android-tools
options = !strip
- source = iriunwebcam-2.4.deb::http://iriun.gitlab.io/iriunwebcam-2.4.deb
- md5sums = 9ebc6c0f31fcffce744ffa589fe13100
+ source = iriunwebcam-2.6.deb::https://iriun.gitlab.io/iriunwebcam-2.6.deb
+ md5sums = 8ae4a38b3322c1ca98ef1f4d2f5c0f48
pkgname = iriunwebcam-bin
diff --git a/PKGBUILD b/PKGBUILD
index 3f873e77e5c8..46dd4d621010 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,8 +2,8 @@
# Contributor: DanielH, agstrc
pkgname=iriunwebcam-bin
-pkgver=2.4
-pkgrel=2
+pkgver=2.6
+pkgrel=1
pkgdesc="Use your phone's camera as a wireless webcam in your PC."
arch=('any')
url="http://iriun.gitlab.io"
@@ -14,6 +14,11 @@ depends=('jack' 'qt5-base' 'v4l2loopback-dkms' 'android-tools')
package() {
tar -xf "${srcdir}/data.tar.xz" -C "${pkgdir}"
+
+ # The permissions on the upstream file are wrong (eg: /etc is set to 775 instead of 755)
+ # The command below sets directories to 755 but files to 644
+ chmod -R u+rwX,go+rX,go-w "${pkgdir}"
+ chmod 755 "${pkgdir}/usr/local/bin/iriunwebcam"
}
-md5sums=('9ebc6c0f31fcffce744ffa589fe13100')
+md5sums=('8ae4a38b3322c1ca98ef1f4d2f5c0f48')