1 # Maintainer: Manuel Fill <ap0calypse@agitatio.org>
5 pkgdesc="free console driven blogging software like nanoblogger"
7 url="http://github.com/ap0calypse/bazinga"
9 depends=('highlight' 'texlive-bin' 'texinfo' 'gnuplot' 'imagemagick' 'ncftp' 'git')
13 _gitroot="https://github.com/ap0calypse/bazinga.git"
18 msg "Connecting to GIT server...."
20 if [ -d $_gitname ] ; then
21 cd $_gitname && git pull origin
22 msg "The local files are updated."
24 git clone $_gitroot $_gitname
27 msg "GIT checkout done or server timeout"
28 msg "Starting make..."
29 rm -rf "$srcdir/$_gitname-build"
30 git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
34 cd "$srcdir/$_gitname-build"
35 install -D -m755 bzg "${pkgdir}/usr/local/bin/bzg"
36 install -D -m644 examples/example-config "${pkgdir}/usr/share/doc/bazinga/example-config"
37 install -D -m644 examples/example-article "${pkgdir}/usr/share/doc/bazinga/example-article"
38 install -D -m644 examples/style-dark.css "${pkgdir}/usr/share/doc/bazinga/style-dark.css"
39 install -D -m644 examples/style-matrix.css "${pkgdir}/usr/share/doc/bazinga/style-matrix.css"
40 install -D -m644 examples/index.template "${pkgdir}/usr/share/doc/bazinga/index.template"
41 install -D -m644 README "${pkgdir}/usr/share/doc/bazinga/README"
42 install -D -m644 AUTHORS "${pkgdir}/usr/share/doc/bazinga/AUTHORS"
43 install -D -m644 LICENSE "${pkgdir}/usr/share/doc/bazinga/LICENSE"