1. #Mantainer: Matias Hernandez <msdark@archlinux.cl>
  2. #Contributor: Matias Hernandez <msdark@archlinux.cl>
  3. # Remake of July 2010 by Berseker <berseker86@gmail.com>
  4.  
  5. pkgname=viewnior-git
  6. pkgver=20100702
  7. pkgrel=1
  8. pkgdesc="Simple, fast, elegant and minimalistic image viewer, written in C(GTK+) with a new GtkImageView library. Fullscreen & Slideshow, Rotate,flip,save and delete images, Animation support,Set image as wallpaper.... Simple!!"
  9. arch=('i686' 'x86_64')
  10. url="http://xsisqox.github.com/Viewnior/"
  11. license=('GPL')
  12. depends=()
  13. makedepends=('gnome-common')
  14. provides=('viewnior')
  15. options=('strip')
  16. _gitroot="git://github.com/xsisqox/Viewnior.git"
  17. _gitname="Viewnior"
  18.  
  19. build() {
  20. msg "Connecting to GIT server..."
  21. if [ -d "${srcdir}/${_gitname}" ] ; then
  22. cd ${_gitname} && git pull --rebase
  23. else
  24. git clone ${_gitroot}
  25. fi
  26. msg "GIT checkout done or server timeout"
  27.  
  28. msg "Starting make..."
  29.  
  30. rm -rf ${srcdir}/build
  31. cd ${srcdir}/${_gitname}
  32. ./autogen.sh
  33.  
  34. ./configure --enable-wallpaper --prefix=/usr
  35. make
  36. make DESTDIR=$pkgdir install
  37. }