# Maintainer: Jan Cholasta _name=slade pkgname=${_name} pkgver=3.1.4 pkgrel=2 pkgdesc='SLADE3 Doom editor' arch=('i686' 'x86_64') url='http://slade.mancubus.net/' license=('GPL') depends=('bzip2' 'curl' 'fluidsynth>=2.0' 'freeimage' 'ftgl' 'glew>=2.1' 'glu' 'gtk3' 'libgl' 'sfml>=2.5' 'webkit2gtk' 'wxgtk3>=3.0' 'zlib') makedepends=('cmake' 'p7zip') source=("https://github.com/sirjuddington/SLADE/archive/${pkgver}.tar.gz") sha256sums=('ee3acaaf27292c90a46eea509c3a56564e1339b3080a9648dc6edf5b731be57e') build() { cd SLADE-${pkgver} ln -sf /usr/bin/wx-config-gtk3 wx-config cmake -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=/usr \ -DWITH_WXPATH=. \ . make } package() { cd SLADE-${pkgver} make install DESTDIR="$pkgdir" }