1 # Contributor: Artem Sereda <overmind88@gmail.com>
5 pkgdesc="Qt-only fork of Kross, the KDE scripting framework"
7 url="http://github.com/0xd34df00d/Qross"
16 _gitroot="http://github.com/0xd34df00d/Qross.git"
20 msg "Connecting to GIT server..."
21 if [[ -d $srcdir/$pkgname-$pkgver ]]; then
22 cd $srcdir/$pkgname-$pkgver && git pull origin || return 1
24 git clone $_gitroot $srcdir/$pkgname-$pkgver || return 1
25 cd $srcdir/$pkgname-$pkgver/
28 msg "GIT checkout done or server timeout"
30 cd $srcdir/$pkgname-$pkgver/src/qross
36 cmake -DCMAKE_INSTALL_PREFIX=/usr
38 make DESTDIR=$startdir/pkg install