updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / omvviewer-artwork-git / PKGBUILD
blob5097887b7fc2f2e6daabdf5fa334a1a806937d75
1 # Contributor: Medical-Wei/Lanny Bikcin <medicalwei at gmail dot com>
3 pkgname=omvviewer-artwork-git
4 pkgver=20090314
5 pkgrel=1
6 pkgdesc="Artwork files for Open Metaverse Viewer"
7 arch=('i686' 'x86_64')
8 url="http://omvviewer.byteme.org.uk/index.shtml"
9 license=('custom')
10 conflicts=('omvviewer-artwork')
11 provides=('omvviewer-artwork')
12 depends=()
13 makedepends=('git' 'make')
14 md5sums=()
16 _gitroot="git://git.byteme.org.uk/home/git/slviewer-artwork.git"
17 _gitname="slviewer-artwork"
19 build() {
20   cd $srcdir
22   msg "Connecting to GIT server..."
23   if [[ -d $_gitname ]]; then
24     (cd $_gitname && git pull origin)
25   else
26     git clone $_gitroot $_gitname
27     (cd $_gitname && git checkout -b linux origin/linux)
28   fi
30   msg "GIT checkout done or server timeout"
31   msg "Starting make..."
33 #  rm -rf $_gitname-build
34   cp -r $_gitname $_gitname-build
35   cd $_gitname-build
37   make INSTALL=$pkgdir/usr/share/omvviewer/ install || return 1