1 # Maintainer: osily <ly50247 at gmail dot com>
6 pkgdesc="A lyrics plugins written by pyqt4, supporting Amarok2, Qmmp, Audacious and other Linux Players with full dbus interface functions."
8 url="http://www.sanfanling.cn"
10 depends=('python2-qt' 'pygobject' 'dbus-python')
11 makedepends=('subversion')
12 provides=('lrcshow-x')
13 conflicts=('lrcshow-x')
15 _svntrunk=http://www.sanfanling.cn/svn/lrcShow-X/trunk/lrcShow-X
21 if [ -d $_svnmod/.svn ]; then
22 (cd $_svnmod && svn up -r $pkgver)
24 svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
27 msg "SVN checkout done or server timeout"
28 msg "Starting make..."
30 rm -rf "$srcdir/$_svnmod-build"
31 cp -r "$srcdir/$_svnmod" "$srcdir/$_svnmod-build"
36 cd "$srcdir/$_svnmod-build"
38 install -d "${pkgdir}/usr/"{bin,share}
40 cp -r "$srcdir/$pkgname" "${pkgdir}/usr/share/"
42 sed -i '1s/python$/python2/' "$pkgdir"/usr/share/lrcshow-x-svn/lrcShow-X.py
43 find "$pkgdir" -type d -name '\.svn' -exec rm -rf {} +
45 cat > "$pkgdir/usr/bin/lrcShow-X" <<'EOF'
47 cd /usr/share/lrcShow-X/