summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbill-auger <mr.j.spam.me@gmail.com>2023-03-06 21:13:49 -0500
committerbill-auger <mr.j.spam.me@gmail.com>2023-03-07 23:45:08 -0500
commit08812bccbc0daf2f13179b4de34e27e1a31637bd (patch)
treef0ef846f56c67aac47c886f874d0ad54843b6760
parent25e10f7809cf59fd35618951abd036d1160d902f (diff)
[antimicro]: rename to antimicrox - upgrade to v3.3.3
-rw-r--r--pcr/antimicro/PKGBUILD33
-rw-r--r--pcr/antimicrox/PKGBUILD38
2 files changed, 38 insertions, 33 deletions
diff --git a/pcr/antimicro/PKGBUILD b/pcr/antimicro/PKGBUILD
deleted file mode 100644
index c0fdce399..000000000
--- a/pcr/antimicro/PKGBUILD
+++ /dev/null
@@ -1,33 +0,0 @@
-# Maintainer (arch): grimi <grimi at poczta dot fm>
-# Maintainer (arch): Thomas Nordenmark <t.nordenmark@gmail.com>
-# Developer (Arch): Travis Nickles <nickles.travis@gmail.com>
-
-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 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
+}