1 # Contributor: Patryk PoĊomski <cykuss@gmail.com>
5 pkgdesc="Linux p2m client"
9 depends=('boost' 'qt' 'mcrypt' 'openssl' 'curl' 'mhash')
12 conflicts=('moorie_git' 'moorie-devel' 'moorie-svn')
17 _gitroot="git://github.com/cykus/${_gitname}.git"
21 msg "Connecting to ${_gitroot} git server...."
22 if [[ -d ${startdir}/src/${_gitname} ]] ; then
24 git pull ${pkgver} || return 1
25 msg "The local files are updated."
27 git clone ${_gitroot} ${pkgver} --branch master || return 1
29 msg "git checkout done"
30 msg "Starting make..."
31 cd ${startdir}/src/${pkgver}
32 CFLAGS="$SLKCFLAGS" CXXFLAGS="$SLKCFLAGS" cmake -DENABLE_GUI=ON -DCMAKE_INSTALL_PREFIX=/usr/ .
34 make DESTDIR=$pkgdir install