1 # Maintainer: Alexander De Sousa <archaur.xandy21@spamgourmet.com>
2 # Contributor: evr <evanroman at gmail>
3 # Contributor: Jorge Mokross <mokross@gmail.com>
8 pkgdesc='A simple MPlayer GUI.'
10 url='http://gnome-mplayer.googlecode.com/'
12 depends=('mplayer' 'dbus-glib' 'libnotify' 'gmtk-svn')
13 makedepends=('subversion')
14 install="${pkgname}.install"
15 conflicts=('gnome-mplayer' 'gnome-mplayer-cvs')
16 provides=('gnome-mplayer')
18 _svntrunk=http://gnome-mplayer.googlecode.com/svn/trunk
19 _svnmod=gnome-mplayer-read-only
24 msg2 "Checking out the repository..."
25 if [ -d $_svnmod/.svn ]; then
26 (cd $_svnmod && svn up -r $pkgver)
28 svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
31 msg2 "SVN checkout done or server timeout."
33 rm -rf "$srcdir/$_svnmod-build"
34 cp -r "$srcdir/$_svnmod" "$srcdir/$_svnmod-build"
35 cd "$srcdir/$_svnmod-build"
38 ./configure --prefix=/usr --sysconfdir=/etc --without-gconf
44 cd "$srcdir/$_svnmod-build"
46 make DESTDIR="$pkgdir/" install
48 sed -i 's@Exec=gnome-mplayer %U@Exec=gnome-mplayer %F@' \
49 "${pkgdir}/usr/share/applications/gnome-mplayer.desktop"
52 # vim: set ts=3 sw=3 tw=0: