Package Details: copasi-bin 4.34.251-1

Git Clone URL: (read-only, click to copy)
Package Base: copasi-bin
Description: COmplex PAthway SImulator for analysis of biochemical networks and their dynamics
Upstream URL:
Licenses: Artistic 2.0
Submitter: micronaut
Maintainer: micronaut
Last Packager: micronaut
Votes: 1
Popularity: 0.39
First Submitted: 2021-02-28 01:24
Last Updated: 2021-09-08 10:32

Latest Comments

micronaut commented on 2021-06-07 09:31

thanks, I've updated the pkgbuild with the patch.

jrohwer commented on 2021-06-07 08:27

The latest build (4.31.243-1) fails because the PGKBUILD tries to install on the root file system and not in $pkgdir, leading to permission errors. Also the COPASI package is extracted in the user's home directory, which is not clean.

The following patch fixes it:

diff --git a/PKGBUILD b/PKGBUILD
index f911fa4..dc90524 100644
@@ -28,15 +28,17 @@ package() {

     cd "$srcdir"
-    sh $pkgname-$ -e ~/
+    sh $pkgname-$ -e `pwd`

-    rm ~/COPASI-$pkgver-Linux-$arch_flag/share/copasi/lib/
-    ln -s /usr/lib/ ~/COPASI-$pkgver-Linux-$arch_flag/share/copasi/lib/
-    ln -s /usr/lib/ ~/COPASI-$pkgver-Linux-$arch_flag/share/copasi/lib/
+    cd "$srcdir"/COPASI-$pkgver-Linux-$arch_flag
+    rm share/copasi/lib/
+    ln -s /usr/lib/ share/copasi/lib/
+    ln -s /usr/lib/ share/copasi/lib/

     # install program files
-    install -m755 bin/* /usr/bin/
-    cp -R ~/COPASI-$pkgver-Linux-$arch_flag/share/copasi /usr/share/
+    install -d "$pkgdir"/usr/{bin,share}
+    install -m755 bin/* "$pkgdir"/usr/bin
+    cp -R share/copasi "$pkgdir"/usr/share/

     # desktop integration...
     cd "$srcdir"/copasi-desktop