upgpkg: python-commitizen 2.40.4-2

Fix permissions issue.

...I'm confused now.
This commit is contained in:
George Rawlinson 2022-01-17 21:26:48 +00:00
parent 5b9f6962b5
commit a9551a0158
Signed by: grawlinson
GPG key ID: E0959FEA8B550539

View file

@ -4,7 +4,7 @@
_pkgname=commitizen
pkgname=python-commitizen
pkgver=2.20.4
pkgrel=1
pkgrel=2
pkgdesc="A tool for enforcing descriptive commit messages and version/changelog management"
arch=('any')
url="https://github.com/commitizen-tools/commitizen"
@ -59,6 +59,9 @@ package() {
--destdir="$pkgdir" \
dist/*.whl
# fix permissions issue
find "$pkgdir/usr/bin" -type f -exec chmod 0755 {} +
# license
install -vDm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE