-
-
Save ingamedeo/a6f196048c3173cf59381d6ab3a25f02 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pkgbase=('python-astral') | |
pkgname=('python-astral') | |
_module='astral' | |
pkgver='1.6.1' | |
pkgrel=0 | |
pkgdesc="Calculations for the position of the sun and moon." | |
url="https://github.com/sffjunkie/astral" | |
depends=('python' 'python-pytz') | |
makedepends=('python-setuptools') | |
license=('unknown') | |
arch=('any') | |
source=("https://github.com/sffjunkie/astral/archive/${pkgver}.tar.gz") | |
sha256sums=('ab0c08f2467d35fcaeb7bad15274743d3ac1ad18b5391f64a0058a9cd192d37d') | |
build() { | |
cd "${srcdir}/${_module}-${pkgver}" | |
python setup.py build | |
} | |
package() { | |
depends+=() | |
cd "${srcdir}/${_module}-${pkgver}" | |
python setup.py install --root="${pkgdir}" --optimize=1 --skip-build | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment