4 pkgdesc="K8Jam build system (Git version)"
5 url="http://repo.or.cz/w/k8jam.git"
8 makedepends=('git' 'gcc' 'flex' 'bison')
12 _gitroot=git://repo.or.cz/k8jam.git
18 msg "Connecting to project GIT server..."
20 if [ -d ${srcdir}/$_gitname ]; then
21 cd $_gitname && git pull origin
22 msg "The local files are updated."
27 msg "GIT checkout done or server timeout"
28 msg "Starting make..."
30 if [ -d ${srcdir}/$_gitname-build ]; then
31 rm -rf ${srcdir}/$_gitname-build
34 git clone ${srcdir}/$_gitname ${srcdir}/$_gitname-build
35 cd ${srcdir}/$_gitname-build
36 #git reset --hard a4cd55fb3bd5e44b44c09e2259554a69920da0cb
43 cd ${srcdir}/$_gitname-build
45 install -D bin.unix/jam "${pkgdir}/usr/bin/jam"
46 mkdir -p "${pkgdir}/usr/share/doc/k8jam"
47 ( cd doc ; cp -r * "${pkgdir}/usr/share/doc/k8jam/" )