summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-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')