Date: Monday, August 22, 2022 @ 10:40:43
  Author: alerque
Revision: 1274612

upgpkg: python-flit-scm 1.7.0-2

Modified:
  python-flit-scm/trunk/PKGBUILD

----------+
 PKGBUILD |   13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2022-08-22 10:37:49 UTC (rev 1274611)
+++ PKGBUILD    2022-08-22 10:40:43 UTC (rev 1274612)
@@ -19,13 +19,14 @@
 sha256sums=('05a267d77f6f8ca50a053786fe3c1a74f7222f2955292f2e6c03d2d064a141dc')
 
 build() {
-    cd "$_archive"
-    export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver
-    python -m build -wn
+       cd "$_archive"
+       export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver
+       python -m build -wn
 }
 
 package() {
-    cd "$_archive"
-    export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver
-    python -m installer -d "$pkgdir" dist/*.whl
+       cd "$_archive"
+       export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver
+       python -m installer -d "$pkgdir" dist/*.whl
+       install -Dm0644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE
 }

Reply via email to