summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorrnd_ash2020-09-04 09:04:53 +0100
committerrnd_ash2020-09-04 09:04:53 +0100
commit96b36ea4a5c5aef7d2136f2562355062b000ccc7 (patch)
treecf63097b891fca68387b1de674b32256223d44ae
parenta044e9db90e867eb68957a0d9023aa646f7612ce (diff)
downloadaur-razer-laptop-control-dkms-git.tar.gz
Switch to git pkgver
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD8
2 files changed, 5 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index f8ccd93c6e4..98fbf4f57ce 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = razer-laptop-control-dkms-git
pkgdesc = Kernel module and daemon for razer laptop's for RGB, fan and power control
- pkgver = 1.5
+ pkgver = 1.3.0.r0.g93782d8
pkgrel = 1
url = https://github.com/rnd-ash/razer-laptop-control
install = driver.install
diff --git a/PKGBUILD b/PKGBUILD
index 493d22e5100..21e8871b4ca 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer : Ashcon Mohseninia <ashcon50@gmail.com>
pkgname="razer-laptop-control-dkms-git"
-pkgver=1.5
+pkgver=1.3.0.r0.g93782d8
pkgrel=1
pkgdesc="Kernel module and daemon for razer laptop's for RGB, fan and power control"
arch=('i686' 'x86_64')
@@ -14,9 +14,9 @@ md5sums=("SKIP")
conflicts=("openrazer-meta" "openrazer-driver-dkms" "openrazer-meta-git" "openrazer-daemon-git")
install=driver.install
-prepare() {
- cd $reponame
- echo "$pwd"
+pkgver() {
+ cd "razer-laptop-control"
+ git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
package() {