diff options
author | grimi | 2015-06-08 18:46:00 +0200 |
---|---|---|
committer | grimi | 2015-06-08 18:46:00 +0200 |
commit | db5df1ff8caab7084fb0e1b3d2c515cef83343bb (patch) | |
tree | 1aa1c3271be4a6836b309e509c4e8b4afd7ae3bc | |
download | aur-db5df1ff8caab7084fb0e1b3d2c515cef83343bb.tar.gz |
Initial import
-rw-r--r-- | .SRCINFO | 23 | ||||
-rw-r--r-- | PKGBUILD | 34 | ||||
-rw-r--r-- | antimicro-qt4.install | 12 |
3 files changed, 69 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..32b42f2d737a --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,23 @@ +pkgbase = antimicro-qt4 + pkgdesc = Graphical program used to map keyboard keys and mouse controls to gamepad buttons (QT4 version) + pkgver = 2.14 + pkgrel = 1 + url = https://github.com/Ryochan7/antimicro + install = antimicro-qt4.install + arch = i686 + arch = x86_64 + license = GPL3 + makedepends = cmake + makedepends = itstool + depends = libxtst + depends = qt4 + depends = sdl2 + depends = shared-mime-info + provides = antimicro=2.14 + conflicts = antimicro + conflicts = antimicro-git + source = antimicro-2.14.tar.gz::https://github.com/Ryochan7/antimicro/archive/2.14.tar.gz + md5sums = 66aecb2cb11070fb53e23d50196b7e97 + +pkgname = antimicro-qt4 + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..4b1bc86ed4ac --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,34 @@ +# Contributor: grimi <grimi at poczta dot fm> + +_pkgname=antimicro +pkgname=${_pkgname}-qt4 +pkgver=2.14 +pkgrel=1 +pkgdesc="Graphical program used to map keyboard keys and mouse controls to gamepad buttons (QT4 version)" +arch=('i686' 'x86_64') +url="https://github.com/Ryochan7/antimicro" +license=('GPL3') +depends=('libxtst' 'qt4' 'sdl2' 'shared-mime-info') +makedepends=('cmake' 'itstool') +provides=("${_pkgname}=${pkgver}") +conflicts=("${_pkgname}" "${_pkgname}-git") +install="${pkgname}.install" +source=("${_pkgname}-${pkgver}.tar.gz::https://github.com/Ryochan7/${_pkgname}/archive/${pkgver}.tar.gz") +md5sums=('66aecb2cb11070fb53e23d50196b7e97') + + +build() { + cd ${_pkgname}-${pkgver} + mkdir -p build && cd build + QT_SELECT=4 cmake -DCMAKE_INSTALL_PREFIX=/usr -DUSE_SDL_2=ON \ + -DWITH_UINPUT=ON -DWITH_XTEST=ON -DAPPDATA=ON .. + make +} + +package() { + cd ${_pkgname}-${pkgver}/build + make DESTDIR="${pkgdir}" install +} + +# vim:set ts=3 sw=3 sts=3 et: + diff --git a/antimicro-qt4.install b/antimicro-qt4.install new file mode 100644 index 000000000000..ad78f0bae313 --- /dev/null +++ b/antimicro-qt4.install @@ -0,0 +1,12 @@ +post_install() { + update-mime-database usr/share/mime + update-desktop-database -q +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} |