diff options
author | bill-auger <mr.j.spam.me@gmail.com> | 2023-03-06 21:13:49 -0500 |
---|---|---|
committer | bill-auger <mr.j.spam.me@gmail.com> | 2023-03-07 23:45:08 -0500 |
commit | 08812bccbc0daf2f13179b4de34e27e1a31637bd (patch) | |
tree | f0ef846f56c67aac47c886f874d0ad54843b6760 /pcr/antimicrox | |
parent | 25e10f7809cf59fd35618951abd036d1160d902f (diff) |
[antimicro]: rename to antimicrox - upgrade to v3.3.3
Diffstat (limited to 'pcr/antimicrox')
-rw-r--r-- | pcr/antimicrox/PKGBUILD | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/pcr/antimicrox/PKGBUILD b/pcr/antimicrox/PKGBUILD new file mode 100644 index 000000000..ef586ca1f --- /dev/null +++ b/pcr/antimicrox/PKGBUILD @@ -0,0 +1,38 @@ +# Maintainer (aur): Fredy GarcĂa <frealgagu at gmail dot com> +# Contributor: grimi <grimi at poczta dot fm> +# Contributor: Thomas Nordenmark <t.nordenmark@gmail.com> +# Contributor: Travis Nickles <nickles.travis@gmail.com> + +pkgname=antimicrox +pkgver=3.3.3 +pkgrel=1 +pkgdesc="Graphical program used to map keyboard buttons and mouse controls to a gamepad" +arch=("aarch64" "arm" "armv6h" "armv7h" "i686" "x86_64") +url="https://github.com/AntiMicroX/${pkgname/x}X" +license=("GPL3") +depends=("desktop-file-utils" "hicolor-icon-theme" "libxtst" "qt5-x11extras" "sdl2") +makedepends=("cmake" "extra-cmake-modules" "gettext" "itstool" "qt5-tools") +provides=("${pkgname/x}") +conflicts=("${pkgname/x}") +replaces=("${pkgname/x}") +source=("${pkgname}-${pkgver}.tar.gz::https://github.com/AntiMicroX/${pkgname/x/X}/archive/${pkgver}.tar.gz") +sha256sums=("80c446b1149b742b51e3b6d355866294bd6171f48534b3cf23848011736edc2b") + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + + cmake . \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=/usr/lib \ + -DUSE_SDL_2=ON \ + -DAPPDATA=ON \ + -DWITH_UINPUT=ON \ + -DWITH_X11=ON \ + -DWITH_XTEST=ON + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install +} |