feat: add brother-scand-git
Adds the package for monitoring networked Brother scanners for button presses.
This commit is contained in:
50
brother-scand-git/PKGBUILD
Normal file
50
brother-scand-git/PKGBUILD
Normal file
@@ -0,0 +1,50 @@
|
||||
# Maintainer: Michael Kuc <michaelkuc6 at gmail dot com>
|
||||
_pkgname=brother-scand
|
||||
pkgname=${_pkgname}-git
|
||||
pkgver=v0.0.1
|
||||
pkgrel=1
|
||||
epoch=
|
||||
pkgdesc="Network driver for Brother scanner devices. Daemon for press-to-scan functionality."
|
||||
arch=('x86_64')
|
||||
url="https://github.com/rumpeltux/brother-scand"
|
||||
license=('unknown')
|
||||
groups=()
|
||||
depends=()
|
||||
makedepends=()
|
||||
optdepends=()
|
||||
provides=($_pkgname)
|
||||
conflicts=($_pkgname)
|
||||
replaces=()
|
||||
backup=()
|
||||
options=()
|
||||
install='brother-scand.install'
|
||||
changelog=
|
||||
source=(
|
||||
'git+https://github.com/rumpeltux/brother-scand.git'
|
||||
'Makefile.patch'
|
||||
'brother-scand.install'
|
||||
)
|
||||
noextract=()
|
||||
md5sums=(
|
||||
'SKIP'
|
||||
'SKIP'
|
||||
'SKIP'
|
||||
)
|
||||
|
||||
prepare() {
|
||||
cd "$srcdir/$_pkgname"
|
||||
patch -p1 -i "$srcdir/Makefile.patch"
|
||||
}
|
||||
|
||||
build() {
|
||||
cd "$srcdir/$_pkgname"
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$srcdir/$_pkgname"
|
||||
install -dm0755 "$pkgdir/usr/bin"
|
||||
install -dm0755 "$pkgdir/etc/systemd/system"
|
||||
install -dm0755 "$pkgdir/etc/rsyslog.d"
|
||||
make DESTDIR="$pkgdir" install
|
||||
}
|
||||
Reference in New Issue
Block a user