diff options
author | Will Handley | 2018-04-25 06:44:14 +0100 |
---|---|---|
committer | Will Handley | 2018-04-25 06:44:14 +0100 |
commit | 2707d7da0ff2d5c777830038104e030e52d9d7f9 (patch) | |
tree | 86251a1c44cfe05e46ef739bf79a61667b6515b4 | |
download | aur-2707d7da0ff2d5c777830038104e030e52d9d7f9.tar.gz |
First commit
-rw-r--r-- | .SRCINFO | 15 | ||||
-rw-r--r-- | PKGBUILD | 26 |
2 files changed, 41 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..27bd1c65627e --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,15 @@ +# Generated by mksrcinfo v8 +# Wed Apr 25 05:44:02 UTC 2018 +pkgbase = python-cobaya + pkgdesc = Code for Bayesian Analysis in Cosmology + pkgver = 0.129 + pkgrel = 1 + url = https://github.com/JesusTorrado/cobaya + arch = any + makedepends = python-setuptools + options = !emptydirs + source = https://github.com/JesusTorrado/cobaya/archive/v0.129.tar.gz + sha256sums = 912a4eb77d02af53882245dbac7d33d1209d8fcba10e66195dfe3120e13874e4 + +pkgname = python-cobaya + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..c9428796fdf2 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,26 @@ +# Maintainer: Will Handley <wh260@cam.ac.uk> (aur.archlinux.org/account/wjhandley) +_modulename=cobaya +pkgname=python-$_modulename +pkgver=0.129 +pkgrel=1 +pkgdesc="Code for Bayesian Analysis in Cosmology" +arch=(any) +url="https://github.com/JesusTorrado/$_modulename" +license=() +groups=() +depends=() +makedepends=('python-setuptools') +provides=() +conflicts=() +replaces=() +backup=() +options=(!emptydirs) +install= +source=("${url}/archive/v${pkgver}.tar.gz") +sha256sums=('912a4eb77d02af53882245dbac7d33d1209d8fcba10e66195dfe3120e13874e4') + +package() { + cd "$srcdir/$_modulename-${pkgver}" + python setup.py install --root="$pkgdir/" --optimize=1 + mkdir -p "$pkgdir/usr/share/licenses/$pkgname" +} |