Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Maintainer: SaultDon <sault.don gmail>
- # Contributor: Samuel Mesa <[email protected]>
- # Contributor: Luigi Ranghetti <[email protected]>
- # Contributor: Dominik Fuchs <[email protected]>
- # Contributor: Marcelo Avalos Tejeda <[email protected]>
- pkgname=saga-gis
- _pkgname=saga
- pkgver=2.1.1
- pkgrel=0
- pkgdesc="A Geographic Information System (GIS) software with immense capabilities for geodata processing and analysis."
- url="http://www.saga-gis.org"
- license="GPL3"
- arch=('i686' 'x86_64')
- depends=('wxgtk>=3.0.0'
- 'proj>=4.8.0'
- 'gdal>=1.10.1'
- 'libtiff>=4.0.3'
- 'unixodbc>=2.3.2'
- 'jasper>=1.900.1'
- 'swig>=2.0.11')
- optdepends=('opencv'
- 'vigra'
- 'liblas'
- 'libharu')
- install=${pkgname}.install
- source=("http://hivelocity.dl.sourceforge.net/project/saga-gis/SAGA%20-%202.1/SAGA%202.1.1/${_pkgname}_${pkgver}.tar.gz")
- md5sums=('94f53a72089cb7e614ec22ad4266b9c5')
- build() {
- cd "${srcdir}/${_pkgname}-${pkgver}"
- autoreconf -i
- ./configure --prefix=/usr --enable-debug --enable-shared --enable-python PYTHON_VERSION=2.7 PYTHON=/usr/bin/python2 \
- CXXFLAGS="`wx-config --version=3.0 --cxxflags`" LIBS="`wx-config --version=3.0 --libs`"
- # CPPFLAGS="-I${srcdir}/include"
- msg "Start compiling ..."
- make
- }
- package () {
- cd "${srcdir}/${_pkgname}-${pkgver}"
- make DESTDIR="${pkgdir}" install
- install -Dm644 "${srcdir}/${_pkgname}-${pkgver}/src/saga_core/saga_gui/res/saga.png" \
- "${pkgdir}/usr/share/pixmaps/${_pkgname}.png"
- install -Dm644 "${srcdir}/${_pkgname}-${pkgver}/src/saga_core/saga_gui/res/saga.desktop" \
- "${pkgdir}/usr/share/applications/${pkgname}.desktop"
- }
Advertisement
Add Comment
Please, Sign In to add comment