diff options
author | Corentin Cadiou | 2022-02-14 17:30:24 +0100 |
---|---|---|
committer | Corentin Cadiou | 2022-02-14 17:30:24 +0100 |
commit | 684e1da7d8423b4faed35cec6919071675c74651 (patch) | |
tree | 9812f63d7830d437fa8c11243e675b30b792bcb0 /PKGBUILD | |
parent | ce1fad5a684853afdaffb5b33167ede6244b8716 (diff) | |
download | aur-684e1da7d8423b4faed35cec6919071675c74651.tar.gz |
Ship LICENSE and do not include tests
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 11 |
1 files changed, 8 insertions, 3 deletions
@@ -12,16 +12,21 @@ depends=(python-colorspacious python-matplotlib python-more-itertools python-num makedepends=() optdepends=() options=(!emptydirs) -source=("https://pypi.io/packages/source/c/${_module_name}/${_module_name}-${pkgver}.tar.gz") -sha256sums=('ae5157d37e733ae55df12bad1e8aedb3eb2f3b45e829e25c83df023dcefd5926') +source=( + "https://pypi.io/packages/source/c/${_module_name}/${_module_name}-${pkgver}.tar.gz" + "LICENSE" +) +sha256sums=('ae5157d37e733ae55df12bad1e8aedb3eb2f3b45e829e25c83df023dcefd5926' + '6e13969520b08a454eed4e15bef8926babca14ab65f4f9936c9adc1860c00e1d') build() { cd "$srcdir/${_module_name}-$pkgver" + rm -rf tests/ python setup.py build } package() { cd "$srcdir/${_module_name}-$pkgver" python setup.py install --root="$pkgdir/" --optimize=1 - install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" + install -D -m644 "$srcdir/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" } |