1 # pkgbuild made by hunterm <hunterm.haxxr at gmail dot com>
6 pkgdesc="A GUI for pacman and the AUR made in Bash!"
8 url="http://github.com/hunterm/blinky"
10 depends=('bash' 'zenity' 'coreutils' 'sed' 'packer' 'pkgtools')
11 _gitroot="git://github.com/hunterm/blinky.git"
16 msg "Connecting to GIT server...."
18 if [[ -d $_gitname ]] ; then
19 cd $_gitname && git pull origin
20 msg "The local files are updated."
22 git clone $_gitroot $_gitname
25 msg "GIT checkout done or server timeout"
29 cd ${srcdir}/${pkgname}
32 install -Dm644 ${pkgname}.png ${pkgdir}/usr/share/${pkgname}/${pkgname}.png
34 # install the main executable
35 install -Dm755 ${pkgname} ${pkgdir}/usr/bin/${pkgname}
37 # install the .desktop file
38 install -Dm644 Blinky.desktop ${pkgdir}/usr/share/applications/Blinky.desktop