summaryrefslogtreecommitdiff
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD18
1 files changed, 6 insertions, 12 deletions
diff --git a/PKGBUILD b/PKGBUILD
index f1306e2c..c1f4f7c2 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -119,7 +119,10 @@ conflicts=(
python-pikvm
python-aiohttp-pikvm
)
-makedepends=(python-setuptools)
+makedepends=(
+ python-setuptools
+ python-pip
+)
source=("$url/archive/v$pkgver.tar.gz")
md5sums=(SKIP)
backup=(
@@ -135,20 +138,11 @@ backup=(
)
-build() {
- cd "$srcdir"
- rm -rf $pkgname-build
- cp -r kvmd-$pkgver $pkgname-build
- cd $pkgname-build
- python setup.py build
-}
-
-
package_kvmd() {
install=$pkgname.install
- cd "$srcdir/$pkgname-build"
- python setup.py install --root="$pkgdir"
+ cd "$srcdir/kvmd-$pkgver"
+ pip install --root="$pkgdir" --no-deps .
install -Dm755 -t "$pkgdir/usr/bin" scripts/kvmd-{bootconfig,gencert,certbot}