summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD36
1 files changed, 36 insertions, 0 deletions
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