[arch-commits] Commit in python-backcall/trunk (PKGBUILD)
Daniel M. Capella
polyzen at archlinux.org
Mon Mar 2 23:58:50 UTC 2020
Date: Monday, March 2, 2020 @ 23:58:50
Author: polyzen
Revision: 589326
Install license
Modified:
python-backcall/trunk/PKGBUILD
----------+
PKGBUILD | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-03-02 23:48:13 UTC (rev 589325)
+++ PKGBUILD 2020-03-02 23:58:50 UTC (rev 589326)
@@ -3,14 +3,16 @@
_name=backcall
pkgname=python-backcall
pkgver=0.1.0
-pkgrel=2
+pkgrel=3
pkgdesc='Backwards compatible callback APIs'
arch=('any')
url=https://github.com/takluyver/backcall
license=('BSD')
depends=('python')
-source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz")
-sha256sums=('38ecd85be2c1e78f77fd91700c76e14667dc21e2713b63876c0eb901196e01e4')
+source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz"
+ "$url/blob/8eb45a77a40edad74b33086d05fd4d99d43d80b0/LICENSE")
+sha256sums=('38ecd85be2c1e78f77fd91700c76e14667dc21e2713b63876c0eb901196e01e4'
+ 'd2a29823384e9194a87936ccad495c764c2ef733b29bfa6f72a1d65803ce02e5')
build() {
cd $_name-$pkgver
@@ -28,6 +30,7 @@
package() {
cd $_name-$pkgver
python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+ install -Dm644 -t "$pkgdir"/usr/share/licenses/$pkgname ../LICENSE
}
# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list