summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDimitris Kiziridis2020-07-04 15:52:55 +0300
committerDimitris Kiziridis2020-07-04 15:52:55 +0300
commit74755a545c87e47d5fe8bd01bba710e26034ec52 (patch)
tree6a39e66fd85ce6377c2d72dfaa3bebf8e28a671d
downloadaur-daetools.tar.gz
Initial commit
-rw-r--r--.SRCINFO20
-rw-r--r--PKGBUILD36
2 files changed, 56 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..47ebe772fa2
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,20 @@
+pkgbase = daetools
+ pkgdesc = Equation-based object-oriented modelling, simulation and optimisation software
+ pkgver = 1.9.0
+ pkgrel = 1
+ url = http://www.daetools.com
+ arch = x86_64
+ license = GPL3
+ makedepends = python-setuptools
+ depends = python2
+ depends = python-numpy
+ depends = python-scipy
+ depends = python-matplotlib
+ depends = python-lxml
+ depends = python-pandas
+ depends = python-openpyxl
+ source = daetools-1.9.0.tar.gz::https://sourceforge.net/projects/daetools/files/daetools/1.9.0/daetools-1.9.0-gnu_linux-x86_64.tar.gz/download
+ sha256sums = 10cc8129d28aa9595bf5b798df13761751800fab558cb9a35ed558265d12a5f6
+
+pkgname = daetools
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..827a64614b9
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,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: \ No newline at end of file