[arch-commits] Commit in shiboken6/trunk (PKGBUILD)
Antonio Rojas
arojas at archlinux.org
Mon Feb 22 21:25:49 UTC 2021
Date: Monday, February 22, 2021 @ 21:25:49
Author: arojas
Revision: 408602
Add egg-info (FS#69736)
Modified:
shiboken6/trunk/PKGBUILD
----------+
PKGBUILD | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-02-22 21:11:55 UTC (rev 408601)
+++ PKGBUILD 2021-02-22 21:25:49 UTC (rev 408602)
@@ -5,7 +5,7 @@
_qtver=6.0.1
_clangver=11.1.0
pkgver=${_qtver/-/}
-pkgrel=2
+pkgrel=3
arch=(x86_64)
url='https://www.qt.io'
license=(GPL2 LGPL)
@@ -26,4 +26,11 @@
package() {
DESTDIR="$pkgdir" cmake --install build
+
+# Install egg-info
+ export PATH="/usr/lib/qt6/bin:$PATH"
+ cd $_pkgfqn
+ python setup.py egg_info --build-type=shiboken6
+ _pythonpath=`python -c "from sysconfig import get_path; print(get_path('platlib'))"`
+ cp -r shiboken6.egg-info "$pkgdir"/$_pythonpath
}
More information about the arch-commits
mailing list