1 # Maintainer: BlackEagle <ike.devolder@gmail.com>>
3 pkgname=kodi-addon-peripheral-joystick
7 pkgdesc="Joystick support for Kodi"
9 url='https://github.com/xbmc/peripheral.joystick'
11 groups=('kodi-addons' 'kodi-addons-peripheral')
12 makedepends=('cmake' 'kodi-dev')
14 source=("$pkgname-$pkgver.tar.gz::https://github.com/xbmc/peripheral.joystick/archive/$pkgver-$_codename.tar.gz")
15 sha512sums=('df5c44dee0ca1fa980c9668f1a91466882583b23e77f3dfee73520c061fd6e99260a640b07eafd5cf67c162f949b188d6cedcaad376a58554f07e98174aabd9a')
18 cd "peripheral.joystick-$pkgver-$_codename"
20 -DCMAKE_INSTALL_PREFIX=/usr \
21 -DCMAKE_BUILD_TYPE=Release \
22 -DBUILD_SHARED_LIBS=1 \
29 depends=('kodi' 'kodi-platform')
30 cd "peripheral.joystick-$pkgver-$_codename"
31 make DESTDIR="$pkgdir/" install