1 # Contributor: mutantmonkey <mutantmonkey@gmail.com>
5 pkgdesc="A program to execute DesktopEntry files of type Application, primarily for window managers that do not implement the Freedesktop autostart specification"
6 url="https://github.com/jceb/dex"
17 _gitroot="https://github.com/jceb/dex.git"
22 msg "Connecting to GIT server...."
24 if [[ -d "$_gitname" ]]; then
25 cd "$_gitname" && git pull origin
26 msg "The local files are updated."
28 git clone "$_gitroot" "$_gitname"
31 msg "GIT checkout done or server timeout"
32 msg "Starting build..."
34 rm -rf "$srcdir/$_gitname-build"
35 git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
36 cd "$srcdir/$_gitname-build"
38 sed -i 's/\/usr\/bin\/python/\/usr\/bin\/python2/' dex || return 1
42 cd "$srcdir/$_gitname-build"
43 install -m755 -D dex $pkgdir/usr/bin/dex
46 # vim:set ts=2 sw=2 et: