aboutsummaryrefslogblamecommitdiffstats
path: root/dist/archlinux/stable/PKGBUILD
blob: 0530c9e0bdc9d79a36472c069045f7bce6e6e058 (plain) (tree)
1
2
3
4
5
6
7


                                                                        

        
                                                                  
          




                                              
                                                                             












                                                                  
# Maintainer: Mattias Andrée <`base64 -d`(bWFhbmRyZWUK)@member.fsf.org>

pkgname=solar-python
pkgver=2
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)
source=($url/archive/$pkgver.tar.gz)
sha256sums=(e70f42aa1443288501f235d70a80c078b9153e68a0038f31f5fd16c33d77786c)


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"
}