summaryrefslogtreecommitdiff
path: root/community/instead/PKGBUILD
blob: 42e769c6f292ef59e09eb383bf66b2d5c12432e8 (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
# $Id: PKGBUILD 88145 2013-04-12 13:33:50Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Peter Kosyh <p.kosyhgmail.com>

pkgname=instead
pkgver=1.9.0
pkgrel=1
pkgdesc="a quest interpreter"
arch=('i686' 'x86_64' 'mips64el')
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=('c7082772f7cb972d825e8e183e9af90f')

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

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

  cp -a doc/*.{html,txt,pdf} doc/examples $pkgdir/usr/share/doc/instead/
}