4 pkgdesc="Preferans -- quite old European card game mostly popular in Russia"
6 url="http://openpref.sourceforge.net/"
9 makedepends=('cmake>=2.4.8' 'git')
11 conflicts=('openpref')
13 _gitroot="http://git.gitorious.org/~annulen/openprefqt4/annulens-clone.git"
14 _gitname="annulens-clone"
19 if [ -d $_gitname ]; then
20 echo "Pulling changes"
21 cd $_gitname && git pull origin || return 1
23 git clone $_gitroot || return 1
29 cmake -D CMAKE_INSTALL_PREFIX="/usr" -D BIN_INSTALL_DIR=bin ../$_gitname
31 make DESTDIR="${pkgdir}" install