summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMateusz Gozdek2020-09-19 19:20:18 +0200
committerMateusz Gozdek2020-09-19 19:20:18 +0200
commit50b5f249347dae109f108eb77e46d3e69b3f3544 (patch)
tree86899132dbaa5ae7f4b630d4178fb3f93437881d
parentf47f5af55a78e401319119f074ebef933d07ca10 (diff)
downloadaur-50b5f249347dae109f108eb77e46d3e69b3f3544.tar.gz
Fix building if one has '.' in $PATH
As then linux/install script from repository is used instead of /usr/bin/install, which is incorrect. Signed-off-by: Mateusz Gozdek <mgozdekof@gmail.com>
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD6
2 files changed, 6 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 9a0b075f721..c79149b2130 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = droidcam
pkgdesc = A tool for using your android device as a wireless/usb webcam
pkgver = 1.4
- pkgrel = 2
+ pkgrel = 3
epoch = 1
url = https://github.com/aramg/droidcam
arch = x86_64
diff --git a/PKGBUILD b/PKGBUILD
index 5dd52df112e..27a203fc885 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -6,7 +6,7 @@
pkgbase=droidcam
pkgname=('droidcam' 'v4l2loopback-dc-dkms')
pkgver=1.4
-pkgrel=2
+pkgrel=3
epoch=1
pkgdesc='A tool for using your android device as a wireless/usb webcam'
arch=('x86_64')
@@ -35,6 +35,10 @@ prepare() {
# Apply patches.
cd "${pkgname}-${pkgver}"
patch -p0 --input="${srcdir}/0001-Makefile-allow-to-modify-how-to-link-to-libusbmuxd.patch"
+
+ # Ensure that 'install' script from repository does not collide with install binary used for
+ # building the package.
+ chmod -x ./linux/install
}
build() {