blob: 22ce4231b76ecb200f10f4cb1b4d470946e21a85 (
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
|
pkgname="footswitch-git"
pkgver=11.f2bfaa2
pkgrel=1
pkgdesc="Command-line utility for PCsensor foot switch"
url="https://github.com/rgerganov/footswitch"
arch=('any')
license=('GPL')
makedepends=()
depends=('hidapi')
source=(git+https://github.com/rgerganov/footswitch)
md5sums=(SKIP)
pkgver() {
cd "footswitch"
echo $(git rev-list --count master).$(git rev-parse --short master)
}
build() {
cd "footswitch"
make
}
package() {
install -D "$srcdir/footswitch/footswitch" "$pkgdir/usr/bin/footswitch"
}
|