aboutsummarylogtreecommitdiffstats
path: root/PKGBUILD
blob: c5afae34014924c875ae4c2f487d6f8593da93d0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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/
}