1 # See http://wiki.archlinux.org/index.php/VCS_PKGBUILD_Guidelines
2 # for more information on packaging from SVN sources.
4 # Maintainer: Nathan Sweetman <nathan.sweetman@gmail.com>
8 pkgdesc="ncurses based MPD client with vi-like key bindings"
10 url="https://sourceforge.net/projects/vimpc/"
13 depends=('libmpdclient' 'ncurses' 'pcre')
14 makedepends=('subversion')
25 _svntrunk=http://vimpc.svn.sourceforge.net/svnroot/vimpc/trunk
31 if [ -d $_svnmod/.svn ]; then
32 (cd $_svnmod && svn up -r $pkgver)
34 svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
37 msg "SVN checkout done or server timeout"
38 msg "Starting make..."
40 rm -rf "$srcdir/$_svnmod-build"
41 cp -r "$srcdir/$_svnmod" "$srcdir/$_svnmod-build"
42 cd "$srcdir/$_svnmod-build"
48 ./configure --prefix=/usr
53 cd "$srcdir/$_svnmod-build"
54 make DESTDIR="$pkgdir/" install