# Maintainer: Michael Kuc _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 }