summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 827a64614b9722c64dffe1db87b9728b7276dc01 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# Maintainer:  Dimitris Kiziridis <ragouel at outlook dot com>

pkgname=daetools
pkgver=1.9.0
pkgrel=1
pkgdesc='Equation-based object-oriented modelling, simulation and optimisation software'
arch=('x86_64')
url="http://www.daetools.com"
license=('GPL3')
depends=('python2'
         'python-numpy'
         'python-scipy'
         'python-matplotlib'
         'python-lxml'
         'python-pandas'
         'python-openpyxl')
makedepends=('python-setuptools')
source=("${pkgname}-${pkgver}.tar.gz::https://sourceforge.net/projects/daetools/files/daetools/${pkgver}/daetools-${pkgver}-gnu_linux-x86_64.tar.gz/download")
sha256sums=('10cc8129d28aa9595bf5b798df13761751800fab558cb9a35ed558265d12a5f6')

build() {
  cd "${pkgname}-${pkgver}-gnu_linux"
  python setup.py build
}

package() {
  cd "${pkgname}-${pkgver}-gnu_linux"
  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
  rm -rf "${pkgdir}/home"
  rm -rf "${pkgdir}/usr/bin"/*.bat
  rm -rf "${pkgdir}/usr/bin"/create_shortcuts.js
  install -Dm644 usr/share/pixmaps/daetools-48x48.png -t "${pkgdir}/usr/share/pixmaps/"
  install -Dm644 usr/share/applications/daetools-daeExamples.desktop -t "${pkgdir}/usr/share/applications/"
  install -Dm644 usr/share/applications/daetools-daePlotter.desktop -t "${pkgdir}/usr/share/applications/"
}
# vim:set ts=2 sw=2 et: