user/insaned: match to MR

This commit is contained in:
Antoine Martin 2023-01-10 14:13:12 -05:00
parent 31f80d1632
commit b02e8bd846
Signed by: forge
GPG key ID: D62A472A4AA7D541
2 changed files with 7 additions and 7 deletions

View file

@ -3,14 +3,15 @@
pkgname=insaned
pkgver=0.0.4
pkgrel=2
pkgrel=0
pkgdesc="Insaned is a simple linux daemon for polling button presses on SANE-managed scanners."
arch="x86_64"
arch="all"
url="https://gitlab.com/xeijin-dev/insaned"
license="GNU-2.0-only"
license="GPL-2.0-only"
makedepends="sane-dev"
builddir="$srcdir"/$pkgname-v$pkgver
subpackages="$pkgname-openrc"
options="!check" # No testsuite
source="
https://gitlab.com/xeijin-dev/insaned/-/archive/v$pkgver/insaned-v$pkgver.tar.gz
insaned.openrc
@ -25,12 +26,12 @@ 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
aee4f7ee165ccb19272572052f824723123a1f3a09f53522110fff29772856c406b1923ecfd94c309d206d77fb0d86b826c15ad26aa68f2db874e02469831271 insaned.conf
"

View file

@ -1,11 +1,10 @@
# /etc/conf.d/insaned: config file for /etc/init.d/insaned
# Adjust scheduling priority on insaned (default: 0)
#INSANED_NICELEVEL="0"
INSANED_NICELEVEL="0"
# Pass extra options to insaned
INSANED_EXTRAOPTS="--sleep-ms=1000 --suspend-after-event"
#INSANED_EXTRAOPTS="-vv --sleep-ms=1000 --suspend-after-event"
# it is HIGHLY recommended to use less privileged user
# event handler scripts are executed with privileges of this user