diff options
author | Carlos Aznarán Laos | 2022-03-18 14:44:55 -0500 |
---|---|---|
committer | Carlos Aznarán Laos | 2022-03-18 14:44:55 -0500 |
commit | ece00fab155c7b030d31347f7ed38f4a0097634e (patch) | |
tree | 58734c44024635a741ecfbd0df7cfdb99ed56870 | |
parent | 719f06219538a3e1348cfb6e8d948c866b4bc239 (diff) | |
download | aur-ece00fab155c7b030d31347f7ed38f4a0097634e.tar.gz |
Update checksum
-rw-r--r-- | .SRCINFO | 8 | ||||
-rw-r--r-- | PKGBUILD | 72 |
2 files changed, 39 insertions, 41 deletions
@@ -2,7 +2,7 @@ pkgbase = copasi-bin pkgdesc = COmplex PAthway SImulator for analysis of biochemical networks and their dynamics pkgver = 4.35.258 pkgrel = 2 - url = http://www.copasi.org/ + url = https://copasi.org install = copasi.install arch = i686 arch = x86_64 @@ -12,10 +12,10 @@ pkgbase = copasi-bin depends = glu noextract = copasi-bin-4.35.258.tar.gz source = copasi-desktop.tar.gz - sha256sums = 9576e4a9b2c7e74c91d0e1c0b39fcb20531e8fb4f21c5e8ac95b048609702923 + sha512sums = cf7172b155885db8007298643499a57421e4890b72da86f8124bc35ec30c39f17c4167cd5d4603fc37c0cf72c6e4283c009339363da1cc5f44708c08d16a2b4e source_i686 = copasi-bin-4.35.258.sh::https://github.com/copasi/COPASI/releases/download/Build-258/COPASI-4.35.258-Linux-32bit.sh - sha256sums_i686 = f4e6b5fba0d230053edc89c5bcfc676e737d6aac67cc91b927794761ad65e02d + sha512sums_i686 = a30043ac0669af156420c404155cf33d25b43e03e5269dcb2d9dcf3e45794b5de052337b15f1f38a7ff7bb3c0a19c3f59a15967e00531c049333e67410a8086a source_x86_64 = copasi-bin-4.35.258.sh::https://github.com/copasi/COPASI/releases/download/Build-258/COPASI-4.35.258-Linux-64bit.sh - sha256sums_x86_64 = f4e6b5fba0d230053edc89c5bcfc676e737d6aac67cc91b927794761ad65e02d + sha512sums_x86_64 = 1fd8c8bcc594f8aa21984b34fe59e5ff2117cbf4bf97068ed5e5480b46bbe0107181b51ff327f422b8fc317b04d5b22d7232cf979871407711871e924d582923 pkgname = copasi-bin @@ -1,55 +1,53 @@ -# Maintainer: Stephen Checkley <scheckley at gmail dot com> -# Contributor: jrohwer +# Contributor: Stephen Checkley <scheckley at gmail dot com> +# Contributor: jrohwer pkgname=copasi-bin pkgver=4.35.258 _pkgver=${pkgver##*.} -pkgrel=1 +pkgrel=2 pkgdesc="COmplex PAthway SImulator for analysis of biochemical networks and their dynamics" arch=('i686' 'x86_64') -url="http://www.copasi.org/" +url="https://copasi.org" license=('Artistic 2.0') -depends=('shared-mime-info' 'freetype2' 'glu') -source=('copasi-desktop.tar.gz') +depends=(shared-mime-info freetype2 glu) +source=(copasi-desktop.tar.gz) install=copasi.install noextract=($pkgname-$pkgver.tar.gz) _source=https://github.com/copasi/COPASI/releases/download/Build-$_pkgver source_i686=($pkgname-$pkgver.sh::$_source/COPASI-$pkgver-Linux-32bit.sh) source_x86_64=($pkgname-$pkgver.sh::$_source/COPASI-$pkgver-Linux-64bit.sh) -sha256sums=('9576e4a9b2c7e74c91d0e1c0b39fcb20531e8fb4f21c5e8ac95b048609702923') -sha256sums_i686=('f4e6b5fba0d230053edc89c5bcfc676e737d6aac67cc91b927794761ad65e02d') -sha256sums_x86_64=('f4e6b5fba0d230053edc89c5bcfc676e737d6aac67cc91b927794761ad65e02d') +sha512sums=('cf7172b155885db8007298643499a57421e4890b72da86f8124bc35ec30c39f17c4167cd5d4603fc37c0cf72c6e4283c009339363da1cc5f44708c08d16a2b4e') +sha512sums_i686=('a30043ac0669af156420c404155cf33d25b43e03e5269dcb2d9dcf3e45794b5de052337b15f1f38a7ff7bb3c0a19c3f59a15967e00531c049333e67410a8086a') +sha512sums_x86_64=('1fd8c8bcc594f8aa21984b34fe59e5ff2117cbf4bf97068ed5e5480b46bbe0107181b51ff327f422b8fc317b04d5b22d7232cf979871407711871e924d582923') package() { + MACHINE_TYPE=$(uname -m) + if [ ${MACHINE_TYPE} == 'x86_64' ]; then + arch_flag=64bit + else + arch_flag=32bit + fi - MACHINE_TYPE=`uname -m` - if [ ${MACHINE_TYPE} == 'x86_64' ]; then - arch_flag=64bit - else - arch_flag=32bit - fi + cd "$srcdir" + sh $pkgname-$pkgver.sh -e $(pwd) - cd "$srcdir" - sh $pkgname-$pkgver.sh -e `pwd` + 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/ - 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 -d "$pkgdir"/usr/{bin,share} - install -m755 bin/* "$pkgdir"/usr/bin - cp -R share/copasi "$pkgdir"/usr/share/ - - # desktop integration... - cd "$srcdir"/copasi-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" - install -d "$pkgdir/usr/share/icons/hicolor" - cp -R icons/* "$pkgdir/usr/share/icons/hicolor/" - # copasi starts CopasiUI after setting COPASIDIR environment variable - # useful for launching COPASI using the menu entry - install -Dm755 copasi "$pkgdir/usr/bin/copasi" + # install program files + 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 + 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" + install -d "$pkgdir/usr/share/icons/hicolor" + cp -R icons/* "$pkgdir/usr/share/icons/hicolor/" + # copasi starts CopasiUI after setting COPASIDIR environment variable + # useful for launching COPASI using the menu entry + install -Dm755 copasi "$pkgdir/usr/bin/copasi" } |