summaryrefslogtreecommitdiff
path: root/kvmd/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'kvmd/PKGBUILD')
-rw-r--r--kvmd/PKGBUILD10
1 files changed, 5 insertions, 5 deletions
diff --git a/kvmd/PKGBUILD b/kvmd/PKGBUILD
index c603814a..aef60d17 100644
--- a/kvmd/PKGBUILD
+++ b/kvmd/PKGBUILD
@@ -20,22 +20,22 @@ makedepends=("python-setuptools" "wget")
build() {
- cd $startdir/src
- if [ ! -d $pkgname-$pkgver ]; then
+ cd $srcdir
+ if [ ! -d pi-kvm-$pkgver ]; then
msg "Downloading tag v$pkgver..."
wget $url/archive/v$pkgver.tar.gz
tar -xzf v$pkgver.tar.gz
fi
rm -rf $pkgname-build
- cp -r $pkgname-$pkgver $pkgname-build
- cd $pkgname-build/kvmd
+ cp -r pi-kvm-$pkgver/kvmd $pkgname-build
+ cd $pkgname-build
python setup.py build
}
package() {
- cd $srcdir/$pkgname-build/kvmd
+ cd $srcdir/$pkgname-build
python setup.py install --root=$pkgdir
install -Dm644 kvmd.yaml $pkgdir/etc/kvmd.yaml