2022-08-15 15:51:38 +00:00
|
|
|
# Maintainer: Antoine Martin (ayakael) <dev@ayakael.net>
|
|
|
|
# Contributor: Antoine Martin (ayakael) <dev@ayakael.net>
|
|
|
|
|
|
|
|
pkgname=insaned
|
|
|
|
pkgver=0.0.4
|
2023-01-10 19:13:12 +00:00
|
|
|
pkgrel=0
|
2022-08-15 15:51:38 +00:00
|
|
|
pkgdesc="Insaned is a simple linux daemon for polling button presses on SANE-managed scanners."
|
2023-08-11 19:49:05 +00:00
|
|
|
arch="all"
|
2022-08-15 15:51:38 +00:00
|
|
|
url="https://gitlab.com/xeijin-dev/insaned"
|
2023-01-10 19:13:12 +00:00
|
|
|
license="GPL-2.0-only"
|
2022-08-15 15:51:38 +00:00
|
|
|
makedepends="sane-dev"
|
|
|
|
builddir="$srcdir"/$pkgname-v$pkgver
|
|
|
|
subpackages="$pkgname-openrc"
|
2023-01-10 19:13:12 +00:00
|
|
|
options="!check" # No testsuite
|
2022-08-15 15:51:38 +00:00
|
|
|
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
|
2023-01-10 19:13:12 +00:00
|
|
|
|
2022-08-15 15:51:38 +00:00
|
|
|
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
|
2023-01-10 19:13:12 +00:00
|
|
|
aee4f7ee165ccb19272572052f824723123a1f3a09f53522110fff29772856c406b1923ecfd94c309d206d77fb0d86b826c15ad26aa68f2db874e02469831271 insaned.conf
|
2022-08-15 15:51:38 +00:00
|
|
|
"
|