updated on Sun Jan 22 16:00:49 UTC 2012
[aur-mirror.git] / dagii / PKGBUILD
blob2c6137ab115d8583e0680395ad9f5e5633825d5a
1 # Contributor: robb_force <robb_force@holybuffalo.net>
2 pkgname=dagii
3 pkgver=0.4.1
4 pkgrel=1
5 pkgdesc="Dave's AGI Interpreter is a re-implementation of Sierra's Adventure Game Interpreter (AGI)."
6 url="http://www.dagii.org/"
7 license="GPL"
8 arch=('i686')
9 depends=('sdl>=1.2.9' 'libpng>=1.2.8')
10 makedepends=('zlib')
11 source=(http://www.dagii.org/dist/${pkgname}-${pkgver}.tar.gz)
12 install=dagii.install
13 md5sums=('e4a315444a7e170d69772755b5b7c8a2')
15 build() {
16   # Fix a path error
17   cd ${startdir}/src/${pkgname}-${pkgver}/src
18   sed -e "s|/sw/|/usr/|g" -i depend.1
20   cd ${startdir}/src/${pkgname}-${pkgver}
21   ./configure --prefix=/usr
22   make || return 1
24   # Install the executable
25   install -Dm755 src/${pkgname} ${startdir}/pkg/usr/bin/${pkgname}