upgpkg: wordpress 6.2.1-1
[ArchLinux/community.git] / kodi-addon-peripheral-joystick / repos / community-x86_64 / PKGBUILD
blob7cb0ce13f1393f69dbda36a5fa202eed7cff8052
1 # Maintainer: BlackEagle <ike.devolder@gmail.com>>
3 pkgname=kodi-addon-peripheral-joystick
4 pkgver=20.1.8
5 _codename=Nexus
6 pkgrel=2
7 pkgdesc="Joystick support for Kodi"
8 arch=('x86_64')
9 url='https://github.com/xbmc/peripheral.joystick'
10 license=('GPL')
11 groups=('kodi-addons' 'kodi-addons-peripheral')
12 makedepends=('cmake' 'kodi-dev')
13 options=(!lto)
14 source=("$pkgname-$pkgver.tar.gz::https://github.com/xbmc/peripheral.joystick/archive/$pkgver-$_codename.tar.gz")
15 sha512sums=('df5c44dee0ca1fa980c9668f1a91466882583b23e77f3dfee73520c061fd6e99260a640b07eafd5cf67c162f949b188d6cedcaad376a58554f07e98174aabd9a')
17 build() {
18     cd "peripheral.joystick-$pkgver-$_codename"
19     cmake \
20         -DCMAKE_INSTALL_PREFIX=/usr \
21         -DCMAKE_BUILD_TYPE=Release \
22         -DBUILD_SHARED_LIBS=1 \
23         -DUSE_LTO=1 \
24         .
25     make
28 package() {
29     depends=('kodi' 'kodi-platform')
30     cd "peripheral.joystick-$pkgver-$_codename"
31     make DESTDIR="$pkgdir/" install