diff options
author | Martin Schrodt | 2020-05-24 16:33:46 +0200 |
---|---|---|
committer | Martin Schrodt | 2020-05-24 16:33:46 +0200 |
commit | b27fdcafa5ff2899b10d85afca04390721afff1d (patch) | |
tree | 8fec7e7ff9d5f1aeac70bc9e3b2123ed1375936e | |
parent | 660350c117f0c5341d0efcc73f8e3f41328fd4ea (diff) | |
download | aur-b27fdcafa5ff2899b10d85afca04390721afff1d.tar.gz |
add zsh completion
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 4 |
2 files changed, 4 insertions, 2 deletions
@@ -1,7 +1,7 @@ pkgbase = vfio-isolate pkgdesc = commandline tool to facilitate CPU core isolation pkgver = 0.2.0 - pkgrel = 2 + pkgrel = 3 url = https://pypi.org/project/vfio-isolate arch = any license = unknown @@ -2,7 +2,7 @@ pkgname=vfio-isolate pkgver=0.2.0 -pkgrel=2 +pkgrel=3 pkgdesc="commandline tool to facilitate CPU core isolation" arch=('i686' 'x86_64') url="https://pypi.org/project/vfio-isolate" @@ -22,4 +22,6 @@ build() { package() { cd "$pkgname-$pkgver" python setup.py install --root="$pkgdir" --optimize=1 --skip-build + mkdir -p "$pkgdir/usr/share/zsh/site-functions" + _VFIO_ISOLATE_COMPLETE=source_zsh "$pkgdir/usr/bin/vfio-isolate" > "$pkgdir/usr/share/zsh/site-functions/_vfio-isolate" || true } |