summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndré-Sebastian Liebe2017-07-09 13:11:03 +0200
committerAndré-Sebastian Liebe2017-07-09 13:11:03 +0200
commite9aabfcb08f4f2048f4d0db579aceb598d3aad6d (patch)
tree987da7b06c20532eef5e4b695158bc397d304315
parent10da913114bc793803327b278e49b7af60beb210 (diff)
downloadaur-e9aabfcb08f4f2048f4d0db579aceb598d3aad6d.tar.gz
added dkms cross kernel version compatibility
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD12
2 files changed, 14 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 7cf40b9227c..0fdeade82e5 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = dddvb-dkms
pkgdesc = Official Digital Devices driver package as DKMS
pkgver = 0.9.29
- pkgrel = 1
+ pkgrel = 2
url = http://download.digital-devices.de
install = dddvb-dkms.install
arch = any
@@ -16,7 +16,11 @@ pkgbase = dddvb-dkms
replaces = dvbsky-dvb-drivers
replaces = technotrend-dvb-drivers
source = https://github.com/DigitalDevices/dddvb/archive/0.9.29.tar.gz
+ source = https://github.com/4s1/dddvb/commit/0f1ce19840b313ec4f4bbb840ff4ef22080aeba5.patch
+ source = https://github.com/4s1/dddvb/commit/2752e86e87afe3b40a429fb7439b2021e108b098.patch
sha256sums = 4c5df07c799c8590a1bd0e463fee7dce36d89bb4519d5c3815adcb839b1653e0
+ sha256sums = 56442eb7e5cc3730be2c0965ce8804501e5913edc5d1924d62db0b5d4e99766b
+ sha256sums = dca344ba27e0160e6709087a93607903183d7131e61b27148d681a65b960dc8f
pkgname = dddvb-dkms
diff --git a/PKGBUILD b/PKGBUILD
index 9cef413a9e9..09d9a99a47a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -7,7 +7,7 @@ _pkgbase="dddvb"
pkgname="dddvb-dkms"
pkgdesc="Official Digital Devices driver package as DKMS"
pkgver=0.9.29
-pkgrel=1
+pkgrel=2
arch=("any")
url="http://download.digital-devices.de"
license=("GPL2")
@@ -17,8 +17,12 @@ replaces=('digitaldevices-dvb-drivers' 'dvbsky-dvb-drivers' 'technotrend-dvb-dri
conflicts=('digitaldevices-dvb-drivers' 'dvbsky-dvb-drivers' 'technotrend-dvb-drivers')
provides=('dddvb-dkms')
install="${pkgname}.install"
-source=("https://github.com/DigitalDevices/$_pkgbase/archive/$pkgver.tar.gz")
-sha256sums=('4c5df07c799c8590a1bd0e463fee7dce36d89bb4519d5c3815adcb839b1653e0')
+source=("https://github.com/DigitalDevices/$_pkgbase/archive/$pkgver.tar.gz"
+ "https://github.com/4s1/dddvb/commit/0f1ce19840b313ec4f4bbb840ff4ef22080aeba5.patch"
+ "https://github.com/4s1/dddvb/commit/2752e86e87afe3b40a429fb7439b2021e108b098.patch")
+sha256sums=('4c5df07c799c8590a1bd0e463fee7dce36d89bb4519d5c3815adcb839b1653e0'
+ '56442eb7e5cc3730be2c0965ce8804501e5913edc5d1924d62db0b5d4e99766b'
+ 'dca344ba27e0160e6709087a93607903183d7131e61b27148d681a65b960dc8f')
prepare() {
cd "$srcdir"
@@ -30,6 +34,8 @@ prepare() {
echo 'CLEAN="make clean"' >> dkms.conf
cd "$srcdir/$_pkgbase-$pkgver"
+ patch < ../0f1ce19840b313ec4f4bbb840ff4ef22080aeba5.patch
+ patch < ../2752e86e87afe3b40a429fb7439b2021e108b098.patch
sed -i '/apps/d' Makefile
sed -i 's/lib\/modules/usr\/lib\/modules/g' Makefile
}