summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authormschubert2016-12-20 17:36:42 +0100
committermschubert2016-12-20 17:36:42 +0100
commit057234bda17ef6608e45419f706f7013062f9491 (patch)
tree36084d46fe74d4e112a038924d515a04ac8c8eee /PKGBUILD
parent3bc4fbb63ff0881506ce0fd0dd0ecc665abca158 (diff)
downloadaur-057234bda17ef6608e45419f706f7013062f9491.tar.gz
git sources; bump 1:r860
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD30
1 files changed, 13 insertions, 17 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 996ee17f38b..b2a293076b5 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,34 +1,30 @@
# Maintainer: Michael Schubert <mschu.dev at gmail>
-
pkgname=python2-sloppycell
-pkgver=20110614
+pkgver=r860.14366d3
pkgrel=1
+epoch=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')
+makedepends=('git' 'gcc-fortran')
+source=("git+http://git.code.sf.net/p/sloppycell/git"
+ "setup.patch")
+md5sums=('SKIP'
+ '3b7af95a88305880a8fc1340c7a0790f')
-_cvsroot=":pserver:anonymous@sloppycell.cvs.sourceforge.net:/cvsroot"
-_cvsmod="sloppycell"
-_cvsMod="SloppyCell"
+pkgver() {
+ cd "$srcdir"/git
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
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
+ cd "$srcdir"/git
python2 setup.py build
}
package() {
- cd "$srcdir/$_cvsMod"
+ cd "$srcdir"/git
python2 setup.py install --root="$pkgdir/" --skip-build --optimize=1
}
-