Package Details: copasi-bin 4.33.246-1

Git Clone URL: https://aur.archlinux.org/copasi-bin.git (read-only, click to copy)
Package Base: copasi-bin
Description: COmplex PAthway SImulator for analysis of biochemical networks and their dynamics
Upstream URL: http://www.copasi.org/
Licenses: Artistic 2.0
Submitter: micronaut
Maintainer: micronaut
Last Packager: micronaut
Votes: 0
Popularity: 0.000000
First Submitted: 2021-02-28 01:24
Last Updated: 2021-06-17 19:09

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
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -28,15 +28,17 @@ package() {
     fi

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

-    rm ~/COPASI-$pkgver-Linux-$arch_flag/share/copasi/lib/libfreetype.so.6
-    ln -s /usr/lib/libfreetype.so ~/COPASI-$pkgver-Linux-$arch_flag/share/copasi/lib/
-    ln -s /usr/lib/libfreetype.so.6 ~/COPASI-$pkgver-Linux-$arch_flag/share/copasi/lib/
+    cd "$srcdir"/COPASI-$pkgver-Linux-$arch_flag
+    rm share/copasi/lib/libfreetype.so.6
+    ln -s /usr/lib/libfreetype.so share/copasi/lib/
+    ln -s /usr/lib/libfreetype.so.6 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