updated on Thu Jan 12 04:00:44 UTC 2012
[aur-mirror.git] / xbmc-skin-transparency-svn / PKGBUILD
blob8bb40cec1613b3fa22b1ac7955dc7ad8021dcdf0
1 # Contributor: [vEX] <niechift.dot.vex.at.gmail.dot.com>
2 pkgname=xbmc-skin-transparency-svn
3 pkgver=791
4 pkgrel=1
5 pkgdesc="A XBMC fanart skin by ronie"
6 arch=('any')
7 url="http://code.google.com/p/transparency-xbmc/"
8 license=('GPL')
9 depends=("xbmc-git>=20110108")
10 makedepends=("subversion")
11 conflicts=("xbmc-skin-transparency")
13 _svntrunk=http://transparency-xbmc.googlecode.com/svn/trunk
14 _svnmod=Transparency
16 build() {
17   cd "$srcdir"
19   if [ -d $_svnmod/.svn ]; then
20     (cd $_svnmod && svn up -r $pkgver)
21   else
22     svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
23   fi
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"
32   # 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