diff options
author | Adrian Room | 2023-03-31 12:48:05 +0100 |
---|---|---|
committer | Adrian Room | 2023-03-31 12:48:05 +0100 |
commit | ffd08831b569e64be3b1b6940303d62f63f8121e (patch) | |
tree | b396102043b5b9fae563bcf6034aee4188dc7976 /PKGBUILD | |
parent | ee1bfa1eece10e61f502cae780c1795d1639783f (diff) | |
download | aur-ffd08831b569e64be3b1b6940303d62f63f8121e.tar.gz |
refactor underscore/dash handling in package name
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,7 +1,7 @@ # Maintainer: Adrian Room <ingolemo@gmail.com> -pkgname="python-flake8-simplify" -_pkgname="flake8-simplify" +_pkgname="flake8_simplify" +pkgname="python-${_pkgname//_/-}" pkgver=0.19.2 pkgrel=1 pkgdesc="A flake8 plugin that helps you simplify your code." @@ -10,7 +10,7 @@ url="https://github.com/MartinThoma/flake8-simplify/" license=('MIT') depends=('flake8' 'python-astor') makedepends=('python-installer') -source=("https://files.pythonhosted.org/packages/py3/${_pkgname::1}/$_pkgname/${_pkgname//-/_}-$pkgver-py3-none-any.whl") +source=("https://files.pythonhosted.org/packages/py3/${_pkgname::1}/${_pkgname//_/-}/${_pkgname}-$pkgver-py3-none-any.whl") md5sums=('ee1b98a55af98c1b4cf6158f14603338') package() { |