aboutsummaryrefslogtreecommitdiffstats
path: root/dist/archlinux/stable/PKGBUILD
blob: e7b03c7977b4409ce11c4a82e379bda363d5b690 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Maintainer: Mattias Andrée <`base64 -d`(bWFhbmRyZWUK)@member.fsf.org>

pkgname=solar-python
pkgver=1
pkgrel=1
pkgdesc="Solar data calculation and prediction library for Python"
arch=(i686 x86_64)
url="https://github.com/maandree/solar-python"
license=('AGPL3')
depends=(python3)
makedepends=(make coreutils python3)
source=($url/archive/$pkgver.tar.gz)
sha256sums=(0c92190b7bcacc1f47b05ab63fbb948f36ae90ca524b08fda3048c3fd763f6a3)


build() {
  cd "$srcdir/$pkgname-$pkgver"
  make PREFIX=/usr PY_MAJOR=3 PY_MINOR=4
}


package() {
  cd "$srcdir/$pkgname-$pkgver"
  make PREFIX=/usr PY_MAJOR=3 PY_MINOR=4 install DESTDIR="$pkgdir"
}