mirror of
https://github.com/j1g5awi/krunner-vscode.git
synced 2024-11-24 17:59:29 +00:00
Stop global pip install
(#4)
Global installs aren't supported, so build a wheel and installl that into the pkgdir
This commit is contained in:
parent
779e299f53
commit
29195247ac
1 changed files with 6 additions and 4 deletions
4
PKGBUILD
4
PKGBUILD
|
@ -11,12 +11,14 @@ depends=('krunner' 'python' 'python-gobject' 'dbus-python')
|
|||
makedepends=('git' 'python-poetry')
|
||||
source=("plasma5-runners-vscode-git::git+https://github.com/j1g5awi/krunner-vscode")
|
||||
md5sums=('SKIP')
|
||||
|
||||
build() {
|
||||
cd "$pkgname"
|
||||
pip install .
|
||||
python -m build -wn
|
||||
}
|
||||
package() {
|
||||
cd "$pkgname"
|
||||
python -m installer -d "$pkgdir" dist/*.whl
|
||||
mkdir -p "${pkgdir}/usr/share/kservices5/"
|
||||
mkdir -p "${pkgdir}/usr/share/dbus-1/services/"
|
||||
install ./package/plasma-runner-vscode.desktop "${pkgdir}/usr/share/kservices5/"
|
||||
|
|
Loading…
Reference in a new issue