summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: e2789bb89ab73a5200aa75bf12c2e6eef9e2503d (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
# 2020-08-26 20:22:08
# Maintained by Julien Tremblay McLellan, user:Jtm-lis, jtremc@gmail.com
# Contributed by user:loqs and user:eschwartz
# See forum thread https://bbs.archlinux.org/viewtopic.php?pid=1923012 // archived version - https://web.archive.org/save/https://bbs.archlinux.org/viewtopic.php?pid=1923012


pkgname="brother-mfc-j435w"
_printername=mfcj435w
pkgver="3.0.0.1"
_pkgver="3.0.0-1"
pkgrel=1
pkgdesc="LPR and CUPS driver for the Brother MFC-J435W"
arch=('i686' 'x86_64')
url="https://support.brother.com/g/b/downloadtop.aspx?c=us&lang=en&prod=mfcj435w_us"
license=('custom' 'GPL2')
depends=('cups')
depends_x86_64=('lib32-glibc')
source=("https://download.brother.com/welcome/dlf006577/${_printername}lpr-$_pkgver.i386.rpm"
        "https://download.brother.com/welcome/dlf006579/${_printername}cupswrapper-$_pkgver.i386.rpm"
        'lpr-license.txt')
md5sums=('f55e367cc318de268a74dee7a01292bc'
         '90c4c2214217b230d76888785c1e5f74'
         '8dfc0b8b0a8cdea5d989257e1946e877')

package() {
  cp -r --no-preserve=ownership usr opt "$pkgdir"
  install -m 644 -D lpr-license.txt "$pkgdir"/usr/share/licenses/${pkgname}/lpr-licence.txt
}