1 # Maintainer: Lukas Sabota (admin@xannode.com)
2 # Contributor: Lukas Sabota (admin@xannode.com)
6 pkgdesc="GTK2 mud client inspired by tintin and sclient."
8 url="http://www.ggsoft.org/ggmud/"
11 makedepends=('subversion')
13 _svntrunk=https://ggmud.svn.sourceforge.net/svnroot/ggmud/trunk/ggmud
19 if [ -d $_svnmod/.svn ]; then
20 (cd $_svnmod && svn up -r $pkgver)
22 svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
25 msg "SVN checkout done or server timeout"
26 msg "Starting make..."
28 rm -rf "$srcdir/$_svnmod-build"
29 cp -r "$srcdir/$_svnmod" "$srcdir/$_svnmod-build"
30 cd "$srcdir/$_svnmod-build"
34 cd "$srcdir/$_svnmod-build"
35 # fix compilation errors
36 sed s/--as-needed// Makefile > Makefile.new
37 mv Makefile.new Makefile
39 install -D -m755 ggmud "$pkgdir/usr/bin/$pkgname"
40 install -D -m644 "gg_help.txt" "${pkgdir}/usr/share/$pkgname/gg_help.txt" || return 1
42 #.desktop + icon file -- commented out in order to not conflict with ggmud
43 # feel free to uncomment
44 #install -D -m644 "${srcdir}/ggmud/ggmud.desktop" \
45 # "${pkgdir}/usr/share/applications/$pkgname.desktop" || return 1
46 #install -D -m644 "${srcdir}/ggmud/ggmud.png" \
47 # "${pkgdir}/usr/share/pixmaps/$pkgname.png" || return 1