summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAshcon Mohseninia2020-02-21 16:34:17 +0000
committerAshcon Mohseninia2020-02-21 16:34:17 +0000
commit60e00549f4959388005a6a94687cba02c830cd48 (patch)
tree961543dcc9adeb9a79b5206d6997c120e362382d
downloadaur-60e00549f4959388005a6a94687cba02c830cd48.tar.gz
First version of PKGBUILD
-rw-r--r--.SRCINFO17
-rw-r--r--PKGBUILD28
2 files changed, 45 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..8402fcd23dd
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,17 @@
+pkgbase = razer-laptop-control-dkms-git
+ pkgdesc = Kernel module for razer laptop's for RGB, fan and power control
+ pkgver = 1.0.1
+ pkgrel = 1
+ url = https://github.com/rnd-ash/razer-laptop-control
+ arch = i686
+ arch = x86_64
+ license = GPL2
+ makedepends = git
+ depends = dkms
+ depends = udev
+ conflicts = openrazer-meta
+ source = git+https://github.com/rnd-ash/razer-laptop-control
+ md5sums = SKIP
+
+pkgname = razer-laptop-control-dkms-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..203462495c6
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,28 @@
+# Maintainer : Ashcon Mohseninia <ashcon50@gmail.com>
+
+pkgname="razer-laptop-control-dkms-git"
+pkgver=1.0.1
+pkgrel=1
+pkgdesc="Kernel module for razer laptop's for RGB, fan and power control"
+arch=('i686' 'x86_64')
+url="https://github.com/rnd-ash/razer-laptop-control"
+license=("GPL2")
+depends=('dkms' 'udev')
+makedepends=('git')
+source=("git+https://github.com/rnd-ash/razer-laptop-control")
+md5sums=("SKIP")
+conflicts=("openrazer-meta")
+
+prepare() {
+ cd $reponame
+ echo "$pwd"
+}
+
+package() {
+ cd "razer-laptop-control/driver"
+ make DESTDIR="$pkgdir" driver_dkms
+ cd ".."
+ mkdir -p "$pkgdir/etc/udev/rules.d/"
+ cp "udev/99-razerlc.rules" "udev/razer_perms.sh" "$pkgdir/etc/udev/rules.d/"
+ chmod +x "$pkgdir/etc/udev/rules.d/razer_perms.sh"
+}