summaryrefslogtreecommitdiff
path: root/community/instead/PKGBUILD
blob: e68815f34effd4b3687b046e09f35b7dc63c6bc5 (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 104835 2014-01-27 10:00:52Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Peter Kosyh <p.kosyhgmail.com>

pkgname=instead
pkgver=2.0.0
pkgrel=1
pkgdesc="a quest interpreter"
arch=('i686' 'x86_64')
url="http://sourceforge.net/projects/instead/"
license=('GPL')
depends=('sdl_image' 'sdl_mixer' 'sdl_ttf' 'lua')
optdepends=('instead-launcher: install and update INSTEAD games from net')
source=(http://downloads.sourceforge.net/project/instead/instead/${pkgver}/instead_${pkgver}.tar.gz)
md5sums=('3b65855cc0aa5040c881f2830e154365')

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/
}