1 pkgname=despotify-pulse-svn
4 pkgdesc="An open source client for Spotify whit pulseaudio"
6 url="http://despotify.sourceforge.net/"
8 depends=('libvorbis' 'openssl' 'pulseaudio')
9 makedepends=('subversion' 'ncurses' 'libtool' 'expat')
10 provides=('despotify-svn')
11 conflicts=('despotify-svn' 'despotify-ao-svn')
12 _svntrunk=https://despotify.svn.sourceforge.net/svnroot/despotify/src
17 if [ -d "$_svnmod/.svn" ]; then
18 (cd "$_svnmod" && svn up -r "$pkgver")
20 svn co "$_svntrunk" --config-dir ./ -r "$pkgver" "$_svnmod"
22 msg "SVN checkout done or server timeout"
28 sed 's:gstreamer:pulseaudio:' <Makefile.local.mk.dist > Makefile.local.mk
31 # The installer fails to make these directories
32 mkdir -p "$pkgdir/usr/include"
33 mkdir -p "$pkgdir/usr/bin"
35 # Install to the pkgdir
36 make INSTALL_PREFIX="$pkgdir/usr" DESTDIR="$pkgdir/" install
38 # Shouldn't be executable, fixing
39 chmod -x "$pkgdir/usr/include/despotify.h"