38 lines
998 B
Bash
38 lines
998 B
Bash
|
# Template file for 'antimicrox'
|
||
|
pkgname=antimicrox
|
||
|
version=3.1.2
|
||
|
revision=1
|
||
|
build_style=cmake
|
||
|
hostmakedepends="pkg-config extra-cmake-modules itstool gettext qt5-qmake
|
||
|
qt5-host-tools"
|
||
|
makedepends="qt5-tools-devel SDL2-devel libXi-devel libXtst-devel libX11-devel
|
||
|
qt5-x11extras-devel"
|
||
|
short_desc="Map keyboard buttons and mouse controls to a gamepad"
|
||
|
maintainer="fosslinux <fosslinux@aussies.space>"
|
||
|
license="GPL-3.0-or-later"
|
||
|
homepage="https://github.com/AntiMicroX/antimicrox"
|
||
|
distfiles="${homepage}/archive/${version}.tar.gz"
|
||
|
checksum=18539897caed5021003f590cb4baeacf039897c6ff1542697901f573d5a758dc
|
||
|
|
||
|
libantimicrox_package() {
|
||
|
short_desc+=" - libraries"
|
||
|
pkg_install() {
|
||
|
vmove usr/lib/*.so.*
|
||
|
}
|
||
|
}
|
||
|
|
||
|
libantimicrox-devel_package() {
|
||
|
depends="libantimicrox>=${version}_${revision}"
|
||
|
short_desc+=" - development files"
|
||
|
pkg_install() {
|
||
|
vmove usr/lib/*.so
|
||
|
vmove usr/include
|
||
|
}
|
||
|
}
|
||
|
|
||
|
antimicro_package() {
|
||
|
build_style=meta
|
||
|
depends="${sourcepkg}"
|
||
|
short_desc+=" - transitional dummy package"
|
||
|
}
|