summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorFelix Morgner2017-12-31 19:18:37 +0100
committerFelix Morgner2017-12-31 19:18:37 +0100
commit72f5174e4a05c55646d46812889ab5faeed55ccb (patch)
tree9e1e196fc576c2fd02aa7caefc75d5ae4931cf9a /PKGBUILD
parent6bb2861fe6e96e898a3cd3e710a58235a35ee832 (diff)
downloadaur-cyber-dkms.tar.gz
cyber-dkms: patch uaccess changes
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD6
1 files changed, 5 insertions, 1 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 270dc085b92..19f0f39e877 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
_pkgname=cyber
pkgname=${_pkgname}-dkms
pkgver=42.1729.1812
-pkgrel=3
+pkgrel=4
pkgdesc="CYBER for your system (DKMS)"
arch=('i686' 'x86_64')
url="https://github.com/fmorgner/dev-cyber"
@@ -11,14 +11,18 @@ license=('GPL2')
depends=('dkms')
source=("https://github.com/fmorgner/dev-cyber/archive/v${pkgver}.tar.gz"
"dkms.conf"
+ "uaccess.patch"
"10-cyber.conf")
sha256sums=('ffb268642b5823fc4f15a3d91c575c03f66c13d286d80dd09c2d94e9011b1e34'
'd976032e9f79a5cc679872b48e1c38124411891b6ce01527bfe24ff8f3df3a16'
+ '365d11440e7dfaf281ad6d844a0f93a2f7eaca68880bfa89da5c58aaba0164e5'
'99100ac04db2147ef246377b1ea4fc0c17106d37286e5d61cc02201301a85bbb')
package() {
cd "${srcdir}"
+ (cd "${srcdir}/dev-${_pkgname}-${pkgver}" && patch -p1 -i "${srcdir}/uaccess.patch")
+
local install_dir="${pkgdir}/usr/src/${_pkgname}-${pkgver}"
install -Dm644 10-cyber.conf "${pkgdir}/etc/modules-load.d/10-cyber.conf"