summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 422c2e1801fee701dec371c2ae60af430426a082 (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
29
30
31
32
33
34
35
36
37
38
39
40
# Maintainer: Moritz Schoenherr <moritz.schoenherr[at]gmail[dot]com>
pkgname=crawl
pkgver=0.21.0
pkgrel=1
pkgdesc="Craw stonesoup, curses version"
url="http://crawl.develz.org/"
arch=('any')
license=('GPL2')
depends=('ncurses')
makedepends=('git')
conflicts=()
replaces=()
backup=()
source=("git://github.com/crawl/crawl.git#tag=${pkgver}")

md5sums=('SKIP')

prepare() {

	cd "${srcdir}/${pkgname}"

  	git submodule update --init

}

build() {

  cd "${srcdir}/${pkgname}/crawl-ref/source"

  make CFLAGS="-fPIC" prefix="${pkgdir}/usr"
}

package() {

  cd "${srcdir}/${pkgname}/crawl-ref/source"
  
  make install prefix="${pkgdir}/usr"

}