# Maintainer: Victor Fuentes # Contributor: Filipe Laíns (FFY00) # Contributor: Michael DeGuzis # Contributor: Frederik “Freso” S. Olesen # Contributor: Maxime Gauduin pkgname=lutris-git _pkgname=lutris pkgver=0.5.0rc1.r0.g2b4a46b9 pkgrel=1 pkgdesc='Open Gaming Platform' arch=('any') url='https://lutris.net/' license=('GPL3') depends=('python-gobject' 'python-yaml' 'python-evdev' 'gtk3' 'glib2' 'psmisc' 'cabextract' 'unrar' 'unzip' 'p7zip' 'curl' 'xorg-xrandr' 'gnome-desktop' 'python-requests' 'python-pillow') makedepends=('git' 'python-setuptools') checkdepends=('xorg-server-xvfb' 'xterm' 'python-nose-cover3' 'wine' 'webkit2gtk') optdepends=( 'wine: Run windows games' 'wine-staging: Run windows games - Staging patches' 'python-evdev: Detecting connected joypads.' 'python-pyinotify: Enhanced Steam integration.' ) provides=('lutris') conflicts=('lutris') source=('git+https://github.com/lutris/lutris.git') sha256sums=('SKIP') pkgver() { cd ${_pkgname} git describe --long --tags | sed 's/v//; s/\([^-]*-g\)/r\1/;s/-/./g' } check() { cd ${_pkgname} xvfb-run nosetests --cover-erase --with-xunit --xunit-file=nosetests.xml --with-coverage --cover-package=lutris --cover-xml-file=coverage.xml } package() { cd ${_pkgname} python setup.py install --root="${pkgdir}" --optimize='1' }