diff options
author | Mateusz Gozdek | 2020-09-19 19:20:18 +0200 |
---|---|---|
committer | Mateusz Gozdek | 2020-09-19 19:20:18 +0200 |
commit | 50b5f249347dae109f108eb77e46d3e69b3f3544 (patch) | |
tree | 86899132dbaa5ae7f4b630d4178fb3f93437881d | |
parent | f47f5af55a78e401319119f074ebef933d07ca10 (diff) | |
download | aur-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-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 6 |
2 files changed, 6 insertions, 2 deletions
@@ -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 @@ -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() { |