summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 2f22aa4b8c9e44a34ee98cbf6840bb8c7490360b (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
# Maintainer: Bart Verhagen <barrie.verhagen@gmail.com>
pkgname=brother-mfc-j1300dw
pkgver=1.0.5
pkgrel=1
pkgdesc="LPR driver and CUPS wrapper for Brother MFC-J1300DW printer"
arch=("i686" "x86_64")
url="https://support.brother.com/g/b/producttop.aspx?c=gb&lang=en&prod=mfcj1300dw_eu_as"
license=("EULA")
groups=("base-devel")
source=("https://download.brother.com/welcome/dlf103813/mfcj1300dwpdrv-1.0.5-0.i386.deb")
md5sums=("c260230993837cff7447e0c101bcb5a0")
depends=()
depends_x86_64=('lib32-glibc')
optdepends=('brscan4')

pkgver() {    
    printf "%s" $pkgver    
}

package() {
        tar -xf data.tar.gz -C "${pkgdir}"
        install -m 755 -D "${pkgdir}/opt/brother/Printers/mfcj1300dw/cupswrapper/brother_mfcj1300dw_printer_en.ppd" "${pkgdir}/usr/share/ppd/cupsfilters/brother_mfcj1300dw_printer_en.ppd"
        install -m 755 -D "${pkgdir}/opt/brother/Printers/mfcj1300dw/cupswrapper/brother_lpdwrapper_mfcj1300dw" "${pkgdir}/usr/lib/cups/filter/brother_lpdwrapper_mfcj1300dw"
}