summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMateusz Gozdek2021-03-14 22:27:25 +0100
committerMateusz Gozdek2021-03-14 22:27:25 +0100
commitf7745cd64786bf19a2236c4ad791597cce62d0df (patch)
tree6358cd0a8e3b634a5eb82ec23cdf06bd7858393e
parent66c19b4bf7d186d997cb2fe6d8cfe692645d3212 (diff)
downloadaur-f7745cd64786bf19a2236c4ad791597cce62d0df.tar.gz
Move modprobe.d backup to v4l2loopback-dc-dkms package
As only this one installs this file and right now pacman prints a warning about this. Signed-off-by: Mateusz Gozdek <mgozdekof@gmail.com>
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD5
2 files changed, 5 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index dbc7565d46c..e0359494058 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.2
- pkgrel = 1
+ pkgrel = 2
epoch = 1
url = https://github.com/aramg/droidcam
arch = x86_64
@@ -9,7 +9,6 @@ pkgbase = droidcam
makedepends = gtk3
makedepends = ffmpeg
makedepends = libusbmuxd
- backup = etc/modprobe.d/droidcam.conf
source = droidcam.desktop
source = dkms.conf
source = droidcam.conf
@@ -29,4 +28,5 @@ pkgname = droidcam
pkgname = v4l2loopback-dc-dkms
depends = dkms
+ backup = etc/modprobe.d/droidcam.conf
diff --git a/PKGBUILD b/PKGBUILD
index bb855b34f9f..63e733c465b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -6,13 +6,12 @@
pkgbase=droidcam
pkgname=('droidcam' 'v4l2loopback-dc-dkms')
pkgver=1.7.2
-pkgrel=1
+pkgrel=2
epoch=1
pkgdesc='A tool for using your android device as a wireless/usb webcam'
arch=('x86_64')
url="https://github.com/aramg/${pkgbase}"
license=('GPL')
-backup=("etc/modprobe.d/${pkgbase}.conf")
makedepends=('gtk3' 'ffmpeg' 'libusbmuxd')
source=("${pkgbase}.desktop"
@@ -59,6 +58,8 @@ package_droidcam() {
package_v4l2loopback-dc-dkms() {
depends=('dkms')
+ backup=("etc/modprobe.d/${pkgbase}.conf")
+
_pkgname=v4l2loopback-dc
local install_dir="${pkgdir}/usr/src/${_pkgname}-${pkgver}"