summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: bc83a50ec86b468755a7c0f868a86686146b1b22 (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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
# This is an example PKGBUILD file. Use this as a start to creating your own,
# and remove these comments. For more information, see 'man PKGBUILD'.
# NOTE: Please fill out the license field for your package! If it is unknown,
# then please put 'unknown'.

# Maintainer: tkpmonke 
pkgname=implosion
pkgver="0.1.2.1"
pkgrel=1
epoch=
pkgdesc="A Fast and Powerful FOSS Game Engine"
arch=(x86_64)
url="https://tkpmonke.github.io/Ignition"
license=(custom:ignition)
groups=()
depends=('glfw' 'glew' 'glm' 'assimp' 'p7zip' 'python')
makedepends=('binutils' 'premake')
checkdepends=()
optdepends=()
provides=('ignition' 'ig-imgui' 'preglsl' 'implosion-hub' 'implosion' 'ignition-runtime')
conflicts=()
replaces=()
backup=()
options=()
install=
changelog=
noextract=()
sha256sums=('3ed4f9067853d0226047de52da5f6eaf07f3059e6ee5fcda31a22b51620e0e60')
validpgpkeys=()

_pkgstate="alpha"
_pkgurl="https://github.com/tkpmonke/Ignition/archive/refs/tags"
_pkgext="tar.gz"

source=("$_pkgurl/v$pkgver-$_pkgstate.$_pkgext")

package() {
   install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}

prepare() {
	cd "Ignition-$pkgver-$_pkgstate" || exit
   premake5 gmake2
}

build() {
	cd "Ignition-$pkgver-$_pkgstate" || exit
	make
}

install() {
	cd "Ignition-$pkgver-$_pkgstate" || exit
   sudo ./install.sh
}