Package Details: openbugs 3.2.3-3

Git Clone URL: https://aur.archlinux.org/openbugs.git (read-only, click to copy)
Package Base: openbugs
Description: OpenBUGS, a software package for performing Bayesian inference Using Gibbs Sampling
Upstream URL: https://www.mrc-bsu.cam.ac.uk/software/bugs/openbugs/
Keywords: bayesian math mcmc statistics
Licenses: GPL3
Submitter: someonewithpc
Maintainer: Feakster
Last Packager: Feakster
Votes: 2
Popularity: 0.000000
First Submitted: 2020-02-17 01:24 (UTC)
Last Updated: 2022-10-12 08:12 (UTC)

Required by (0)

Sources (1)

Pinned Comments

Feakster commented on 2024-11-04 09:25 (UTC)

The upstream URL has changed to Google Drive (accessible via this link: https://www.mrc-bsu.cam.ac.uk/software). I have not currently worked out how to use/obtain Google Drive links for automated source downloads. Additionally, the upstream tar.gz file sourced by this PKGBUILD is no longer available. I will modify the PKGBUILD once I am able to resolve the aforementioned issues.

Latest Comments

Feakster commented on 2024-11-04 09:25 (UTC)

The upstream URL has changed to Google Drive (accessible via this link: https://www.mrc-bsu.cam.ac.uk/software). I have not currently worked out how to use/obtain Google Drive links for automated source downloads. Additionally, the upstream tar.gz file sourced by this PKGBUILD is no longer available. I will modify the PKGBUILD once I am able to resolve the aforementioned issues.

Feakster commented on 2022-10-12 08:15 (UTC) (edited on 2022-10-12 08:19 (UTC) by Feakster)

I've refactored the PKGBUILD. Let me know if you have any issues or suggestions.

Feakster commented on 2022-09-24 15:11 (UTC) (edited on 2022-09-25 07:37 (UTC) by Feakster)

I've given the PKGBUILD a once-over. This should work now:

### Info ###
pkgname=openbugs
_pkgname=OpenBUGS
pkgver=3.2.3
pkgrel=3
pkgdesc='OpenBUGS, a software package for performing Bayesian inference Using Gibbs Sampling'
arch=('x86_64' 'i686' 'pentium4')
url='https://www.mrc-bsu.cam.ac.uk/software/bugs/openbugs/'
license=('GPL3')
depends=('lib32-gcc-libs')
makedepends=('automake' 'perl')
source=("$pkgname-$pkgver.tar.gz::https://www.mrc-bsu.cam.ac.uk/wp-content/uploads/2018/04/$_pkgname-$pkgver.tar.gz")
b2sums=('3ee14aae726a80c7105b4b069f0e598144d9680a0c3e6f0884d0630b0923419e03b23d14c287bc63f960cb17449f2f15817303901932815249a798d11edeae77')

### Prepare ###
prepare() {
    cd "$srcdir"/$_pkgname-$pkgver
    ./configure --prefix=/usr --libexecdir=/usr/lib/$pkgname
}

### Build ###
build() {
    cd "$srcdir"/$_pkgname-$pkgver
    make
}

### Package ###
package() {
    cd "$srcdir"/$_pkgname-$pkgver
    make install DESTDIR="$pkgdir"
    ln -fs /usr/bin/$_pkgname "$pkgdir"/usr/bin/$pkgname
}

Feakster commented on 2022-09-15 08:46 (UTC) (edited on 2022-09-15 08:47 (UTC) by Feakster)

I get a 502 error when trying to install this package:

curl: (22) The requested URL returned error: 502
==> ERROR: Failure while downloading http://openbugs.net/w/OpenBUGS_3_2_3?action=AttachFile&do=get&target=OpenBUGS-3.2.3.tar.gz

I think the upstream project has migrated to the MRC Biostats Unit at Cambridge University: https://www.mrc-bsu.cam.ac.uk/wp-content/uploads/2018/04/OpenBUGS-3.2.3.tar.gz