summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorGrey Christoforo2019-04-30 17:04:46 +0100
committerGrey Christoforo2019-04-30 17:04:46 +0100
commit40eb24217e1fd8ea77233cd2b2f778aff0e898f3 (patch)
treefc0c7277edb5fa6b5bc6c070c886a4115686a640
parenta90c4fa18c23a118b327a28b68a470b0a9d158ef (diff)
downloadaur-40eb24217e1fd8ea77233cd2b2f778aff0e898f3.tar.gz
add .install file
-rw-r--r--.SRCINFO3
-rw-r--r--PKGBUILD3
-rw-r--r--python-mutovis-analysis.install12
3 files changed, 16 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index e75c9187176..59a0abc1592 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,8 +1,9 @@
pkgbase = python-mutovis-analysis
pkgdesc = Python QT batch curve fitting GUI tool for solar cell IV data files
pkgver = 3.0.6
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/mutovis/analysis-software
+ install = python-mutovis-analysis.install
arch = any
license = GPL-3.0
makedepends = python-setuptools
diff --git a/PKGBUILD b/PKGBUILD
index d6fa8b1ae30..75bf9003dfa 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,11 +3,12 @@
pkgname=python-mutovis-analysis
_pkgname=analysis-software
pkgver=3.0.6
-pkgrel=1
+pkgrel=2
pkgdesc="Python QT batch curve fitting GUI tool for solar cell IV data files"
arch=('any')
url=https://github.com/mutovis/analysis-software
license=('GPL-3.0')
+install=python-mutovis-analysis.install
depends=('python' 'python-numpy' 'python-matplotlib' 'python-scipy' 'python-h5py' 'python-sympy' 'python-mpmath' 'python-lmfit' 'python-dill' 'python-pyqt5' 'python-uncertainties')
makedepends=('python-setuptools')
source=("https://github.com/mutovis/${_pkgname}/archive/v${pkgver}.tar.gz")
diff --git a/python-mutovis-analysis.install b/python-mutovis-analysis.install
new file mode 100644
index 00000000000..27519f8d5c4
--- /dev/null
+++ b/python-mutovis-analysis.install
@@ -0,0 +1,12 @@
+rmh52csv(){
+ rm -f /usr/bin/h52csv
+}
+
+pre_install(){
+ rmh52csv
+}
+
+pre_upgrade(){
+ rmh52csv
+}
+