summaryrefslogtreecommitdiff
path: root/PKGBUILD
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2018-11-18 08:34:31 +0300
committerDevaev Maxim <[email protected]>2018-11-18 08:34:31 +0300
commitd8e9d118326ab595d5f5b9cedd733f14a6993318 (patch)
tree6f9d22bc6e6718b9d1eae606846fb7ca698f31a3 /PKGBUILD
parenta39d498201c99f9d0bff6396087629e1666059d6 (diff)
path fix
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD6
1 files changed, 5 insertions, 1 deletions
diff --git a/PKGBUILD b/PKGBUILD
index fb12e712..b0988baf 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -37,12 +37,16 @@ build() {
package() {
cd $srcdir/$pkgname-build
python setup.py install --root="$pkgdir"
+
+ mkdir -p "$pkgdir/usr/lib/systemd/system"
install -Dm644 configs/systemd/kvmd.service "$pkgdir/usr/lib/systemd/system/kvmd.service"
install -Dm644 configs/systemd/kvmd-tc358743.service "$pkgdir/usr/lib/systemd/system/kvmd-tc358743.service"
+
mkdir -p "$pkgdir/usr/share/kvmd"
- mkdir -p "$pkgdir/etc/kvmd"
cp -r web "$pkgdir/usr/share/kvmd"
cp -r extras "$pkgdir/usr/share/kvmd"
cp -r configs "$pkgdir/usr/share/kvmd/configs.default"
find "$pkgdir" -name ".gitignore" -delete
+
+ mkdir -p "$pkgdir/etc/kvmd"
}