summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorgrimi2017-09-09 06:30:47 +0200
committergrimi2017-09-09 06:30:47 +0200
commitd7c604f32a65747aba86a5b939edfcd2b5e4db53 (patch)
tree6136119083173ac78ef20be751fb691f1e275c64 /PKGBUILD
parent4beaae21e8363d87cf432c22e1832ae706e69452 (diff)
downloadaur-omnibook-dkms-git.tar.gz
Fix: dependcy
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD9
1 files changed, 3 insertions, 6 deletions
diff --git a/PKGBUILD b/PKGBUILD
index a9312f69f24..76480803830 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,16 +3,13 @@
_pkgname=omnibook-git
pkgname=omnibook-dkms-git
pkgver=20150227
-pkgrel=4
+pkgrel=5
pkgdesc="Kernel module for HP OmniBook,Pavilion,Toshiba and Compal ACL00 laptops"
arch=('any')
url="http://omnibook.sourceforge.net"
license=('GPL')
-depends=('dkms')
+depends=('dkms' 'linux-headers')
makedepends=('git')
-optdepends=('linux-headers: build for Arch kernel'
- 'linux-lts-headers: build LTS kernel'
- 'linux-zen-headers: build ZEN kernel')
conflicts=('omnibook-git')
provides=('omnibook-git')
source=("$_pkgname::git://devoid-pointer.net/omnibook.git"
@@ -31,7 +28,7 @@ build() {
cd $_pkgname
install -m644 ../dkms.conf ./
patch -Np0 -i ../makefile.patch
- # fix ker 4.12
+ # fix kernel >= 4.12
sed -i 's|<asm/uaccess.h>|<linux/uaccess.h>|' init.c
}