1 # Contributor: Jan Cholasta <grubber@grubber.cz>
6 pkgdesc="SLADE3 Doom editor."
8 url="http://slade.mancubus.net/"
10 depends=('bzip2' 'fluidsynth' 'freeimage' 'sfml' 'wxgtk-2.9' 'zlib')
12 source=(http://slade.mancubus.net/files/${pkgname}_302_src.zip
13 $pkgname-$pkgver-cmake.patch
16 md5sums=('4cce3c83292ea55044b7d385bb61a907'
17 '5ba0ea8add5a46e8e4fde601c3822fc5'
18 '2c7337f8f918009b8633f6650a583efd'
19 '85e440a64d8185fb903b1cec4f72c234')
22 patch -p1 <"$srcdir"/$pkgname-$pkgver-cmake.patch
24 cmake -DwxWidgets_CONFIG_EXECUTABLE=/usr/bin/wx-config-2.9 -DwxWidgets_wxrc_EXECUTABLE=/usr/bin/wxrc-2.9 .
29 install -Dm755 slade "$pkgdir"/usr/bin/slade
30 install -Dm644 dist/slade.pk3 "$pkgdir"/usr/share/slade3/slade.pk3
32 install -Dm644 slade.desktop "$pkgdir"/usr/share/applications/slade.desktop
33 install -Dm644 slade.png "$pkgdir"/usr/share/pixmaps/slade.png