summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 26fe7618da4518a6b6d972412728b8e28c3b6a85 (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
# Maintainer: Marcin Mielniczuk <marmistrz@inboxalias.com>

pkgname=ivan
pkgver=0.51
_vertag=051
pkgrel=1
pkgdesc="Iter Vehemens ad Necem - a tile-graphics roguelike with limb dismembering"
arch=('i686' 'x86_64')
url="https://attnam.com"
license=('GPL2')
depends=('sdl')
makedepends=('git')
source=("git+https://github.com/Attnam/ivan.git#tag=v${_vertag}")
sha1sums=("SKIP")
options=(!strip)
build() {
    cd "${srcdir}/${pkgname}"
    cmake . -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Debug
    make
}

package() {
    cd "${srcdir}/${pkgname}"
    make install DESTDIR="$pkgdir"
}