1 # Maintainer: Dave Reisner <d@falcondiny.com>
6 pkgdesc="a plain and simple ANSI C preprocessor"
8 url="http://daniel.haxx.se/projects/fcpp/"
11 provides=('frexx-cpp')
12 conflicts=('frexx-cpp')
14 _gitroot="git://github.com/bagder/fcpp.git"
19 msg "Connecting to GIT server...."
21 if [[ -d $_gitname ]] ; then
22 cd $_gitname && git pull origin
23 msg "The local files are updated."
25 git clone $_gitroot $_gitname
28 msg "GIT checkout done or server timeout"
29 msg "Starting make..."
31 rm -rf "$srcdir/$_gitname-build"
32 git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
33 cd "$srcdir/$_gitname-build"
39 cd "$srcdir/$_gitname-build"
41 install -Dm755 fcpp "$pkgdir/usr/bin/fcpp"
42 install -Dm644 COPYING "$pkgdir/usr/share/licenses/frexx-cpp/COPYING"