blob: e3b86ca130e8740bffc6a13dd024c1bb5b57a3c6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
# Maintainer: Luca Fulgenzi <luca.fugenzi@justanother.cloud>
#
# This PKGBUILD was generated by `cargo aur`: https://crates.io/crates/cargo-aur
pkgname=domust-bin
pkgver=0.1.1
pkgrel=1
pkgdesc="Domust is a home automation system that allows you to control your home form your computer."
url="https://github.com/lucafulgenzi/domust"
license=("AGPL-3.0")
arch=("x86_64")
provides=("domust")
conflicts=("domust")
source=("https://github.com/lucafulgenzi/domust/releases/download/${pkgver}/domust-${pkgver}-x86_64.tar.gz")
sha256sums=("SKIP")
package() {
install -Dm755 domust -t "$pkgdir/usr/bin"
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
mkdir -p $pkgdir/$HOME/.config/domust
[[ -f $HOME/.config/domust/config.yaml ]] || touch $HOME/.config/domust/config.yaml
}
|