# $Id: PKGBUILD 105061 2014-01-30 20:23:17Z spupykin $ # Maintainer: Sergej Pupykin # Contributor: Peter Kosyh pkgname=instead pkgver=2.0.2 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=('040d8378df4695aed771d6699e1cd7d8') 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,pdf} doc/instead.txt doc/examples $pkgdir/usr/share/doc/instead/ }