diff options
author | Dimitris Kiziridis | 2020-05-14 15:25:12 +0300 |
---|---|---|
committer | Dimitris Kiziridis | 2020-05-14 15:25:12 +0300 |
commit | 3832033baf15394b4de323c41f8fb5452d6e8078 (patch) | |
tree | be3f3c0e4daa25449cbebbce7de736d68fe0af0a | |
parent | 03ea7ad415a8001a0e2c9c227e3b945b0c74782e (diff) | |
download | aur-3832033baf15394b4de323c41f8fb5452d6e8078.tar.gz |
sanitize pkgbuild
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 28 |
2 files changed, 16 insertions, 16 deletions
@@ -18,8 +18,8 @@ pkgbase = python-pinyin depends = python-tox depends = twine depends = python-wheel - source = https://github.com/mozillazg/python-pinyin/archive/v0.37.0.tar.gz - md5sums = 77bafcf3aa45f1e9255f042b57e29242 + source = python-pinyin-0.37.0.tar.gz::https://github.com/mozillazg/python-pinyin/archive/v0.37.0.tar.gz + sha256sums = 0ff8b20190751fe8721a3167685121ec20f01fca3b67c510563c5cb7a29c34e5 pkgname = python-pinyin @@ -8,20 +8,20 @@ arch=('any') url='https://pypinyin.readthedocs.io' license=('MIT') depends=('python-argparse' - 'python-bumpversion' - 'mypy' - 'python-pre-commit' - 'python-pytest' - 'python-pytest-cov' - 'python-path-and-address' - 'python-pytest-randomly' - 'python-sphinx' - 'python-tox' - 'twine' - 'python-wheel') + 'python-bumpversion' + 'mypy' + 'python-pre-commit' + 'python-pytest' + 'python-pytest-cov' + 'python-path-and-address' + 'python-pytest-randomly' + 'python-sphinx' + 'python-tox' + 'twine' + 'python-wheel') makedepends=('python-setuptools') -source=("https://github.com/mozillazg/${pkgname}/archive/v${pkgver}.tar.gz") -md5sums=('77bafcf3aa45f1e9255f042b57e29242') +source=("${pkgname}-${pkgver}.tar.gz::https://github.com/mozillazg/python-pinyin/archive/v${pkgver}.tar.gz") +sha256sums=('0ff8b20190751fe8721a3167685121ec20f01fca3b67c510563c5cb7a29c34e5') build() { cd ${srcdir}/${pkgname}-${pkgver} @@ -31,5 +31,5 @@ build() { package() { cd ${srcdir}/${pkgname}-${pkgver} python setup.py install --root="$pkgdir" --optimize=1 --skip-build - install -Dm644 LICENSE.txt "${pkgdir}/usr/share/licenses/pypinyin/LICENSE" + install -Dm644 LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" }
\ No newline at end of file |