diff options
author | Mattias Andrée | 2015-10-02 12:59:22 +0200 |
---|---|---|
committer | Mattias Andrée | 2015-10-02 12:59:22 +0200 |
commit | bb402c25e0d65957e729b4894b67e3538147323e (patch) | |
tree | 1add7fbc873f5b3e93de72177b1f16a579474ba3 | |
parent | 518af81f7098deff9d7172c56db7e5aa87bbe448 (diff) | |
download | aur-bb402c25e0d65957e729b4894b67e3538147323e.tar.gz |
Update to 2.1.1
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 8 |
2 files changed, 7 insertions, 7 deletions
@@ -1,6 +1,6 @@ pkgbase = solar-python pkgdesc = Solar data calculation and prediction library for Python - pkgver = 2.1 + pkgver = 2.1.1 pkgrel = 1 url = https://github.com/maandree/solar-python arch = any @@ -9,8 +9,8 @@ pkgbase = solar-python makedepends = coreutils makedepends = python3 depends = python3 - source = https://github.com/maandree/solar-python/archive/2.1.tar.gz - sha256sums = eb2e1c23e9e223012d06ed913cefa1d04646c678f939b03b13ce625be437498f + source = https://github.com/maandree/solar-python/archive/2.1.1.tar.gz + sha256sums = e1abf24356b9b08a7b50a7ceb40f6d0a43350c74a5ac69dceb73f940b361189e pkgname = solar-python @@ -1,7 +1,7 @@ # Maintainer: Mattias Andrée <`base64 -d`(bWFhbmRyZWUK)@member.fsf.org> pkgname=solar-python -pkgver=2.1 +pkgver=2.1.1 pkgrel=1 pkgdesc="Solar data calculation and prediction library for Python" arch=(any) @@ -10,17 +10,17 @@ license=('AGPL3') depends=(python3) makedepends=(make coreutils python3) source=($url/archive/$pkgver.tar.gz) -sha256sums=(eb2e1c23e9e223012d06ed913cefa1d04646c678f939b03b13ce625be437498f) +sha256sums=(e1abf24356b9b08a7b50a7ceb40f6d0a43350c74a5ac69dceb73f940b361189e) build() { cd "$srcdir/$pkgname-$pkgver" - make PREFIX=/usr PY_MAJOR=3 PY_MINOR=4 + make PREFIX=/usr PY_MAJOR="$(python -V | cut -d ' ' -f 2 | cut -d . -f 1)" PY_MINOR="$(python -V | cut -d ' ' -f 2 | cut -d . -f 2)" } package() { cd "$srcdir/$pkgname-$pkgver" - make PREFIX=/usr PY_MAJOR=3 PY_MINOR=4 install DESTDIR="$pkgdir" + make PREFIX=/usr PY_MAJOR="$(python -V | cut -d ' ' -f 2 | cut -d . -f 1)" PY_MINOR="$(python -V | cut -d ' ' -f 2 | cut -d . -f 2)" install DESTDIR="$pkgdir" } |