updated on Sun Jan 15 04:04:02 UTC 2012
[aur-mirror.git] / guayadeque-svn / PKGBUILD
blobfc03429805d7d759b2acd0fef3639a0c02415e52
1 # Contributor: Martin Herndl <martin.herndl@gmail.com>
2 pkgname=guayadeque-svn 
3 pkgver=1502
4 pkgrel=1
5 pkgdesc="Full Featured Linux media player for large collections"
6 arch=('i686' 'x86_64')
7 url="http://sourceforge.net/projects/guayadeque/"
8 license=('GPL')
9 depends=('taglib>=1.5-1' 'curl>=7.19.5-2' 'glib2>=2.12.0'  'gstreamer0.10' 'gstreamer0.10-base-plugins' \
10         'gstreamer0.10-good-plugins' 'libxml2' 'sqlite3>=3.6.10' 'wxgtk>=2.8.9.1' 'flac>=1.2.1-1' \
11         'dbus-core>=1.2.16-1' 'wxpython>=2.8.11' 'libgpod')
12 makedepends=('autoconf' 'automake' 'gcc' 'make' 'cmake' 'pkgconfig' 'subversion')
13 optdepends=('gstreamer0.10-plugins: all Gstreamer plugins to play all kind of music files')
14 conflicts=('guayadeque')
15 provides=('guayadeque')
16 groups=('guayadeque-svn')
17 source=()
18 md5sums=('')
20 _svnmod="guayadeque"
21 _svntrunk="https://guayadeque.svn.sourceforge.net/svnroot/guayadeque/Trunk"
23 build() {
24   cd ${srcdir}
26   msg "Getting sources..."
27   if [ -d ${_svnmod}/.svn ]; then
28     (cd ${_svnmod} && svn up -r ${pkgver})
29   else
30     svn co ${_svntrunk} --config-dir ./ -r ${pkgver} ${_svnmod}
31     cd ${_svnmod}
32   fi
34     msg "SVN checkout done or server timeout"
35     msg "Creating make environment..."
36     rm -rf $srcdir/$_svnmod-build
37     cp -r $srcdir/$_svnmod $srcdir/$_svnmod-build
38     cd $srcdir/$_svnmod-build
39           
40     msg "Starting make..."
41     
42   ./build || return 1
43   make DESTDIR=${pkgdir} install || return 1