1 # Contributor: [vEX] <niechift.dot.vex.at.gmail.dot.com>
2 pkgname=xbmc-skin-transparency-svn
5 pkgdesc="A XBMC fanart skin by ronie"
7 url="http://code.google.com/p/transparency-xbmc/"
9 depends=("xbmc-git>=20110108")
10 makedepends=("subversion")
11 conflicts=("xbmc-skin-transparency")
13 _svntrunk=http://transparency-xbmc.googlecode.com/svn/trunk
19 if [ -d $_svnmod/.svn ]; then
20 (cd $_svnmod && svn up -r $pkgver)
22 svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
25 msg "SVN checkout done or server timeout"
26 msg "Starting make..."
28 rm -rf "$srcdir/$_svnmod-build"
29 cp -r "$srcdir/$_svnmod" "$srcdir/$_svnmod-build"
30 cd "$srcdir/$_svnmod-build"
33 mkdir -p ${pkgdir}/usr/share/xbmc/addons/skin.transparency
34 cp -r ${srcdir}/${_svnmod}/* ${pkgdir}/usr/share/xbmc/addons/skin.transparency
35 # Remove SVN leftovers
36 find ${pkgdir}/usr/share/xbmc/addons/skin.transparency -type d -name ".svn"|xargs rm -rf