1 # Maintainer: kittykatt <kittykatt@kittykatt.us>
2 pkgname=screenfetch-git
5 pkgdesc="Bash screenshot info grabber (DE, WM, theme, uptime, ...) GIT Version"
7 url="http://git.silverirc.com/cgit.cgi/screenfetch-dev.git/"
9 conflicts=('screenfetch')
10 depends=('bash' 'xorg-xdpyinfo')
11 optdepends=('scrot: To take screenshot')
14 _gitroot="git://git.silverirc.com/screenfetch-dev.git"
15 _gitname="screenfetch-dev"
20 msg "Connecting to GIT server...."
22 if [ -d $_gitname ] ; then
23 cd $_gitname && git pull origin
24 msg "The local files are updated."
26 git clone $_gitroot $_gitname
29 msg "GIT checkout done or server timeout"
30 msg "Starting make..."
32 rm -rf "$srcdir/$_gitname-build"
33 git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
34 cd "$srcdir/$_gitname-build"
36 # Create pkgdir folders
37 install -d $pkgdir/usr/bin
40 cp -r screenfetch-dev $pkgdir/usr/bin/screenfetch