2 pkgname=${__pkgname}-git
5 url="http://momentvideo.org/"
6 pkgdesc="Moment Video Server lets you organize live video streaming on the Internet with ease."
9 depends=('libmary-git' 'mconfig-git' 'ctemplate')
11 __gitroot="git://github.com/erdizz/moment.git"
18 if [ -d $srcdir/${__gitname} ] ; then
19 msg "Git checkout: Updating existing tree"
20 cd ${__gitname} && git checkout ${_commit}
21 msg "Git checkout: Tree has been updated"
23 msg "Git checkout: Retrieving sources"
24 git clone ${__gitroot} && cd ${__gitname} && git checkout ${_commit}
26 msg "Checkout completed"
28 [ -d ${__gitname}-build ] || rm -rf $srcdir/${__gitname}-build
29 git clone $srcdir/${__gitname} $srcdir/${__gitname}-build
30 cd $srcdir/${__gitname}-build
32 ./configure --prefix=/usr
37 cd "$srcdir"/${__gitname}-build
38 make prefix="$pkgdir"/usr install