summaryrefslogtreecommitdiff
path: root/kvmd/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'kvmd/PKGBUILD')
-rw-r--r--kvmd/PKGBUILD42
1 files changed, 0 insertions, 42 deletions
diff --git a/kvmd/PKGBUILD b/kvmd/PKGBUILD
deleted file mode 100644
index 853951b1..00000000
--- a/kvmd/PKGBUILD
+++ /dev/null
@@ -1,42 +0,0 @@
-# Contributor: Maxim Devaev <[email protected]>
-# Author: Maxim Devaev <[email protected]>
-
-
-pkgname=kvmd
-pkgver=0.66
-pkgrel=1
-pkgdesc="The main Pi-KVM daemon"
-url="https://github.com/pi-kvm/pi-kvm"
-license=(GPL)
-arch=(any)
-depends=(
- python
- python-yaml
- python-aiohttp
- python-aiofiles
- python-pyudev
- python-raspberry-gpio
- python-pyserial
- python-setproctitle
-)
-makedepends=(python-setuptools)
-source=("$url/archive/v$pkgver.tar.gz")
-md5sums=(SKIP)
-
-
-build() {
- cd $srcdir
- rm -rf $pkgname-build
- cp -r pi-kvm-$pkgver/kvmd $pkgname-build
- cd $pkgname-build
- python setup.py build
-}
-
-package() {
- cd $srcdir/$pkgname-build
- python setup.py install --root="$pkgdir"
- install -Dm644 configs/kvmd.service "$pkgdir/usr/lib/systemd/system/kvmd.service"
- mkdir -p "$pkgdir/usr/share/kvmd"
- cp -r web "$pkgdir/usr/share/kvmd"
- cp -r configs "$pkgdir/usr/share/kvmd"
-}