summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: e1db71b9d20dda673385f32b4f32385d87b0d533 (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: Thomas Weißschuh <thomas t-8ch de>

pkgname=steamctrl-git
pkgver=10
pkgrel=1
pkgdesc="Utility to setup Valve Steam Controller"
url="https://github.com/rodrigorc/steamctrl"
license=(GPL2)
source=("git+https://github.com/rodrigorc/steamctrl")
md5sums=('SKIP')
arch=('x86_64')
depends=('udev')

build() {
	cd "$srcdir/$pkgname"
	./autogen.sh
	./configure --prefix=/usr

	make
}

package() {
	cd "$srcdir/$pkgname"
	make install DESTDIR="$pkgdir"
}

pkgver() {
	cd "$srcdir/$pkgname"
	git rev-list --count HEAD
}