blob: 20a62a18fb07f4120802cabb942eb3ded6b58301 (
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
|
# Maintainer: Scott Shumate <scott(at)shumatech(dot)com>
pkgname=evjs
pkgver=0.1.0
pkgrel=1
pkgdesc="Joystick auto-calibration and testing utility for evdev and joydev"
arch=(x86_64)
url="https://github.com/shumatech/evjs"
license=('GPL')
depends=('ncurses' 'sqlite3')
provides=('evjs')
makedepends=('autoconf')
source=("https://github.com/shumatech/${pkgname}/archive/v${pkgver}.tar.gz")
sha256sums=('SKIP')
build() {
cd ${pkgname}-${pkgver}
./bootstrap
./configure --prefix=/usr
make
}
package() {
cd ${pkgname}-${pkgver}
make DESTDIR="$pkgdir" install
install -D -m 0644 -o root -g root evjs.rules ${pkgdir}/etc/udev/rules.d/99-evjs.rules
}
|