diff options
author | Jat | 2020-08-23 03:31:01 +0800 |
---|---|---|
committer | Jat | 2020-08-23 03:31:01 +0800 |
commit | 4e180dade7bc6ebea3868800716bf020c699c0b0 (patch) | |
tree | cffba047d86233fd5d33191a6907b2b1c68babc8 | |
parent | 3fdc1f90e1dd147f79b3503fa662fbb3700f79cc (diff) | |
download | aur-4e180dade7bc6ebea3868800716bf020c699c0b0.tar.gz |
bugfix
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 14 |
2 files changed, 8 insertions, 10 deletions
@@ -1,7 +1,7 @@ pkgbase = magewell-pro-capture-dkms pkgdesc = Driver for Magewell Pro Capture Family pkgver = 1.3.0.4186 - pkgrel = 2 + pkgrel = 3 url = https://www.magewell.com/downloads/pro-capture#/driver/linux-x86 arch = x86_64 license = unknown @@ -9,7 +9,7 @@ pkgbase = magewell-pro-capture-dkms depends = alsa-lib conflicts = magewell-pro-capture source = magewell-pro-capture-1.3.0.4186.tar.gz::https://github.com/jat001/magewell-pro-capture/archive/1.3.0.4186.tar.gz - sha256sums = f2e1d8b3791f2dd6d68894145839c22017000deb23f65b0d35f43b9390ea8286 + sha256sums = ce333ff3274e92852f6a874c4a8c866530cc7bcfddf36545bf82f7ee8489fc4b pkgname = magewell-pro-capture-dkms @@ -3,7 +3,7 @@ _pkgname=magewell-pro-capture pkgname=${_pkgname}-dkms pkgver=1.3.0.4186 -pkgrel=2 +pkgrel=3 pkgdesc='Driver for Magewell Pro Capture Family' arch=('x86_64') url='https://www.magewell.com/downloads/pro-capture#/driver/linux-x86' @@ -11,22 +11,20 @@ license=('unknown') conflicts=("${_pkgname}") depends=('dkms' 'alsa-lib') source=("${_pkgname}-${pkgver}.tar.gz::https://github.com/jat001/${_pkgname}/archive/${pkgver}.tar.gz") -sha256sums=('f2e1d8b3791f2dd6d68894145839c22017000deb23f65b0d35f43b9390ea8286') +sha256sums=('ce333ff3274e92852f6a874c4a8c866530cc7bcfddf36545bf82f7ee8489fc4b') package() { - destdir=${pkgdir}/usr/src/${_pkgname}-${pkgver} cd ${_pkgname}-${pkgver} - install -Dm644 scripts/dkms.conf src/Makefile src/ProCaptureLib_64.lib -t ${destdir} - touch ${destdir}/.ProCaptureLib.o.cmd - cp -r src/public src/sources ${destdir} - install -Dm644 src/res/* -t ${pkgdir}/usr/share/ProCapture/res - sed -i 's#/usr/local/share/ProCapture/src/res#/usr/share/ProCapture/res#g' scripts/ProCapture.conf install -Dm644 scripts/ProCapture.conf -t ${pkgdir}/usr/lib/modprobe.d install -Dm644 scripts/10-procatpure-event-dev.rules -t ${pkgdir}/usr/lib/udev/rules.d install -Dm755 bin/mwcap-control_64 ${pkgdir}/usr/bin/mwcap-control install -Dm755 bin/mwcap-info_64 ${pkgdir}/usr/bin/mwcap-info + + srcdir=${pkgdir}/usr/src/${_pkgname}-${pkgver} + install -Dm644 scripts/dkms.conf src/Makefile src/ProCaptureLib_64.lib -t ${srcdir} + cp -r src/public src/sources ${srcdir} } |