From 08812bccbc0daf2f13179b4de34e27e1a31637bd Mon Sep 17 00:00:00 2001 From: bill-auger Date: Mar 08 2023 04:45:08 +0000 Subject: [antimicro]: rename to antimicrox - upgrade to v3.3.3 --- diff --git a/pcr/antimicro/PKGBUILD b/pcr/antimicro/PKGBUILD deleted file mode 100644 index c0fdce3..0000000 --- a/pcr/antimicro/PKGBUILD +++ /dev/null @@ -1,33 +0,0 @@ -# Maintainer (arch): grimi -# Maintainer (arch): Thomas Nordenmark -# Developer (Arch): Travis Nickles - -pkgname=antimicro -pkgver=2.23 -pkgrel=1 -pkgdesc="Graphical program used to map keyboard keys and mouse controls to gamepad buttons" -arch=('i686' 'x86_64') -url="https://github.com/AntiMicro/antimicro" -license=('GPL3') -depends=('libxkbcommon-x11' 'libxtst' 'qt5-base' 'sdl2' 'shared-mime-info' 'desktop-file-utils') -makedepends=('cmake' 'gettext' 'itstool' 'qt5-tools') -source=("${pkgname}-${pkgver}.tar.gz::https://github.com/AntiMicro/${pkgname}/archive/${pkgver}.tar.gz") -sha512sums=('cd58b5a9771d35fc937306a3452e8776ef754bb5a4fa44aeedb735d8366a38b318c1bf14f105bf8003e4264c35f129224becdade32d2a7b61067ec5a705a1e7e') - - - -build() { - cd ${pkgname}-${pkgver} - - mkdir -p build && cd build - cmake -DCMAKE_INSTALL_PREFIX=/usr -DUSE_SDL_2=ON -DWITH_XTEST=ON \ - -DWITH_UINPUT=ON -DAPPDATA=ON .. - make -} - -package() { - cd ${pkgname}-${pkgver}/build - - make DESTDIR="${pkgdir}" install -} - diff --git a/pcr/antimicrox/PKGBUILD b/pcr/antimicrox/PKGBUILD new file mode 100644 index 0000000..ef586ca --- /dev/null +++ b/pcr/antimicrox/PKGBUILD @@ -0,0 +1,38 @@ +# Maintainer (aur): Fredy GarcĂ­a +# Contributor: grimi +# Contributor: Thomas Nordenmark +# Contributor: Travis Nickles + +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 +}