Pastebin launched a little side project called HostCabi.net, check it out ;-)Don't like ads? PRO users don't see any ads ;-)
Guest

emerillon-gtk3

By: a guest on Aug 15th, 2011  |  syntax: None  |  size: 0.93 KB  |  hits: 55  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. # Maintainer: Isaac Dupree <id@isaac.cedarswampstudios.org>
  2. # Contributor: yannsen <ynnsen@gmail.com>
  3. pkgname=emerillon-gtk3
  4. arch=('i686' 'x86_64')
  5. pkgver=20110811
  6. pkgrel=1
  7. pkgdesc="OpenStreetMap viewer"
  8. url="http://projects.gnome.org/emerillon/"
  9. license=(GPL)
  10. depends=(libgl geoclue libsoup-gnome libchamplain librest glproto dri2proto libpeas)
  11. makedepends=(git gnome-common vala gtk-doc)
  12. options=()
  13. provides=(emerillon)
  14. _gitroot="git://git.gnome.org/emerillon"
  15. _gitname="emerillon"
  16. install=${pkgname}.install
  17. source=()
  18. md5sums=()
  19.  
  20.  
  21. build() {
  22.   cd ${srcdir}
  23.   msg "Connecting to $pkgname GIT server...."
  24.  
  25.   if [ -d ${srcdir}/$_gitname ] ; then
  26.           cd $_gitname && git pull origin gtk3
  27.           msg "The local files are updated."
  28.   else
  29.           git clone $_gitroot
  30.   fi
  31.  
  32.   cd ${srcdir}/$_gitname
  33.   ./autogen.sh --prefix=/usr
  34.   make
  35. }
  36. package() {
  37.   cd ${srcdir}/$_gitname
  38.   make DESTDIR=$pkgdir install
  39. }