updated on Thu Jan 19 20:01:47 UTC 2012
[aur-mirror.git] / xbmc-skin-aeon-git / PKGBUILD
blobdc04f7755c5cdae1b42b3b78c572441d377a7c97
1 # Contributor: Ralf Barth <archlinux dot or at haggy dot org>
2 # Contributor: Richard Atkinson atkinsonr at gmail
3 # Maintainer: graysky <da_audiophile at yahoo>
5 pkgname=xbmc-skin-aeon-git
6 pkgver=20100421
7 pkgrel=1
8 pkgdesc="Aeon skin for XBMC (git version)"
9 arch=('i686' 'x86_64')
10 url="http://www.aeonproject.com/"
11 source=('http://www.aeonproject.com/dropbin/Aeon_Fonts.zip')
12 noextract=('Aeon_Fonts.zip')
13 depends=('xbmc')
14 makedepends=('git' 'unzip')
15 provides=()
16 groups=('multimedia')
17 license=('GPL')
18 options=()
19 md5sums=('220df1006a5d06fe6b9cd3ec38b133a6')
20 sha256sums=('2527ce2670474d769cfb6f900495a007e0230e4cb477d14fbba456faaeeeef94')
22 build() {
24   _gitversion="a31c3b6713aea8bcc94823891cb20c634a34ba5e"
25   _gitroot="http://github.com/djh/aeon.git"
26   _gitname="aeon"
28   cd ${srcdir}
29   msg "Connecting to github.com GIT server..."
31   if [ ! -d ${srcdir}/$_gitname ] ; then
32     msg "No local branch found, cloning remote branch..."
33     git clone $_gitroot
34     cd $srcdir/$_gitname && git checkout --track -b auriga origin/auriga
35   fi
37   cd $srcdir/$_gitname && git checkout $_gitversion
38   msg "GIT checkout done or server timeout"
40   # Copy tree to share location
41   mkdir -p $pkgdir/opt/xbmc/skin/$_gitname
42   cp -r $startdir/src/$_gitname/* $pkgdir/opt/xbmc/skin/$_gitname/
44   # Unzip fonts into skin location
45   unzip -q ${srcdir}/Aeon_Fonts.zip -d $pkgdir/opt/xbmc/skin/$_gitname/