summaryrefslogtreecommitdiff
path: root/community/instead/PKGBUILD
blob: 5cc378466e22639f0e4359af6b5a0c9e4c092f24 (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
# $Id: PKGBUILD 76494 2012-09-19 14:03:04Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Peter Kosyh <p.kosyhgmail.com>

pkgname=instead
pkgver=1.8.0
pkgrel=1
pkgdesc="instead quest interpreter"
arch=('i686' 'x86_64')
url="http://instead.googlecode.com/"
license=('GPL')
depends=('sdl_image' 'sdl_mixer' 'sdl_ttf' 'lua')
optdepends=('instead-launcher: install and update INSTEAD games from net')
source=(http://instead.googlecode.com/files/instead_${pkgver}.tar.gz)
md5sums=('08acf9f7de60b8e1c23d6e9368093d1f')

build() {
  cd "${srcdir}/instead-${pkgver}"
  echo "2" | ./configure.sh
  make PREFIX=/usr
}

package() {
  cd "${srcdir}/instead-${pkgver}"
  make DESTDIR="${pkgdir}" PREFIX=/usr install
}