1 # Maintainer: Tianjiao Yin <ytj000@gmail.com>
3 pkgname=cppreference-git
6 pkgdesc="A complete reference for the features in the C++ Standard Library. "
8 url="http://en.cppreference.com/"
9 license=('CCPL:cc-by-sa')
10 makedepends=('git' 'libxslt' 'httrack')
11 provides=(cppreference)
12 conflicts=(cppreference)
14 _gitroot="git://github.com/p12tic/cppreference-doc.git"
15 _gitname="cppreference-doc"
19 msg "Connecting to the GIT server...."
21 if [[ -d $srcdir/$_gitname ]] ; then
24 msg "The local files are updated."
26 git clone $_gitroot $_gitname
29 msg "GIT checkout done"
30 msg "Starting make..."
32 git clone $srcdir/$_gitname $srcdir/$_gitname-build
33 cd $srcdir/$_gitname-build
41 mkdir -p $pkgdir/usr/share/doc
42 mv $srcdir/${_gitname}-build/output $pkgdir/usr/share/doc/cppreference
45 # vim:set ts=2 sw=2 et: