summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 0ed2745c4b48a74300b8ef25cddf0d5a301b8cb8 (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: Aria Moradi <aria.moradi007 at gmail dot com>
# Contributor: Marcin Mielniczuk <marmistrz@inboxalias.com>

pkgname=ivan
pkgver=0.58
_vertag=058
pkgrel=2
pkgdesc="Iter Vehemens ad Necem - a tile-graphics roguelike with limb dismembering"
arch=('i686' 'x86_64')
url="https://attnam.com"
license=('GPL2')
depends=('sdl2' 'sdl2_mixer' 'alsa-lib' 'libpng')
makedepends=('cmake')
source=("https://github.com/Attnam/ivan/archive/refs/tags/v${_vertag}.tar.gz")
sha1sums=('1c847d632fb10fa0d6a61631ab391e253df3f11a')
options=(!strip)
build() {
    cd "${srcdir}/${pkgname}-${_vertag}"
    cmake . -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release
    make
}

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