1 # Maintainer: Alucryd <alucryd at gmail dot com>
2 pkgname=editor-on-fire-svn
5 pkgdesc="A song editor for Frets On Fire"
7 url="http://code.google.com/p/editor-on-fire/"
9 depends=('allegro4' 'libogg' 'libvorbis' 'libpng' 'zlib')
10 optdepends=('lame: MP3 decoding'
11 'vorbis-tools: OGG encoding')
12 source=('eof' 'eof.desktop')
13 md5sums=('1113362be320b2a5de64f85426aa5244' 'e755de376de04c36975c047b63061349')
15 _svntrunk=http://editor-on-fire.googlecode.com/svn/trunk/
16 _svnmod=editor-on-fire
20 msg "Connecting to SVN server...."
21 if [[ -d "$_svnmod/.svn" ]]; then
22 (cd "$_svnmod" && svn up -r "$pkgver")
24 svn co "$_svntrunk" --config-dir ./ -r "$pkgver" "$_svnmod"
26 msg "SVN checkout done or server timeout"
34 install -D -m755 "$srcdir/eof" "$pkgdir/usr/bin/eof"
35 install -D -m644 "$srcdir/eof.desktop" "$pkgdir/usr/share/applications/eof.desktop"
36 install -D -m644 license.txt "$pkgdir/usr/share/licenses/editor-on-fire-svn/license.txt"
37 mv bin "$pkgdir/opt/editor-on-fire"
38 install -d -m777 "$pkgdir/opt/editor-on-fire"