summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO14
-rw-r--r--PKGBUILD40
2 files changed, 54 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..fcecaaf1b20
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,14 @@
+pkgbase = crawl
+ pkgdesc = Craw stonesoup, curses version
+ pkgver = 0.18.1
+ pkgrel = 1
+ url = http://crawl.develz.org/
+ arch = any
+ license = GPL2
+ makedepends = git
+ depends = ncurses
+ source = git://github.com/crawl/crawl.git#tag=0.18.1
+ md5sums = SKIP
+
+pkgname = crawl
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..d4011b1d014
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,40 @@
+# Maintainer: Moritz Schoenherr <moritz.schoenherr[at]gmail[dot]com>
+pkgname=crawl
+pkgver=0.18.1
+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 prefix="${pkgdir}/usr"
+}
+
+package() {
+
+ cd "${srcdir}/${pkgname}/crawl-ref/source"
+
+ make install prefix="${pkgdir}/usr"
+
+}
+