summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authormschubert2015-06-12 12:08:05 +0100
committermschubert2015-06-12 12:08:05 +0100
commit3bc4fbb63ff0881506ce0fd0dd0ecc665abca158 (patch)
treef48bd39144083c1d59e62b1221424205e9decfb1 /PKGBUILD
downloadaur-3bc4fbb63ff0881506ce0fd0dd0ecc665abca158.tar.gz
Initial import
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD34
1 files changed, 34 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..996ee17f38b
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,34 @@
+# Maintainer: Michael Schubert <mschu.dev at gmail>
+
+pkgname=python2-sloppycell
+pkgver=20110614
+pkgrel=1
+pkgdesc="Software environment for simulation and analysis of biomolecular networks"
+arch=('i686' 'x86_64')
+url="http://sloppycell.sourceforge.net/"
+license=('BSD')
+depends=('python2-scipy' 'python2-numpy' 'lapack')
+makedepends=('cvs' 'gcc-fortran')
+
+_cvsroot=":pserver:anonymous@sloppycell.cvs.sourceforge.net:/cvsroot"
+_cvsmod="sloppycell"
+_cvsMod="SloppyCell"
+
+build() {
+ cd "$srcdir"
+ if [ -d ${_cvsMod}/CVS ]; then
+ cd ${_cvsMod}
+ cvs -q update -dA
+ else
+ cvs -q -z3 -d${_cvsroot}/${_cvsmod} co ${_cvsMod}
+ cd ${_cvsMod}
+ sed -i "/daskr =/s|$| extra_link_args='-Wl,--defsym,main=main',|" setup.py
+ fi
+ python2 setup.py build
+}
+
+package() {
+ cd "$srcdir/$_cvsMod"
+ python2 setup.py install --root="$pkgdir/" --skip-build --optimize=1
+}
+