mirror of
https://github.com/j1g5awi/krunner-vscode.git
synced 2024-11-24 20:19:30 +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
8
PKGBUILD
8
PKGBUILD
|
@ -11,12 +11,14 @@ depends=('krunner' 'python' 'python-gobject' 'dbus-python')
|
||||||
makedepends=('git' 'python-poetry')
|
makedepends=('git' 'python-poetry')
|
||||||
source=("plasma5-runners-vscode-git::git+https://github.com/j1g5awi/krunner-vscode")
|
source=("plasma5-runners-vscode-git::git+https://github.com/j1g5awi/krunner-vscode")
|
||||||
md5sums=('SKIP')
|
md5sums=('SKIP')
|
||||||
build(){
|
|
||||||
cd "$pkgname"
|
build() {
|
||||||
pip install .
|
cd "$pkgname"
|
||||||
|
python -m build -wn
|
||||||
}
|
}
|
||||||
package() {
|
package() {
|
||||||
cd "$pkgname"
|
cd "$pkgname"
|
||||||
|
python -m installer -d "$pkgdir" dist/*.whl
|
||||||
mkdir -p "${pkgdir}/usr/share/kservices5/"
|
mkdir -p "${pkgdir}/usr/share/kservices5/"
|
||||||
mkdir -p "${pkgdir}/usr/share/dbus-1/services/"
|
mkdir -p "${pkgdir}/usr/share/dbus-1/services/"
|
||||||
install ./package/plasma-runner-vscode.desktop "${pkgdir}/usr/share/kservices5/"
|
install ./package/plasma-runner-vscode.desktop "${pkgdir}/usr/share/kservices5/"
|
||||||
|
|
Loading…
Reference in a new issue