summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: b61fdadf59f7e6bbcc156f6aa1bbbfcb71908cff (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: Johannes Bensmann <johannes.bensmann@gmx.de>
pkgname=xmouseless-git
pkgver() {
    cd "$srcdir/${pkgname%-git}"
    printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
pkgver=r31.c3dcae9
pkgrel=2
pkgdesc='Control the mouse with your keyboard - fast and simple.'
arch=('x86_64')
url="https://github.com/jbensmann/xmouseless"
license=('GPL3')
depends=(libxtst)
makedepends=('git')
provides=()
install=
changelog=
source=("git+$url")
md5sums=('SKIP')

build() {
    cd "${srcdir}/xmouseless"
    make
}

package() {
    install -Dm755 "$srcdir/xmouseless/xmouseless" "$pkgdir/usr/bin/xmouseless"
}