updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / bluemindo-svn / PKGBUILD
blobf5e771764a54792b75ce9f6de61c70790855ff42
1 # Contributor: Christoph Zeiler <archNOSPAM_at_moonblade.dot.org>
3 pkgname=bluemindo-svn
4 pkgver=124
5 pkgrel=1
6 pkgdesc="A really simple but powerful audio player, using PyGTK & GStreamer"
7 arch=('any')
8 url="http://bluemindo.codingteam.net/"
9 license=('GPL3')
10 depends=('pygtk>=2' 'gstreamer0.10-python' 'tagpy')
11 makedepends=('make' 'subversion')
12 provides=('bluemindo')
13 conflicts=('bluemindo')
14 optdepends=('dbus-python: Notifications support'
15             'python-notify: Notifications support'
16             'python-pyxmpp: PEP Plugin')
18 _svntrunk="http://svn.codingteam.net/bluemindo/trunk"
19 _svnmod="bluemindo"
21 build() {
22   msg "Connecting to SVN server..."
24   [ -d $_svnmod ] && {
25     cd $_svnmod
26     svn up -r $pkgver
27     cd ..
28     msg "Local files have been updated."
29   } || {
30     svn co $_svntrunk $_svnmod -r $pkgver --config-dir ./
31   }
33   msg "SVN checkout done or server timeout"
35   rm -rf $_svnmod-build
36   cp -rf $_svnmod/ $_svnmod-build/
37   cd $_svnmod-build
39   msg "Starting make..."
41   mkdir -p "$pkgdir"/usr/share/{applications,man,pixmaps}
42   make DESTDIR="$pkgdir" install