Date: Monday, January 2, 2023 @ 09:22:56
  Author: polyzen
Revision: 1372889

upgpkg: python-black 22.12.0-2: Fix license location

Fixes FS#76982

Modified:
  python-black/trunk/PKGBUILD

----------+
 PKGBUILD |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2023-01-02 09:20:12 UTC (rev 1372888)
+++ PKGBUILD    2023-01-02 09:22:56 UTC (rev 1372889)
@@ -4,7 +4,7 @@
 
 pkgname=python-black
 pkgver=22.12.0
-pkgrel=1
+pkgrel=2
 pkgdesc='Uncompromising Python code formatter'
 arch=('any')
 url=https://github.com/psf/black
@@ -44,7 +44,7 @@
   # Symlink license file
   local site_packages=$(python -c "import site; 
print(site.getsitepackages()[0])")
   install -d "$pkgdir"/usr/share/licenses/$pkgname
-  ln -s "$site_packages"/black-$pkgver.dist-info/LICENSE \
+  ln -s "$site_packages"/black-$pkgver.dist-info/licenses/LICENSE \
     "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
 
   # Completions

Reply via email to