-
Notifications
You must be signed in to change notification settings - Fork 4.2k
/
snapcraft.yaml
28 lines (25 loc) · 1.16 KB
/
snapcraft.yaml
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
27
28
name: cataclysm
version: git
summary: Post-apocalyptic turn-based survival game
icon: data/xdg/cataclysm-dda.svg
architectures:
- build-on: [amd64]
run-on: [amd64]
description: |
Cataclysm: Dark Days Ahead is a turn-based survival game set in a post-apocalyptic world. Surviving is difficult, you have been thrown, ill-equipped, into a landscape now riddled with monstrosities of which flesh eating zombies are neither the strangest nor the deadliest.
Note: This snap install the ncurses version of the game. Start playing by running the command `cataclysm` on your favorite terminal after installation.
License: CC-BY-SA 3.0 unported
grade: devel
confinement: strict
apps:
cataclysm:
command: cataclysm-launcher
environment:
LD_LIBRARY_PATH: $LD_LIBRARY_PATH:$SNAP/usr/lib/x86_64-linux-gnu/
parts:
cataclysm:
plugin: make
build-packages: [astyle, ccache, build-essential, libncurses5-dev, libncursesw5-dev, gettext]
override-build: make NATIVE=linux64 RELEASE=1 LTO=1 LOCALIZE=1 CCACHE=1 USE_HOME_DIR=1 && mv * $SNAPCRAFT_PART_INSTALL
stage: [data, cataclysm, cataclysm-launcher, usr]
prime: [data, cataclysm, cataclysm-launcher, usr]