summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2018-07-13 05:16:04 +0000
committerDevaev Maxim <[email protected]>2018-07-13 05:16:04 +0000
commitc7d2f0244bec457710e7506c6a69fba765c011c9 (patch)
tree585f11910bbb1d0b4ed24849f67eb0aa0737de87
parent698339d77e02978abc4c88a48b23f3fe8b354330 (diff)
improved PKGBUILD
-rw-r--r--kvmd/PKGBUILD11
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
}