diff options
-rw-r--r-- | .SRCINFO | 17 | ||||
-rw-r--r-- | PKGBUILD | 28 |
2 files changed, 45 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..8402fcd23dda --- /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 000000000000..203462495c67 --- /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" +} |