aboutsummaryrefslogtreecommitdiffstats
path: root/testing/keynav/APKBUILD
blob: ab6b605bffc3712acdb336ced8ad29296882b3ff (plain) (blame)
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
29
30
# Maintainer: Miles Alan <m@milesalan.com>
pkgname=keynav
pkgver=0_git20180820
_gitrev="78f9e076a5618aba43b030fbb9344c415c30c1e5"
pkgrel=0
pkgdesc="Quick way to use cursor via the keyboard"
url="https://www.semicomplete.com/projects/keynav/"
arch="all"
license="BSD-3-Clause"
depends="xorg-server"
makedepends="cairo-dev libxinerama-dev xdotool-dev glib-dev libxrandr-dev perl"
checkdepends="xvfb"
subpackages="$pkgname-doc"
source="https://github.com/jordansissel/keynav/archive/$_gitrev/keynav-$_gitrev.tar.gz"
builddir="$srcdir/keynav-$_gitrev"

build() {
	make
}

check() {
	./test.sh
}

package() {
	install -Dm0755 keynav $pkgdir/usr/bin/keynav
	make keynav.1
	install -Dm644 ./*.1 -t $pkgdir/usr/share/man/man1/
}
sha512sums="5e0e3c4cf3b89a2ffecfc662d379864f18cfa0f9117564cc1f551757dc46e5a4684c3fea0891ae39da872ece9ef44b8b81fa51f0843457d4895db8517d7bd094  keynav-78f9e076a5618aba43b030fbb9344c415c30c1e5.tar.gz"