1 # Contributor: Wintershade (Wintershade (at) that-letter-before-H-mail (dot) com)
2 # Many thanks to Rasi for starting this
8 conflicts=('rubyripper')
9 replaces=('rubyripper')
10 provides=('rubyripper')
12 pkgdesc="Secure audiodisc ripper"
13 arch=('i686' 'x86_64')
14 url="http://code.google.com/p/rubyripper/"
17 depends=('cdparanoia' 'gtk2' 'hicolor-icon-theme' 'ruby-gtk2')
18 makedepends=('git' 'ruby' 'sudo')
19 optdepends=('ruby-gtk2: GTK+ GUI'
20 'cd-discid: Freedb support'
21 'eject: Eject support'
22 'lame: MP3 encoding support'
23 'vorbis-tools: Ogg Vorbis encoding support'
24 'flac: FLAC encoding support'
25 'wavegain: WAV ReplayGain support'
26 'mp3gain: MP3 ReplayGain support'
27 'vorbisgain: Ogg Vorbis ReplayGain support'
28 'normalize: Normalization support')
29 install=rubyripper.install
32 _gitroot="https://code.google.com/p/rubyripper/"
38 msg "Connecting to rubyripper git server..."
40 if [ -d $startdir/src/$_gitname ] ; then
41 cd $_gitname && git pull origin
42 msg "The local files are updated."
48 cd "$srcdir/rubyripper"
50 ./configure --prefix=/usr --enable-gtk2 --enable-cli --enable-lang-all
51 make DESTDIR="$pkgdir" install