diff options
author | Alex Hirzel | 2022-11-11 13:11:26 -0500 |
---|---|---|
committer | Alex Hirzel | 2022-11-11 13:11:26 -0500 |
commit | 4a79180fc1b56cf9e69534d2a6f187d2ecb3d884 (patch) | |
tree | 76fb543696a53b13736ff563ac015773e29733fb /PKGBUILD | |
parent | 61240ed3f915d3f745215622380c3dd6d259f02e (diff) | |
download | aur-4a79180fc1b56cf9e69534d2a6f187d2ecb3d884.tar.gz |
fix license and dependency list per namcap warnings, bump pkgrel
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -3,10 +3,10 @@ pkgname='python-sgp4' _name=${pkgname#python-} pkgver='2.21' -pkgrel=1 +pkgrel=2 pkgdesc="Track earth satellite TLE orbits using up-to-date 2010 version of SGP4" url="https://pypi.org/project/sgp4/" -depends=('python') +depends=('python-numpy') makedepends=('python-setuptools') license=('MIT') arch=('x86_64') @@ -21,8 +21,7 @@ build() { package() { depends+=() cd "${srcdir}/${_name}-${pkgver}" - # waiting for: https://github.com/brandon-rhodes/python-sgp4/issues/74 - #install -Dm644 LICENSE -t "${pkgdir}/usr/share/licenses/$pkgname/LICENSE" + install -Dm644 LICENSE -t "${pkgdir}/usr/share/licenses/$pkgname" python setup.py install --root="${pkgdir}" --optimize=1 --skip-build } |