summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGaming4JC <g4jc@openmailbox.org>2017-03-12 19:36:17 -0400
committerGaming4JC <g4jc@openmailbox.org>2017-03-12 19:36:17 -0400
commitc18cf49f489b63aec8794b4e4120050c4b50a4a9 (patch)
treec5f08d1e14be5c836f962151414c553a295a5166
parentb6a870515f27250aa4b0ec2c6316d8fb47fb3ee5 (diff)
downloadabslibre-c18cf49f489b63aec8794b4e4120050c4b50a4a9.tar.gz
abslibre-c18cf49f489b63aec8794b4e4120050c4b50a4a9.tar.bz2
abslibre-c18cf49f489b63aec8794b4e4120050c4b50a4a9.zip
update antimicro in pcr
-rw-r--r--pcr/antimicro/PKGBUILD29
-rw-r--r--pcr/antimicro/antimicro.install16
2 files changed, 17 insertions, 28 deletions
diff --git a/pcr/antimicro/PKGBUILD b/pcr/antimicro/PKGBUILD
index 8380aace1..7abf10a0c 100644
--- a/pcr/antimicro/PKGBUILD
+++ b/pcr/antimicro/PKGBUILD
@@ -1,29 +1,34 @@
-# Maintainer (Arch): Travis Nickles <nickles.travis@gmail.com>
+# 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.14
+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/Ryochan7/antimicro"
+url="https://github.com/AntiMicro/antimicro"
license=('GPL3')
-depends=('libxkbcommon-x11' 'libxtst' 'qt5-base' 'sdl2')
+depends=('libxkbcommon-x11' 'libxtst' 'qt5-base' 'sdl2' 'shared-mime-info' 'desktop-file-utils')
makedepends=('cmake' 'gettext' 'itstool' 'qt5-tools')
-install="${pkgname}.install"
-source=("https://github.com/Ryochan7/antimicro/archive/${pkgver}.tar.gz")
-md5sums=("66aecb2cb11070fb53e23d50196b7e97")
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/AntiMicro/${pkgname}/archive/${pkgver}.tar.gz")
+sha512sums=('cd58b5a9771d35fc937306a3452e8776ef754bb5a4fa44aeedb735d8366a38b318c1bf14f105bf8003e4264c35f129224becdade32d2a7b61067ec5a705a1e7e')
+whirlpoolsums=('a2dca98c175b6ad318e57583fbad2f6caca6245d33b526219e13ecfdc18a6da54a6c8ee9545c41786f155f0ade8d4af1dcafc636ff847d2ffbab629c5aae92f7')
+
+
build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
+ 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 || return 1
+ -DWITH_UINPUT=ON -DAPPDATA=ON ..
+ make
}
package() {
- cd "${srcdir}/${pkgname}-${pkgver}/build"
-
+ cd ${pkgname}-${pkgver}/build
+
make DESTDIR="${pkgdir}" install
}
+
diff --git a/pcr/antimicro/antimicro.install b/pcr/antimicro/antimicro.install
deleted file mode 100644
index b5cadcc4f..000000000
--- a/pcr/antimicro/antimicro.install
+++ /dev/null
@@ -1,16 +0,0 @@
-post_install() {
- xdg-icon-resource forceupdate
-}
-
-post_upgrade() {
- post_install $1
-}
-
-post_remove() {
- post_install $1
-}
-
-op=$1
-shift
-
-$op $*