diff options
author | GI_Jack | 2020-09-30 11:39:26 -0400 |
---|---|---|
committer | GI_Jack | 2020-09-30 11:39:26 -0400 |
commit | 749b74b5a3d8fcf2a035232a9b5ae23bc3653989 (patch) | |
tree | bc4bde06258a2847f07228d0d75678d3eef49d88 | |
parent | 332305b0af4c11bdd6714b86590cad915af7575b (diff) | |
download | aur-749b74b5a3d8fcf2a035232a9b5ae23bc3653989.tar.gz |
updated source following packaging guildlines
-rw-r--r-- | PKGBUILD | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -1,19 +1,20 @@ # Maintainer: GI_Jack <GI_Jack@hackermail.com> pkgname=python-aadict -_pypiname=aadict +_pkgname=aadict pkgver=0.2.3 pkgrel=1 +_file= pkgdesc="An auto-attribute dict (and a couple of other useful dict functions), for Python" url="https://pypi.org/project/aadict/" arch=('any') license=('GPLv3') depends=('python') makedepends=('python-setuptools') -source=(${_pypiname}-${pkgver}.tar.gz::"https://files.pythonhosted.org/packages/50/30/2d6c516ff308e1a2e25b8cf4274bd0ed763861b3d2b5cd1fb54c6d59bfcb/aadict-${pkgver}.tar.gz") +source=("https://files.pythonhosted.org/packages/source/${_pkgname::1}/${_pkgname}/${_pkgname}-${pkgver}.tar.gz") sha256sums=('a77328ac55dbb5735da99441870251befe135f687ab707a7a178561363b27704') package() { - cd ${_pypiname}-${pkgver} + cd ${_pkgname}-${pkgver} python setup.py install -O1 --root="${pkgdir}" --prefix=/usr } |