# Maintainer: Vicki Pfau <vi@endrift.com>

pkgname=inputattach-cec-units
_srctag=v2
pkgver=${_srctag##v}
pkgrel=1
pkgdesc="Systemd units and udev rules for automatically attaching CEC devices via inputattach"
url="https://gitlab.steamos.cloud/holo/inputattach-cec-units"
arch=('any')
license=('GPL2')
source=("git+https://gitlab.steamos.cloud/holo/inputattach-cec-units#tag=${_srctag}")
sha256sums=('d6271ec71df80be86d30116944840bf860dc24928d4f0d9ee6556c670794cae5')
depends=('inputattach' 'systemd' 'udev')
makedepends=('git' 'pkgconf')

package() {
	cd "$pkgname"
	make install DESTDIR="$pkgdir"
}
