summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorJulian Sparber2015-06-12 12:45:30 +0200
committerJulian Sparber2015-06-12 12:45:30 +0200
commitac5880a7a317a3f6c8bd5ae26be87c84867673de (patch)
tree088435f01a3d40ab4f9eb5add4ff4d3bd2ce3a37 /PKGBUILD
downloadaur-mx5500-set.tar.gz
[add] add init files and .SRCINFO
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD28
1 files changed, 28 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..c5afae34014
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,28 @@
+# Maintainer: Julian Sparber <julian@sparber.net>
+pkgname=mx5500-set
+pkgver=0.2
+pkgrel=1
+pkgdesc="Control your Logitech MX 5500 keyboard over hidraw."
+arch=('i686' 'x86_64')
+url="https://github.com/jsparber/mx5500-set"
+license=('GPL')
+makedepends=('git')
+
+_gitroot="git@github.com:jsparber/mx5500-set.git"
+_gitname="mx5500-set"
+
+build() {
+ cd ${srcdir}
+ rm -Rf *
+ msg "Connecting to GIT server ..."
+ git clone $_gitroot
+ cd $_gitname
+ make -f Makefile
+}
+
+
+package() {
+ cd $srcdir/$_gitname
+ mkdir -p $pkgdir/usr/bin
+ install -m a+rx mx5500 $pkgdir/usr/bin/
+}