diff options
author | Samuel Mesa | 2017-07-28 16:07:40 -0500 |
---|---|---|
committer | Samuel Mesa | 2017-07-28 16:07:40 -0500 |
commit | 1ff1aa885003a92de70fe3629212207771092b27 (patch) | |
tree | a3499dbfddba437f74764ac268d7bcfc42bad17f /PKGBUILD | |
download | aur-1ff1aa885003a92de70fe3629212207771092b27.tar.gz |
Version initial v2.3.1
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..4a54550fe8b1 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,56 @@ +# Maintainer: Samuel Fernando Mesa Giraldo <samuelmesa@linuxmail.org> +# Maintainer: SaultDon <sault.don gmail> +# Contributor: Luigi Ranghetti <luigi.ranghetti@gmail.com> +# Contributor: Dominik Fuchs <dominik.fuchs@wur.nl> +# Contributor: Marcelo Avalos Tejeda <marcelo.avalos@gmail.com> + +pkgname=saga-gis-ltr +_pkgname=saga +pkgver=2.3.1 +pkgrel=1 +pkgdesc="A Geographic Information System (GIS) software with immense capabilities for geodata processing and analysis. Compactible with QGIS" +url="http://www.saga-gis.org" +license=("GPL3") +arch=('i686' 'x86_64') +provides=("saga-gis") +conflicts=("saga-gis") +depends=('wxgtk' + 'webkitgtk' + 'proj' + 'gdal' + 'libtiff' + 'unixodbc' + 'jasper' + 'swig') +optdepends=('opencv2' + 'vigra' + 'liblas' + 'libharu') +source=("https://pilotfiber.dl.sourceforge.net/project/saga-gis/SAGA%20-%202/SAGA%202.3.1/saga_2.3.1.tar.gz") +md5sums=('035b2054790721028b97766e025bb340') + +build() { + cd "${srcdir}/${_pkgname}-${pkgver}" + + autoreconf -i + + ./configure --prefix=/usr \ + --enable-debug \ + --enable-shared \ + --enable-python PYTHON_VERSION=2.7 PYTHON=/usr/bin/python2 \ + --with-postgresql=/usr/bin/pg_config \ + CXXFLAGS="`wx-config --version=3.0 --cxxflags`" \ + LIBS="`wx-config --version=3.0 --libs`" + + msg "Start compiling ..." + make -j2 +} + +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" +} |