diff options
author | Moritz Schönherr | 2018-02-14 13:29:39 +0100 |
---|---|---|
committer | Moritz Schönherr | 2018-02-14 13:29:39 +0100 |
commit | 9f85d2e421a9155fe9dcac12147db3f1e38285f8 (patch) | |
tree | 8dfc87f1b546c2795725bb5a8d6e8fbe4c22866a | |
parent | 242772e501267d4a81cba3aa51971916a6065fa9 (diff) | |
download | aur-9f85d2e421a9155fe9dcac12147db3f1e38285f8.tar.gz |
bugfix: finally incorporating good suggestions
-rw-r--r-- | .SRCINFO | 15 | ||||
-rw-r--r-- | PKGBUILD | 37 |
2 files changed, 32 insertions, 20 deletions
@@ -1,14 +1,17 @@ pkgbase = crawl - pkgdesc = Craw stonesoup, curses version + pkgdesc = Crawl stonesoup, curses version pkgver = 0.21.0 - pkgrel = 1 + pkgrel = 2 url = http://crawl.develz.org/ - arch = any + arch = i686 + arch = x86_64 license = GPL2 makedepends = git - depends = ncurses - source = git://github.com/crawl/crawl.git#tag=0.21.0 - md5sums = SKIP + depends = lua51 + depends = sqlite + depends = zlib + source = https://github.com/crawl/crawl/archive/0.21.0.tar.gz + md5sums = 0780da66a5afe5af8e6d3013bf9d950c pkgname = crawl @@ -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 } |