updated on Thu Jan 19 20:01:47 UTC 2012
[aur-mirror.git] / mycinema-git / PKGBUILD
blob243b2441225f865a7d4a3e801a6e9b07b249c0b7
1 # Maintainer: archtux <antonio.arias99999@gmail.com>
3 pkgname=mycinema-git
4 pkgver=20110205
5 pkgrel=1
6 pkgdesc="Application to create your own movie collection retrieving information and photos from the biggest website databases"
7 url="https://sites.google.com/site/mycinemaproject/home"
8 arch=('i686' 'x86_64')
9 license=('GPL3')
10 depends=('qt')
11 makedepends=('git')
13 _gitroot=git://gitorious.org/mycinema/mycinema.git
14 _gitname=mycinema
16 build() {
17   cd $srcdir
19   msg "Connecting to GIT server...."
21   if [ -d $srcdir/$_gitname ] ; then
22     cd $_gitname && git pull --rebase
23   else
24     git clone $_gitroot
25   fi
27   msg "GIT checkout done or server timeout"
28   msg "Starting make..."
30   cd mycinema/experimental
31   qmake
32   make
33   install -Dm755 mycinema $pkgdir/usr/bin/mycinema