1 # Maintainer: Michal Kowalski <kowalski TOD michal TA gmail TOD com>
8 pkgdesc="dereferencier is a CLI \"snippets\" DB and perhaps even a GTD app"
10 url="https://github.com/ypb/drfe"
24 #generate with 'makepkg -g'
26 _gitroot="git://github.com/ypb/drfe.git"
32 msg "Connecting to GIT server...."
34 if [ -d $_gitname ] ; then
35 cd $_gitname && git pull origin
36 msg "The local files are updated."
38 git clone $_gitroot $_gitname
41 msg "GIT checkout done or server timeout"
42 msg "Starting make..."
44 rm -rf "$srcdir/$_gitname-build"
45 git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
46 cd "$srcdir/$_gitname-build"
54 cd "$srcdir/$_gitname-build"
55 make DESTDIR="$pkgdir/" prefix=${_prefix} install