diff options
Diffstat (limited to '')
-rw-r--r-- | dist/archlinux/stable/PKGBUILD | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/dist/archlinux/stable/PKGBUILD b/dist/archlinux/stable/PKGBUILD deleted file mode 100644 index c73d8f8..0000000 --- a/dist/archlinux/stable/PKGBUILD +++ /dev/null @@ -1,27 +0,0 @@ -# Maintainer: Mattias Andrée <`base64 -d`(bWFhbmRyZWUK)@member.fsf.org> - -pkgname=solar-python -pkgver=2.3 -pkgrel=1 -pkgdesc="Solar data calculation and prediction library for Python" -arch=(any) -url="https://github.com/maandree/solar-python" -license=('AGPL3') -depends=(python3) -makedepends=(make coreutils python3 texinfo) -install=solar-python.install -source=($url/archive/$pkgver.tar.gz) -sha256sums=(85571fc096f21ee4b6ba0f2ffc94e2659625c602f5342c8508040a2cd5ac2704) - - -build() { - cd "$srcdir/$pkgname-$pkgver" - 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="$(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" -} - |