summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorgrimi2016-05-15 14:26:23 +0200
committergrimi2016-05-15 14:26:23 +0200
commitbbf4955e28380192eec7e623cc23fd72d541c647 (patch)
tree9ac71e1d36c721fe7f94fa9ac8c9b3f2a03cdbea /PKGBUILD
downloadaur-bbf4955e28380192eec7e623cc23fd72d541c647.tar.gz
Initial commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD39
1 files changed, 39 insertions, 0 deletions
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/
+}
+
+