updated on Thu Jan 19 04:14:35 UTC 2012
[aur-mirror.git] / musicmanager-svn / PKGBUILD
blob94453d1b816950b9ba6f39cbc36d3394b3988033
1 # Contributor:  Bulat Sibgatullin <bulatsib@gmail.com>
3 pkgname=musicmanager-svn
4 pkgver=748
5 pkgrel=1
6 pkgdesc="Music Manager and Player (SVN version)"
7 url="http://code.google.com/p/gogglesmm/"
8 arch=('i686' 'x86_64')
9 license=('GPL3')
10 depends=('fox>=1.6.0' 'xine-lib>=1.0' 'sqlite3>=3.2.0' 'taglib' 'gtk2' 'dbus-glib')
11 makedepends=('subversion')
12 conflicts=('musicmanager')
13 provides=('musicmanager')
14 install=musicmanager.install
16 source=(musicmanager.install)
17 md5sums=(9e3610cd282362fb2f7e74264efc0f86)
19 _svntrunk=http://gogglesmm.googlecode.com/svn/trunk/
20 _svnmod=gogglesmm-read-only
22 build() {
23   cd ${srcdir}
25   if [ -d $_svnmod/.svn ]; then
26     (cd $_svnmod && svn up -r $pkgver)
27   else
28     svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
29   fi
31   msg "SVN checkout done or server timeout"
32   msg "Starting make..."
34   cp -r $_svnmod $_svnmod-build
35   cd $_svnmod-build
37   ./configure --prefix=/usr
38   make || return 1
39   make DESTDIR=${pkgdir} install || return 1
41   rm -rf ${srcdir}/$_svnmod-build
43 # vim:syntax=sh