# Maintainer: Antoine Martin (ayakael) # Contributor: Antoine Martin (ayakael) pkgname=insaned pkgver=0.0.4 pkgrel=2 pkgdesc="Insaned is a simple linux daemon for polling button presses on SANE-managed scanners." arch="x86_64" url="https://gitlab.com/xeijin-dev/insaned" license="GNU-2.0-only" makedepends="sane-dev" builddir="$srcdir"/$pkgname-v$pkgver subpackages="$pkgname-openrc" source=" https://gitlab.com/xeijin-dev/insaned/-/archive/v$pkgver/insaned-v$pkgver.tar.gz insaned.openrc insaned.conf " build() { make } package() { install -Dm 755 "$builddir"/insaned "$pkgdir"/usr/bin/insaned install -Dm 755 "$srcdir"/insaned.openrc "$pkgdir"/etc/init.d/insaned install -Dm 644 "$srcdir"/insaned.conf "$pkgdir"/etc/conf.d/insaned install -dm 755 "$pkgdir"/etc/insaned cp -r "$builddir"/events "$pkgdir"/etc/insaned/events } sha512sums=" 60ab37e8506b4b4ee4dc063e43c06af51ababdbbf3200332c1ef7abcdd3ee23764caf0c4f4d3ea413a83b9d3fc1b85d2e69f87c5ac6f7990186b716b9e3cce09 insaned-v0.0.4.tar.gz d74e99022f0a5db981571efa9b14675d9b1f908fefd75b5bf96b36449ebb79a89424ac43d17a7872b35f76fb6b7eb4d5e0db15490ab83ffdd038022e10aac2b2 insaned.openrc ad224b62faa5349cff57351f4c72bec5bfad2b6d84e5a1aef4bbde36cd3a265db7d0160964ae679f7a8c0a8d18c1c15469606648849e50e333f4b3158c0406bf insaned.conf "