1 # See http://wiki.archlinux.org/index.php/VCS_PKGBUILD_Guidelines
2 # for more information on packaging from GIT sources.
4 # Maintainer: Noah Bieler <noah.bieler[at]gmx[dot]ch>
8 pkgdesc="Logs the date, the current directory and a note."
9 url="http://www.github.com/bielern/logcli"
10 arch=('x86_64' 'i686')
24 _gitroot="git://github.com/bielern/logcli.git"
29 msg "Connecting to GIT server...."
31 if [ -d $_gitname ] ; then
32 cd $_gitname && git pull origin
33 msg "The local files are updated."
35 git clone $_gitroot $_gitname
38 msg "GIT checkout done or server timeout"
39 msg "Starting make..."
41 rm -rf "$srcdir/$_gitname-build"
42 git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build" --depth=1
43 cd "$srcdir/$_gitname-build"
49 cd "$srcdir/$_gitname-build"
50 install -d -m755 "${pkgdir}/usr/bin/"
51 install -m755 l "${pkgdir}/usr/bin/l"