summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMateusz Gozdek2021-01-14 18:00:48 +0100
committerMateusz Gozdek2021-01-14 18:00:48 +0100
commitc4d2a09abaffb00651204878a87fb09aaaa31b18 (patch)
treea6c287798a395965a591e4a876c10b772c4f50ee
parent710c5c878995f2e702a43219cd1e42a0b2e387f8 (diff)
downloadaur-c4d2a09abaffb00651204878a87fb09aaaa31b18.tar.gz
Use $srcdir instead of ../..
To support building in isolated environments. $srcdir should point to src/ directory and it should have symlinks or copies of files specified in 'source', so things should work properly. Signed-off-by: Mateusz Gozdek <mgozdekof@gmail.com>
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD6
2 files changed, 4 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 5043caabd78..015d602e4e9 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.7.1
- pkgrel = 1
+ pkgrel = 2
epoch = 1
url = https://github.com/aramg/droidcam
arch = x86_64
diff --git a/PKGBUILD b/PKGBUILD
index 83bcf3b40e6..4fbd1efdf82 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -6,7 +6,7 @@
pkgbase=droidcam
pkgname=('droidcam' 'v4l2loopback-dc-dkms')
pkgver=1.7.1
-pkgrel=1
+pkgrel=2
epoch=1
pkgdesc='A tool for using your android device as a wireless/usb webcam'
arch=('x86_64')
@@ -52,8 +52,8 @@ package_droidcam() {
install -Dm755 "${pkgbase}-cli" "$pkgdir/usr/bin/${pkgbase}-cli"
install -Dm644 icon2.png "${pkgdir}/usr/share/pixmaps/${pkgbase}.png"
install -Dm644 icon2.png "${pkgdir}/opt/droidcam-icon.png"
- install -Dm644 "../../${pkgbase}.desktop" "${pkgdir}/usr/share/applications/${pkgbase}.desktop"
- install -Dm644 "../../${pkgbase}.conf" "${pkgdir}/etc/modules-load.d/${pkgbase}.conf"
+ install -Dm644 "${srcdir}/${pkgbase}.desktop" "${pkgdir}/usr/share/applications/${pkgbase}.desktop"
+ install -Dm644 "${srcdir}/${pkgbase}.conf" "${pkgdir}/etc/modules-load.d/${pkgbase}.conf"
install -Dm644 README.md "${pkgdir}/usr/share/licenses/${pkgbase}/LICENSE"
}