# Maintainer: Luca Fulgenzi # # This PKGBUILD was generated by `cargo aur`: https://crates.io/crates/cargo-aur pkgname=domust-bin pkgver=0.1.6 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") depends=() arch=("x86_64") provides=("domust") conflicts=("domust") source=("https://github.com/lucafulgenzi/domust/releases/download/${pkgver}/domust-x86_64-unknown-linux-gnu.tar.gz") sha256sums=('ec06b2d2bffc976416d03e585be3ee6757c5dda1503b5e762919ed23ca97584b') package() { install -Dm755 domust -t "$pkgdir/usr/bin" install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" install -Dm644 README.md "$pkgdir/usr/share/doc/${pkgname}/README.md" install -Dm644 domust-completion "$pkgdir/usr/share/bash-completion/completions/domust" mkdir -p $pkgdir/$HOME/.config/domust [[ -f $HOME/.config/domust/config.yaml ]] || touch $HOME/.config/domust/config.yaml }