aboutsummaryrefslogtreecommitdiffstats
path: root/solar-python/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--solar-python/PKGBUILD12
1 files changed, 6 insertions, 6 deletions
diff --git a/solar-python/PKGBUILD b/solar-python/PKGBUILD
index 1b89797..b82cf0c 100644
--- a/solar-python/PKGBUILD
+++ b/solar-python/PKGBUILD
@@ -1,26 +1,26 @@
# Maintainer: Mattias Andrée <m@`base64 -d`(bWFhbmRyZWU).se>
pkgname=solar-python
-pkgver=2.5.2
+pkgver=2.5.3
pkgrel=1
pkgdesc="Solar data calculation and prediction library for Python"
arch=(any)
-url="https://github.com/maandree/solar-python"
+url="https://codeberg.org/maandree/solar-python"
license=('custom:ISC')
depends=(python3)
makedepends=(make coreutils python3 texinfo)
-source=($url/archive/$pkgver.tar.gz)
-sha256sums=(6f191d8c1012770a6016146b5c3880388f936d1f85c41e81c0b0ebc379785722)
+source=($pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz)
+sha256sums=(d324c586d2fc2d953d50f86dc335e53bc766f6a227ede199914c53a6e45f7d33)
build() {
- cd "$srcdir/$pkgname-$pkgver"
+ cd "$srcdir/$pkgname"
make PREFIX=/usr PY_MAJOR=3 PY_MINOR="$(python3 -V | cut -d ' ' -f 2 | cut -d . -f 2)"
}
package() {
- cd "$srcdir/$pkgname-$pkgver"
+ cd "$srcdir/$pkgname"
make PREFIX=/usr PY_MAJOR=3 PY_MINOR="$(python3 -V | cut -d ' ' -f 2 | cut -d . -f 2)" install DESTDIR="$pkgdir"
}