diff options
author | 132ikl | 2023-11-25 00:00:23 -0500 |
---|---|---|
committer | 132ikl | 2023-11-25 00:00:23 -0500 |
commit | 6caa238078ee1ab09d8d07896adc892c02610da1 (patch) | |
tree | 6bf33da178d1b28d3740616c9e479a8119f89aff | |
parent | 5a9ed0aa4c1d69bed8fe45f832d9de482db46942 (diff) | |
download | aur-scanbd-git.tar.gz |
Add udev rules, add aarch64 as per @Zepman's comment
-rw-r--r-- | .SRCINFO | 3 | ||||
-rw-r--r-- | PKGBUILD | 6 |
2 files changed, 6 insertions, 3 deletions
@@ -1,9 +1,10 @@ pkgbase = scanbd-git pkgdesc = Scanner button daemon looking for scanner button pressed pkgver = r224.f909458 - pkgrel = 1 + pkgrel = 2 url = https://gitlab.com/sane-project/frontend/scanbd arch = x86_64 + arch = aarch64 license = GPL2 depends = sane depends = confuse @@ -4,9 +4,9 @@ pkgname=scanbd-git pkgver=r224.f909458 -pkgrel=1 +pkgrel=2 pkgdesc="Scanner button daemon looking for scanner button pressed" -arch=('x86_64') +arch=('x86_64' 'aarch64') url="https://gitlab.com/sane-project/frontend/scanbd" license=('GPL2') depends=('sane' 'confuse' 'libusb-compat') @@ -35,6 +35,7 @@ prepare() { # Arch uses the 'daemon' user and 'scanner' group. sed -i 's/"saned">.*/"daemon">/' integration/scanbd_dbus.conf + sed -i 's/GROUP="saned"/GROUP="scanner"/' integration/99-saned.rules sed -i 's@\(user = \)saned$@\1daemon@' conf/scanbd.conf sed -i 's@\(group = \)lp$@\1scanner@' conf/scanbd.conf @@ -54,6 +55,7 @@ package() { make DESTDIR="$pkgdir" install install -Dm644 integration/scanbd_dbus.conf -t "$pkgdir/etc/dbus-1/system.d/" + install -Dm644 integration/99-saned.rules -t "$pkgdir/usr/lib/udev/rules.d/" install -Dm644 integration/systemd/{scanbd,scanbm@}.service -t "$pkgdir/usr/lib/systemd/system/" install -Dm644 integration/systemd/scanbm.socket -t "$pkgdir/usr/lib/systemd/system/" |