summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhilipp Born2018-02-10 19:18:47 +0100
committerPhilipp Born2018-02-10 19:18:47 +0100
commite522f700b6d19256debe6e1097b4d57446833108 (patch)
tree4a9376113d89d455566d887e940d92f4db4d64af
parentff774238223774b4e494b1ce82ae96a73a4730e4 (diff)
downloadaur-e522f700b6d19256debe6e1097b4d57446833108.tar.gz
added patch for Linux 4.15
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD11
2 files changed, 13 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index dadbae90eae..a9e944d6748 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,9 @@
# Generated by mksrcinfo v8
-# Fri Sep 29 15:01:57 UTC 2017
+# Sat Feb 10 18:18:23 UTC 2018
pkgbase = tp_smapi-dkms
pkgdesc = DKMS controlled modules for ThinkPad's SMAPI functionality
pkgver = 0.42
- pkgrel = 2
+ pkgrel = 3
url = http://www.thinkwiki.org/wiki/Tp_smapi
arch = any
license = GPL
@@ -12,9 +12,11 @@ pkgbase = tp_smapi-dkms
conflicts = tp_smapi
options = !strip
source = https://github.com/evgeni/tp_smapi/releases/download/tp-smapi%2F0.42/tp_smapi-0.42.tgz
+ source = https://github.com/evgeni/tp_smapi/commit/76c5120f7be4880cf2c6801f872327e4e70c449f.patch
source = dkms.conf
source = kbase.patch
sha256sums = 7b8d9f488c3859805f1f292bf4d518cc5b32ebb69b0ebe96367d0852dd792d27
+ sha256sums = f0a99958a49db767532c4f133453f011e56e1eb0d43b429acc4b778b366f8d4f
sha256sums = ad75d30622f7d40ad00daa784776bb595c2ac4736fa58f492d7f0d6948e0a832
sha256sums = 4bcce516a9f3c486a934cfe6e3d3c92443833f4094ec008ce25264d1a5b66097
diff --git a/PKGBUILD b/PKGBUILD
index e4580e30a59..d6bcd990481 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,6 +1,6 @@
pkgname=tp_smapi-dkms
pkgver=0.42
-pkgrel=2
+pkgrel=3
pkgdesc="DKMS controlled modules for ThinkPad's SMAPI functionality"
arch=(any)
url="http://www.thinkwiki.org/wiki/Tp_smapi"
@@ -9,8 +9,12 @@ depends=('dkms')
conflicts=('tp_smapi')
provides=("tp_smapi=${pkgver}")
options=(!strip)
-source=("https://github.com/evgeni/tp_smapi/releases/download/tp-smapi%2F${pkgver}/tp_smapi-${pkgver}.tgz" 'dkms.conf' 'kbase.patch')
+source=("https://github.com/evgeni/tp_smapi/releases/download/tp-smapi%2F${pkgver}/tp_smapi-${pkgver}.tgz"
+ 'https://github.com/evgeni/tp_smapi/commit/76c5120f7be4880cf2c6801f872327e4e70c449f.patch'
+ 'dkms.conf'
+ 'kbase.patch')
sha256sums=('7b8d9f488c3859805f1f292bf4d518cc5b32ebb69b0ebe96367d0852dd792d27'
+ 'f0a99958a49db767532c4f133453f011e56e1eb0d43b429acc4b778b366f8d4f'
'ad75d30622f7d40ad00daa784776bb595c2ac4736fa58f492d7f0d6948e0a832'
'4bcce516a9f3c486a934cfe6e3d3c92443833f4094ec008ce25264d1a5b66097')
@@ -20,6 +24,9 @@ prepare() {
patch -p2 < "${srcdir}"/kbase.patch
msg2 "Patching dkms.conf"
sed -ri 's/^(PACKAGE_VERSION=).*/\1'${pkgver}'/g' "${srcdir}"/dkms.conf
+
+ msg2 "Apply patch for Linux 4.15"
+ patch -p1 < "${srcdir}"/76c5120f7be4880cf2c6801f872327e4e70c449f.patch
}
package() {