summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorMoritz Schönherr2018-02-14 13:29:39 +0100
committerMoritz Schönherr2018-02-14 13:29:39 +0100
commit9f85d2e421a9155fe9dcac12147db3f1e38285f8 (patch)
tree8dfc87f1b546c2795725bb5a8d6e8fbe4c22866a /PKGBUILD
parent242772e501267d4a81cba3aa51971916a6065fa9 (diff)
downloadaur-9f85d2e421a9155fe9dcac12147db3f1e38285f8.tar.gz
bugfix: finally incorporating good suggestions
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD37
1 files changed, 23 insertions, 14 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 422c2e1801f..15e7f43405d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,40 +1,49 @@
# Maintainer: Moritz Schoenherr <moritz.schoenherr[at]gmail[dot]com>
pkgname=crawl
pkgver=0.21.0
-pkgrel=1
-pkgdesc="Craw stonesoup, curses version"
+pkgrel=2
+pkgdesc="Crawl stonesoup, curses version"
url="http://crawl.develz.org/"
-arch=('any')
+arch=('i686' 'x86_64')
license=('GPL2')
-depends=('ncurses')
+depends=('lua51' 'sqlite' 'zlib')
makedepends=('git')
conflicts=()
replaces=()
backup=()
-source=("git://github.com/crawl/crawl.git#tag=${pkgver}")
+source=("https://github.com/crawl/$pkgname/archive/$pkgver.tar.gz")
-md5sums=('SKIP')
+md5sums=('0780da66a5afe5af8e6d3013bf9d950c')
prepare() {
- cd "${srcdir}/${pkgname}"
-
- git submodule update --init
+ cd "${srcdir}/${pkgname}-${pkgver}/crawl-ref/source"
+
+ echo $pkgver > util/release_ver
}
build() {
- cd "${srcdir}/${pkgname}/crawl-ref/source"
+ cd "${srcdir}/${pkgname}-${pkgver}/crawl-ref/source"
+ make \
+ prefix=/usr \
+ bin_prefix=bin \
+ DESTDIR=$pkgdir \
+ SAVEDIR='~/.crawl' \
+ LUA_PACKAGE=lua51
- make CFLAGS="-fPIC" prefix="${pkgdir}/usr"
}
package() {
- cd "${srcdir}/${pkgname}/crawl-ref/source"
-
- make install prefix="${pkgdir}/usr"
+ cd "${srcdir}/${pkgname}-${pkgver}/crawl-ref/source"
+ make install \
+ prefix=/usr \
+ bin_prefix=bin \
+ DESTDIR=$pkgdir \
+ SAVEDIR='~/.crawl' \
+ LUA_PACKAGE=lua51
}