# Maintainer: Jan Cholasta pkgname=slade pkgver=3.1.0.4 pkgrel=1 pkgdesc="SLADE3 Doom editor." arch=('i686' 'x86_64') url="http://slade.mancubus.net/" license=('GPL') depends=('fluidsynth' 'freeimage' 'ftgl' 'libmodplug' 'sfml' 'wxgtk>=3.0') makedepends=('cmake' 'imagemagick' 'zip') source=(https://github.com/sirjuddington/SLADE/archive/$pkgver.tar.gz slade.desktop) sha256sums=('f643174975b2e7cd5c54be75a319a128f703231115f2ceba34ef0b9718d5fb8e' '5d619cdae8a993b07bb72aed54c7e814db48e66aac61a809dd2c5ab1373cd811') _srcsubdir=SLADE-$pkgver build() { cd $_srcsubdir cmake -DCMAKE_CXX_FLAGS=-DNDEBUG \ . make convert "slade.ico[0]" slade.png } package() { cd $_srcsubdir install -Dm755 slade "$pkgdir/usr/bin/slade" install -Dm644 slade.pk3 "$pkgdir/usr/share/slade3/slade.pk3" install -Dm644 slade.png "$pkgdir/usr/share/pixmaps/slade.png" install -Dm644 "$srcdir/slade.desktop" "$pkgdir/usr/share/applications/slade.desktop" }