diff options
author | Kelaun | 2020-09-11 09:51:06 +0200 |
---|---|---|
committer | Kelaun | 2020-09-11 09:51:06 +0200 |
commit | c60d8ee461e0186c7a8df0119f5c47e0a2e1c70b (patch) | |
tree | 53839177c96bb2df9f436a52174521d89538ab20 /PKGBUILD | |
parent | 417677090afae9d45841c47a74369d443075789d (diff) | |
download | aur-python-aresponses.tar.gz |
Adding missing license and shortening source URL
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -2,14 +2,14 @@ pkgname='python-aresponses' _pkgname='aresponses' pkgver='2.0.0' -pkgrel=1 +pkgrel=2 pkgdesc="An asyncio testing server for mocking external services" arch=('x86_64') url="https://github.com/circleup/aresponses" license=('MIT') depends=('python>=3.6.0') makedepends=('tar' 'python-aiohttp>=3.1.0' 'python-pytest-asyncio' 'python-setuptools') -source=("$pkgname-v$pkgver.tar.gz::https://files.pythonhosted.org/packages/3c/12/9fd8dba9f7a1e48deb00df0b66944f709da58114d90d7f88c1b99c509d9a/$_pkgname-$pkgver.tar.gz") +source=("https://files.pythonhosted.org/packages/source/${_pkgname::1}/${_pkgname}/${_pkgname}-${pkgver}.tar.gz") sha256sums=('58693a6b715edfa830a20903ee1d1b2a791251923f311b3bebf113e8ff07bb35') build() { @@ -20,4 +20,6 @@ build() { package() { cd "$_pkgname-$pkgver" python setup.py install --root="$pkgdir" --optimize=1 --skip-build + cd ../../ + install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" } |