1 # Maintainer: Esa Lakaniemi <esalaka@gmail.com>
20 _gitroot="https://github.com/gyazo/Gyazo-for-Linux.git"
25 msg "Connecting to GIT server...."
27 if [ -d $_gitname ] ; then
28 cd $_gitname && git pull origin
29 msg "The local files are updated."
31 git clone $_gitroot $_gitname
34 msg "GIT checkout done or server timeout"
35 msg "Starting make..."
37 rm -rf "$srcdir/$_gitname-build"
38 git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
39 cd "$srcdir/$_gitname-build"
48 cd "$srcdir/$_gitname-build"
49 mkdir -p "$pkgdir/usr/bin"
50 cp "gyazo" "$pkgdir/usr/bin/"