1 # Contributor: Medical-Wei/Lanny Bikcin <medicalwei at gmail dot com>
3 pkgname=omvviewer-artwork-git
6 pkgdesc="Artwork files for Open Metaverse Viewer"
8 url="http://omvviewer.byteme.org.uk/index.shtml"
10 conflicts=('omvviewer-artwork')
11 provides=('omvviewer-artwork')
13 makedepends=('git' 'make')
16 _gitroot="git://git.byteme.org.uk/home/git/slviewer-artwork.git"
17 _gitname="slviewer-artwork"
22 msg "Connecting to GIT server..."
23 if [[ -d $_gitname ]]; then
24 (cd $_gitname && git pull origin)
26 git clone $_gitroot $_gitname
27 (cd $_gitname && git checkout -b linux origin/linux)
30 msg "GIT checkout done or server timeout"
31 msg "Starting make..."
33 # rm -rf $_gitname-build
34 cp -r $_gitname $_gitname-build
37 make INSTALL=$pkgdir/usr/share/omvviewer/ install || return 1