All pastes #417878 Raw Edit

Untitled

public text v1 · immutable
#417878 ·published 2007-03-31 07:33 UTC
rendered paste body
# Contributor: Slash <demodevil5[at]yahoo[dot]com>

pkgname=ncmpc-svn
pkgver=5744
pkgrel=2
pkgdesc="A ncurses interface for MPD. SVN version with artist and search screen"
arch=('i686' 'x86_64')
url="http://hem.bredband.net/kaw/ncmpc/"
license="GPL"
depends=('ncurses' 'glib2' 'curl')
makedepends=('subversion')
conflicts=('ncmpc')
provides=('ncmpc')
md5sums=()

_svntrunk=https://svn.musicpd.org/ncmpc/branches/tradiaz
_svnmod=ncmpc
_revnumber=$pkgver

build() {
  cd $startdir/src
  # Be sure to have a ~/.subversion.  If it doesn't exist, touch it.
  touch ~/.subversion
      
  svn co $_svntrunk --config-dir ./ -r $_revnumber $_svnmod
  cd $_svnmod
  
  msg "SVN checkout done or server timeout"
  msg "Starting make..."

  ./autogen.sh \
  --prefix=/usr \
  --enable-mouse \
  --enable-artist-screen \
  --enable-search-screen \
  --enable-key-screen \
  --enable-clock-screen \
  --enable-lyrics-screen\
  --with-lyrics-leoslyrics=fixed\
  --with-lyrics-hd=fixed

  make || return 1
  make prefix=$startdir/pkg/usr install
}