diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..20a62a18fb07 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,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 +} |