diff options
author | Devaev Maxim <[email protected]> | 2018-07-13 05:16:04 +0000 |
---|---|---|
committer | Devaev Maxim <[email protected]> | 2018-07-13 05:16:04 +0000 |
commit | c7d2f0244bec457710e7506c6a69fba765c011c9 (patch) | |
tree | 585f11910bbb1d0b4ed24849f67eb0aa0737de87 | |
parent | 698339d77e02978abc4c88a48b23f3fe8b354330 (diff) |
improved PKGBUILD
-rw-r--r-- | kvmd/PKGBUILD | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/kvmd/PKGBUILD b/kvmd/PKGBUILD index 7fc15411..7e1c2ced 100644 --- a/kvmd/PKGBUILD +++ b/kvmd/PKGBUILD @@ -18,21 +18,16 @@ depends=( "python-raspberry-gpio" "python-pyserial" ) -makedepends=("python-setuptools" "wget") +makedepends=("python-setuptools") +source=("$url/archive/v$pkgver.tar.gz") +md5sums=("SKIP") build() { 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 pi-kvm-$pkgver/kvmd $pkgname-build cd $pkgname-build - python setup.py build } |