diff options
author | Devaev Maxim <[email protected]> | 2018-06-29 00:40:27 +0300 |
---|---|---|
committer | Devaev Maxim <[email protected]> | 2018-06-29 00:40:27 +0300 |
commit | 6a24de5f90db22badcff109cae0ed35a7b82a142 (patch) | |
tree | c55a67a93af8d628d0306706daec9dff76e65be9 /kvmd/PKGBUILD | |
parent | b06bf44e3357e245f6d7b7fe7283dd7a1f691d83 (diff) |
fixed build
Diffstat (limited to 'kvmd/PKGBUILD')
-rw-r--r-- | kvmd/PKGBUILD | 10 |
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 |