summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: ab944a1efbb749ed494b365d74bef920b95b464d (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.58
_vertag=058
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' 'sdl2_mixer')
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=Release
    make
}

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