summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 94c57d8fd08cd161485bb663531b263189e0b6e8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Maintainer: exilko <exile at mailoo dot org>
pkgname=brother-dcpj1100dw
pkgver=1.0.5
pkgrel=1
pkgdesc="Driver for the Brother DCP-J1100DW"
url="https://support.brother.com/g/b/producttop.aspx?c=gb&lang=en&prod=dcpj1100dw_eu_as"
license=('custom:brother')
depends=('cups')
install="$pkgname.install"
arch=('i686' 'x86_64')
source=(
    "fix_lp.patch" \
    "https://download.brother.com/welcome/dlf103810/dcpj1100dwpdrv-$pkgver-0.i386.rpm"
)
sha256sums=('b95995763f95649e2c5aa5909e0d923a66ce335f426c902164d61aeb5029e534'
            '83edba584c54870da934f092b22d872921c936d1dc43498554e61c46241416dc')

build() {
    cd "$srcdir"
    patch -Np0 < fix_lp.patch
}

package()
{
    install -d $pkgdir/usr/bin
    install -Dm755 "$srcdir"/usr/bin/brprintconf_dcpj1100dw "$pkgdir"/usr/bin/
    cp -R $srcdir/opt $pkgdir/opt
}