summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 8a1ab8ba75a87373b0c99a115da1dad707e9bb3d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# Maintainer: markustieger <markustieger@gmail.com>

pkgname=homeassistant-scanner
pkgver=1.3
pkgrel=1
pkgdesc="Turns on the printer if a specified scanner application is open"
arch=('any')
depends=('systemd' 'python-homeassistant-cli' 'bash' 'procps-ng')
license=('GPL')
url="https://aur.archlinux.org/packages/homeassistant-scanner"

package() {
  install -Dm644 "../homeassistant-scanner@.service" "${pkgdir}/usr/lib/systemd/system/homeassistant-scanner@.service"
  install -Dm744 "../homeassistant-scanner.sh" "${pkgdir}/usr/lib/systemd/system/homeassistant-scanner.sh"
}