summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: cbe8a26c8173f758d956a6bf0d06122d50120a50 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
# Maintainer: Maxime Gauduin <alucryd@archlinux.org>

pkgname=lutris
pkgver=0.3.6.3
pkgrel=2
pkgdesc='Open Gaming Platform'
arch=('any')
url='http://lutris.net/'
license=('GPL3')
depends=('desktop-file-utils' 'glib-networking' 'gvfs' 'hicolor-icon-theme'
         'polkit' 'python2-gobject' 'python2-xdg' 'python2-yaml' 'xorg-xrandr')
makedepends=('python2-setuptools')
optdepends=('atari800: Atari 800/800XL/130XE/5200 Emulator'
            'dolphin-emu: Nintendo Gamecube/Wii/Triforce Emulator'
            'dosbox: DOS Emulator'
            'frotz: Z-machine Interpreter'
            'fs-uae: Amiga Emulator'
            'gens-gs: Sega Genesis/CD/32X Emulator'
            'hatari: Atari ST/STE Emulator'
            'jzintv: Matel Intellivision Emulator'
            'mednafen: Multi-system Emulator'
            'mupen64plus: Nintendo 64 Emulator'
            'o2em: Magnavox Odyssey 2 Emulator'
            'openmsx: MSX Emulator'
            'osmose: Sega Master System/Gamegear Emulator'
            'pcsxr: Sony Playstation emulator'
            'residualvm: 3D Point and Click Virtual Machine'
            'scummvm: 2D Point and Click Virtual Machine'
            'sdlmame: Multiple Arcade Machine Emulator'
            'snes9x-gtk: Super Nintendo Emulator'
            'steam: Digital Gaming Platform'
            'stella: Atari 2600 Emlator'
            'vice: Commodore 64 Emulator'
            'virtualjaguar: Atari Jaguar Emulator'
            'wine: Windows Compatibility Layer')
install='lutris.install'
source=("http://lutris.net/releases/lutris_${pkgver}.tar.gz")
sha256sums=('a9061403ef8844b2c1443b1c5f15fe98af224d652d66268b47ae8e215e289058')

prepare() {
  cd lutris

  sed -i 's|^#!.*python$|#!/usr/bin/python2|' $(grep -rl '^#!.*python')
}

package() {
  cd lutris

  python2 setup.py install --root="${pkgdir}" --optimize='1'
}

# vim: ts=2 sw=2 et: