1 # Contributor: Erik Hardesty <dalingrin@gmail.com>
6 pkgdesc="A simple script for Arch linux to simplify AUR package management"
8 url=('http://github.com/dalingrin/pbfetch')
10 depends=('sudo' 'wget' 'curl')
11 optdepends=('pacman-color: matches output if color is used')
13 backup=('etc/pbfetch.conf')
15 _gitroot="git://github.com/dalingrin/pbfetch.git"
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 && cd $_gitname
29 install -D -m644 ./config/$_pkgname.conf $pkgdir/etc/$_pkgname.conf || return 1
30 install -D -m755 ./$_pkgname $pkgdir/usr/bin/$_pkgname || return 1