diff options
author | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2015-06-19 04:17:32 -0300 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2015-06-19 04:17:32 -0300 |
commit | 8ec72b300bd4d3123a052a58ca8b707febfbe8e5 (patch) | |
tree | d6696893f2ddf775c6c136db498e4fa2355b5e68 /pcr/antimicro/PKGBUILD | |
parent | 9fc37a510b0a0e866783fc2c6c03b7cfa4581ea4 (diff) |
antimicro: add new package to [pcr]
Diffstat (limited to 'pcr/antimicro/PKGBUILD')
-rw-r--r-- | pcr/antimicro/PKGBUILD | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/pcr/antimicro/PKGBUILD b/pcr/antimicro/PKGBUILD new file mode 100644 index 000000000..8380aace1 --- /dev/null +++ b/pcr/antimicro/PKGBUILD @@ -0,0 +1,29 @@ +# Maintainer (Arch): Travis Nickles <nickles.travis@gmail.com> + +pkgname=antimicro +pkgver=2.14 +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" +license=('GPL3') +depends=('libxkbcommon-x11' 'libxtst' 'qt5-base' 'sdl2') +makedepends=('cmake' 'gettext' 'itstool' 'qt5-tools') +install="${pkgname}.install" +source=("https://github.com/Ryochan7/antimicro/archive/${pkgver}.tar.gz") +md5sums=("66aecb2cb11070fb53e23d50196b7e97") + +build() { + cd "${srcdir}/${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 +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}/build" + + make DESTDIR="${pkgdir}" install +} |