summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorgrimi2017-09-09 06:30:47 +0200
committergrimi2017-09-09 06:30:47 +0200
commitd7c604f32a65747aba86a5b939edfcd2b5e4db53 (patch)
tree6136119083173ac78ef20be751fb691f1e275c64
parent4beaae21e8363d87cf432c22e1832ae706e69452 (diff)
downloadaur-omnibook-dkms-git.tar.gz
Fix: dependcy
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD9
2 files changed, 5 insertions, 10 deletions
diff --git a/.SRCINFO b/.SRCINFO
index d0c171ceda9..4f87ced394f 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,15 +1,13 @@
pkgbase = omnibook-dkms-git
pkgdesc = Kernel module for HP OmniBook,Pavilion,Toshiba and Compal ACL00 laptops
pkgver = 20150227
- pkgrel = 4
+ pkgrel = 5
url = http://omnibook.sourceforge.net
arch = any
license = GPL
makedepends = git
depends = dkms
- optdepends = linux-headers: build for Arch kernel
- optdepends = linux-lts-headers: build LTS kernel
- optdepends = linux-zen-headers: build ZEN kernel
+ depends = linux-headers
provides = omnibook-git
conflicts = omnibook-git
source = omnibook-git::git://devoid-pointer.net/omnibook.git
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
}