diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 22 |
1 files changed, 9 insertions, 13 deletions
@@ -1,6 +1,6 @@ # Maintainer: Michael Schubert <mschu.dev at google mail> pkgname=copasi -pkgver=4.21.166 +pkgver=4.24.197 _pkgver=${pkgver##*.} pkgrel=1 pkgdesc="COmplex PAthway SImulator for analysis of biochemical networks and their dynamics" @@ -9,18 +9,14 @@ url="http://www.copasi.org/" license=('Artistic 2.0') depends=('shared-mime-info' 'qtwebkit' 'glu') source=('copasi-desktop.tar.gz') -md5sums=('9582e4e3d0d1d5433dea4c48f1f5f396') install=copasi.install noextract=($pkgname-$pkgver.tar.gz) _source=https://github.com/copasi/COPASI/releases/download/Build-$_pkgver -if [ "$CARCH" = "i686" ]; then - source=("${source[@]}" $pkgname-$pkgver.tar.gz::$_source/COPASI-$pkgver-Linux-32bit.tar.gz) - md5sums=("${md5sums[@]}" 'd1a6873e635e456f75119b46149b5da6') -fi -if [ "$CARCH" = "x86_64" ]; then - source=("${source[@]}" $pkgname-$pkgver.tar.gz::$_source/COPASI-$pkgver-Linux-64bit.tar.gz) - md5sums=("${md5sums[@]}" '3ebcd05ce65fa6387c47bae2539c445b') -fi +source_i686=($pkgname-$pkgver.tar.gz::$_source/COPASI-$pkgver-Linux-32bit.tar.gz) +source_x86_64=($pkgname-$pkgver.tar.gz::$_source/COPASI-$pkgver-Linux-64bit.tar.gz) +sha256sums=('9576e4a9b2c7e74c91d0e1c0b39fcb20531e8fb4f21c5e8ac95b048609702923') +sha256sums_i686=('c31ce85b32f463980255709b7a84c89a7201d51ba13871f4a3884e2e4ad9bcdf') +sha256sums_x86_64=('c31ce85b32f463980255709b7a84c89a7201d51ba13871f4a3884e2e4ad9bcdf') package() { cd "$srcdir" @@ -28,11 +24,11 @@ package() { # install program files install -d "$pkgdir"/usr/{bin,share} - install -m755 bin/* "$pkgdir/usr/bin" - cp -R share/$pkgname "$pkgdir/usr/share/" + install -m755 bin/* "$pkgdir"/usr/bin + cp -R share/$pkgname "$pkgdir"/usr/share/ # desktop integration... - cd "$srcdir/$pkgname-desktop" + cd "$srcdir"/$pkgname-desktop install -Dm755 copasi.sh "$pkgdir/etc/profile.d/copasi.sh" install -Dm644 copasi.desktop "$pkgdir/usr/share/applications/copasi.desktop" install -Dm644 copasi.xml "$pkgdir/usr/share/mime/packages/copasi.xml" |