1 # Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
2 # Contributor: Christoph Zeiler <archNOSPAM_at_moonblade.dot.org>
7 pkgdesc="A modern MUD client with a graphical user inteface and built in Lua scripting"
9 url="http://sourceforge.net/projects/mudlet/"
11 depends=('lua' 'qscintilla' 'qt')
13 source=(http://downloads.sourceforge.net/project/$pkgname/$pkgname-$pkgver-src.tar.gz)
14 md5sums=('0710ec2c9c146633ef8b659a1183b612')
17 cd ${srcdir}/${pkgname}
19 cmake -DCMAKE_INSTALL_PREFIX=/usr .
21 make DESTDIR=${pkgdir} install
23 #remove from bad location
24 rm ${pkgdir}/usr/bin/{LuaGlobal.lua,mudlet_documentation.html} || return 1
26 #copy to correct location
27 cp -Rv ${pkgdir}/usr/local/* ${pkgdir}/usr || return 1
28 rm -rf ${pkgdir}/usr/local || return 1
30 #.desktop file and icon
31 install -D -m644 ${srcdir}/${pkgname}/${pkgname}.desktop \
32 ${pkgdir}/usr/share/applications/${pkgname}.desktop || return 1
33 install -D -m644 ${srcdir}/${pkgname}/${pkgname}.png \
34 ${pkgdir}/usr/share/pixmaps/${pkgname}.png || return 1