37 lines
1.3 KiB
Text
37 lines
1.3 KiB
Text
# Maintainer: Antoine Martin (ayakael) <dev@ayakael.net>
|
|
# Contributor: Antoine Martin (ayakael) <dev@ayakael.net>
|
|
|
|
pkgname=insaned
|
|
pkgver=0.0.4
|
|
pkgrel=0
|
|
pkgdesc="Insaned is a simple linux daemon for polling button presses on SANE-managed scanners."
|
|
arch="all"
|
|
url="https://gitlab.com/xeijin-dev/insaned"
|
|
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
|
|
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
|
|
aee4f7ee165ccb19272572052f824723123a1f3a09f53522110fff29772856c406b1923ecfd94c309d206d77fb0d86b826c15ad26aa68f2db874e02469831271 insaned.conf
|
|
"
|