blob: 1e4e1eca0a7f2c0dcdbf6458c9514c32a1f56100 (
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
|
# Maintainer: Zero <zero@cock.li>
pkgname=sdl2-gamepad-mapper
pkgver=0.0.4
pkgrel=3
pkgdesc="Generate SDL2 Controller mapping strings"
arch=('any')
url='https://gitlab.com/ryochan7/sdl2-gamepad-mapper'
depends=('sdl2' 'qt5-base' 'qt5-quickcontrols2')
makedepends=('git')
source=('git+https://gitlab.com/ryochan7/sdl2-gamepad-mapper#commit=7d3f7ad9780933bbeaa8bb76f5db3d501e5c1e2d')
sha256sums=("SKIP")
build() {
cd "$srcdir/sdl2-gamepad-mapper"
qmake CONFIG+=release
make
}
package() {
cd "sdl2-gamepad-mapper"
install -Dm755 sdl2-gamepad-mapper "${pkgdir}/usr/bin/sdl2-gamepad-mapper"
install -D sdl2-gamepad-mapper.desktop "${pkgdir}/usr/share/applications/sdl2-gamepad-mapper.desktop"
install -D sdl2-gamepad-mapper.png "${pkgdir}/usr/share/icons/hicolor/512x512/apps/sdl2-gamepad-mapper.png"
}
|