summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorgrimi2016-05-15 14:26:23 +0200
committergrimi2016-05-15 14:26:23 +0200
commitbbf4955e28380192eec7e623cc23fd72d541c647 (patch)
tree9ac71e1d36c721fe7f94fa9ac8c9b3f2a03cdbea
downloadaur-bbf4955e28380192eec7e623cc23fd72d541c647.tar.gz
Initial commit
-rw-r--r--.SRCINFO23
-rw-r--r--PKGBUILD39
-rw-r--r--dkms.conf7
3 files changed, 69 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..a363ecaa656
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,23 @@
+# Generated by mksrcinfo v8
+# Sun May 15 12:26:20 UTC 2016
+pkgbase = omnibook-dkms-git
+ pkgdesc = Kernel module for HP OmniBook,Pavilion,Toshiba and Compal ACL00 laptops
+ pkgver = 20150227
+ pkgrel = 1
+ 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
+ provides = omnibook-git
+ conflicts = omnibook-git
+ source = omnibook-git::git://devoid-pointer.net/omnibook.git
+ source = dkms.conf
+ md5sums = SKIP
+ md5sums = 8e2713c9bd733157d140f2e2bd3dc316
+
+pkgname = omnibook-dkms-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..a29fa79d164
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,39 @@
+# Contributor: grimi <grimi at poczta dot fm>
+
+_pkgname=omnibook-git
+pkgname=omnibook-dkms-git
+pkgver=20150227
+pkgrel=1
+pkgdesc="Kernel module for HP OmniBook,Pavilion,Toshiba and Compal ACL00 laptops"
+arch=('any')
+url="http://omnibook.sourceforge.net"
+license=('GPL')
+depends=('dkms')
+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"
+ "dkms.conf")
+md5sums=('SKIP'
+ '8e2713c9bd733157d140f2e2bd3dc316')
+
+
+pkgver() {
+ cd $_pkgname
+ git log -1 --format="%cd" --date="short"|sed 's|-||g'
+}
+
+build() {
+ install -m644 dkms.conf $_pkgname/
+}
+
+package() {
+ install -d "$pkgdir"/usr/src
+ rm -rf $_pkgname/.git
+ cp -r --no-preserve="mode,ownership" $_pkgname "$pkgdir"/usr/src/
+}
+
+
diff --git a/dkms.conf b/dkms.conf
new file mode 100644
index 00000000000..dd2d1c32962
--- /dev/null
+++ b/dkms.conf
@@ -0,0 +1,7 @@
+PACKAGE_NAME="omnibook"
+PACKAGE_VERSION="git"
+MAKE[0]="'make' KVERSION=$kernelver"
+CLEAN="make clean"
+BUILT_MODULE_NAME[0]="omnibook"
+DEST_MODULE_LOCATION[0]="/kernel/drivers/misc"
+AUTOINSTALL="yes"