Guest User

saga-gis 2.0.6 PKGBUILD

a guest
Mar 22nd, 2011
251
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # Maintainer: Dominik Fuchs <dominik.fuchs@wur.nl>
  2. # Contributor: Marcelo Avalos Tejeda <marcelo.avalos@gmail.com>
  3. pkgname=saga-gis
  4. pkgver=2.0.6
  5. pkgrel=1
  6. pkgdesc="SAGA -System for Automated Geoscientific Analyses- is a hybrid GIS software"
  7. url="http://www.saga-gis.org"
  8. license="GPL"
  9. arch=('i686' 'x86_64')
  10. depends=('wxgtk>=2.8.3' 'gdal>=1.7' 'unixodbc' 'jasper')
  11. source=("http://downloads.sourceforge.net/project/saga-gis/SAGA%20-%202.0/SAGA%20${pkgver}/saga_${pkgver}.tar.gz"
  12. saga-gis.png
  13. saga-gis.desktop)
  14.  
  15. md5sums=('43b14bb671a59661d94f56b7bd38190f'
  16. 'f211cbdb2c9feb3dec254a7755f9f154'
  17. '5bce110e080c450de237635c5c651f54')
  18.  
  19. build() {
  20. mkdir -p $startdir/pkg/usr/share/{applications,pixmaps}
  21. install -D -m644 $startdir/${pkgname}.png $startdir/pkg/usr/share/pixmaps/${pkgname}.png
  22. install -D -m644 $startdir/${pkgname}.desktop $startdir/pkg/usr/share/applications/${pkgname}.desktop
  23.  
  24. cd $startdir/src/saga-${pkgver}
  25. ./configure --enable-unicode --prefix=/usr
  26. make
  27. make DESTDIR=$startdir/pkg install
  28.  
  29. }
RAW Paste Data