From ef8d0e5ea2f9e57a493b22cd8ade54bd63bf2643 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Fri, 2 Oct 2015 12:44:16 +0200 Subject: update dist MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- dist/archlinux/stable/PKGBUILD | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'dist/archlinux/stable') diff --git a/dist/archlinux/stable/PKGBUILD b/dist/archlinux/stable/PKGBUILD index 2c4b501..5ba3c51 100644 --- a/dist/archlinux/stable/PKGBUILD +++ b/dist/archlinux/stable/PKGBUILD @@ -2,7 +2,7 @@ pkgname=solar-python pkgver=2.1 -pkgrel=1 +pkgrel=2 pkgdesc="Solar data calculation and prediction library for Python" arch=(any) url="https://github.com/maandree/solar-python" @@ -15,12 +15,12 @@ sha256sums=(eb2e1c23e9e223012d06ed913cefa1d04646c678f939b03b13ce625be437498f) 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" } -- cgit v1.2.3-70-g09d2