blob: 33b32f3fb2fdca4cbd843a9ea88024cb2417421d (
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
29
30
|
# Maintainer: Ahmet Arda Kavakcı <ahmetardakavakc@gmail.com>
pkgname=keym-git
_reponame=keym
pkgver=r40.67a6d39
pkgrel=1
pkgdesc="C tool to control mouse with keyboard for X11 "
provides=('keym')
arch=(x86_64)
url="https://github.com/cwkx/keym"
license=('MIT')
depends=('libx11' 'libxtst')
makedepends=('gcc' 'git')
source=("git+$url")
sha256sums=('SKIP')
pkgver() {
cd "$srcdir/$_reponame"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd "$srcdir/$_reponame"
gcc keym.c -lX11 -lXtst -o keym
}
package() {
cd "$srcdir/$_reponame"
install -Dm755 keym "${pkgdir}/usr/bin/keym"
}
|