summaryrefslogtreecommitdiff
path: root/community/instead-launcher/PKGBUILD
blob: bbb19006866792e083a5350f9fe03ab4dad2236a (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
# $Id: PKGBUILD 85363 2013-03-01 10:34:01Z andrea $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Peter Kosyh <p.kosyhgmail.com>

pkgname=instead-launcher
pkgver=0.6.1
pkgrel=3
pkgdesc="launcher and games downloader for INSTEAD quest interpreter"
arch=('i686' 'x86_64')
url="http://instead-launcher.googlecode.com/"
license=('GPL')
makedepends=('sed' 'qt4')
source=(http://instead-launcher.googlecode.com/files/instead-launcher_$pkgver.tar.gz)
md5sums=('b2136e535dbb77eacb79e3357dc2a173')

build() {
  cd $srcdir/instead-launcher-$pkgver
  sed -i 's|/usr/local/bin/sdl-instead|/usr/bin/sdl-instead|g' platform.cpp
  qmake PREFIX=/usr
  make
}

package() {
  depends=('qt4' 'instead')
  cd $srcdir/instead-launcher-$pkgver
  make INSTALL_ROOT=$pkgdir install
}