summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 79c647eb437fde580678f699107cd713218baba2 (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
# Maintainer: JKA Network <contacto@jkanetwork.com>
# Before maintainer: Todor Imreorov for github <blurymind@gmail.com>
pkgname=gdevelop
pkgver=4.0.97
pkgrel=1
pkgdesc="A full featured, open source game development software, allowing to create HTML5 and native games without knowing a programming language. All the game logic is made thanks to an intuitive and powerful event based system."
arch=('x86_64')
url=http://www.compilgames.net
license=('GPL' 'MIT' 'zlib/png')
groups=()
provides=('gdevelop')
install='gdevelop.install'
makedepends=('rsync' 'cmake' 'git' 'curl')
depends=('gcc' 'wxgtk' 'openal' 'p7zip' 'glew' 'libsndfile' 'systemd' 'libjpeg-turbo' 'desktop-file-utils' 'gtk-update-icon-cache')
source=("https://github.com/4ian/GD/archive/$pkgver.tar.gz")
sha256sums=('cd1041eccd574eab2fa310eab5d54c0368806d8f925d300ff30dc1aa377fa2fc')
build() {
  cd "$srcdir"/GD-$pkgver
  cd Binaries
  rm -rf build
  mkdir build
  cd build
  cmake ../..
  #Build the whole project
  make -j4
}
package() {
  cd "$srcdir"/GD-$pkgver
  cd Binaries/build
  make install DESTDIR="$pkgdir"
  #Remove sfml installed libs
  rm -rf "$pkgdir"/usr/local
}