summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorlhark2016-04-17 23:24:39 +0000
committerlhark2016-04-17 23:24:39 +0000
commit0788f8b73c727fda895c2df101b0b8278d5d64fc (patch)
tree1ab64cac7fd43f05fe9d4029b50c9191c80dbe08
downloadaur-0788f8b73c727fda895c2df101b0b8278d5d64fc.tar.gz
Initial commit
-rw-r--r--.SRCINFO17
-rw-r--r--PKGBUILD33
2 files changed, 50 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..3a746913a59
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,17 @@
+pkgbase = msiklm-git
+ pkgdesc = A simple backlighting manager for MSI steelseries keyboards
+ pkgver = 20160417.d3f15b9
+ pkgrel = 1
+ url = https://github.com/Gibtnix/MSIKLM
+ arch = i686
+ arch = x86_64
+ license = GPL3
+ makedepends = git
+ depends = hidapi
+ provides = msiklm
+ conflicts = msiklm
+ source = msiklm-git::git://github.com/Gibtnix/MSIKLM
+ md5sums = SKIP
+
+pkgname = msiklm-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..09ecaa3e045
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,33 @@
+# Maintainer: lhark <lhark at hotmail dot fr>
+
+pkgname=msiklm-git
+_pkgname=msiklm
+pkgver=20160417.d3f15b9
+pkgrel=1
+pkgdesc='A simple backlighting manager for MSI steelseries keyboards'
+arch=('i686' 'x86_64')
+license=('GPL3')
+depends=('hidapi')
+makedepends=('git')
+
+url="https://github.com/Gibtnix/MSIKLM"
+source=('msiklm-git::git://github.com/Gibtnix/MSIKLM')
+md5sums=('SKIP')
+
+provides=("${_pkgname}")
+conflicts=("${_pkgname}")
+
+pkgver() {
+ cd "${srcdir}/${pkgname}"
+ git log -1 --format='%cd.%h' --date=short | tr -d -
+}
+
+build() {
+ cd "${srcdir}/${pkgname}"
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}"
+ install -Dm755 msiklm "$pkgdir/usr/bin/msiklm"
+}