1 # This is an example PKGBUILD file. Use this as a start to creating your own,
2 # and remove these comments. For more information, see 'man PKGBUILD'.
3 # NOTE: Please fill out the license field for your package! If it is unknown,
4 # then please put 'unknown'.
6 # See http://wiki.archlinux.org/index.php/VCS_PKGBUILD_Guidelines
7 # for more information on packaging from GIT sources.
9 # Maintainer: Weston Hanners <weston@hanners.us>
13 pkgdesc="A modern roguelike game played in the console."
15 url="http://crawl.develz.org"
18 depends=('zlib>=1.0','ncurses>=5.0')
19 makedepends=('git>=1.7','zlib>=1.0','ncurses')
28 md5sums=() #generate with 'makepkg -g'
35 rm -Rf "$srcdir"/crawl
36 msg "Connecting to GIT server...."
37 git clone git://gitorious.org/crawl/crawl.git
38 msg "GIT checkout done or server timeout"
39 msg "Starting make..."
41 git submodule update --init
42 cd "$srcdir"/crawl/crawl-ref/source/
48 make NO_LUA_BINDINGS=Y
52 cd "$srcdir"/crawl/crawl-ref/source/
53 make prefix=/usr/local/ DESTDIR="$pkgdir/" install