updated on Tue Jan 10 12:02:00 UTC 2012
[aur-mirror.git] / pim-git / PKGBUILD
blob92353d40f20f1212c8f6271429b4afab0f288427
1 # Maintainer: Army [uli.armbruster (the google thing)]
2 pkgname=pim-git
3 pkgver=20101119
4 pkgrel=1
5 pkgdesc="A Python image viewer with vim-like keybindings"
6 arch=(any)
7 url="http://github.com/aeosynth/Pim"
8 license=('GPL')
9 depends=('pygtk')
10 makedepends=('git')
12 _gitroot="http://github.com/aeosynth/Pim.git"
13 _gitname="pim"
15 build() {
16         cd ${srcdir}
17         msg "Connecting to GIT server...."
18         if [ -d ${_gitname} ] ; then
19                 cd ${_gitname} && git pull origin
20                 msg "The local files are updated."
21         else
22                 git clone ${_gitroot} ${_gitname}
23         fi
24         cd ${srcdir}/${_gitname}
25         install -Dm755 ${srcdir}/${_gitname}/${_gitname} ${pkgdir}/usr/bin/${_gitname}
26