summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 2190c568e2c1e7543257df74044f3304a82e00ec (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
# Maintainer: Ural Kavraal <uralkemal@gmail.com>
pkgname=craftrogue
pkgver=latest
pkgrel=1
pkgdesc="A terminal-based game  where you kill monsters."
arch=('x86_64')
url="https://github.com/ural89/ConsoleCraftEngine"
license=('MIT')
depends=('gcc' 'make' 'cmake')
source=("$pkgname::git+$url.git#branch=AUR")  # Specify the branch here
sha256sums=('SKIP')

build() {
    cd "$srcdir/$pkgname/CraftRogue"
    mkdir -p build
    cd build
    cmake ..
    make
}

package() {
    cd "$srcdir/$pkgname/CraftRogue/build"
    install -Dm755 "CraftRogue" "$pkgdir/usr/bin/craftrogue"
}