blob: c8879164a6493b3b87580a21e2d65a480e83b3d2 (
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
29
30
31
|
# Maintainer: Ishaan Bhimwal <ishaanbhimwal@gmail.com>
pkgname=brother-dcpt220
pkgver=3.5.0
pkgrel=1
pkgdesc="Driver for the Brother DCP-T220 multifuncional printer"
url="https://support.brother.com/g/b/producttop.aspx?c=in&lang=en&prod=dcpt220_all"
license=("custom:brother")
install="${pkgname}.install"
arch=("i686" "x86_64")
optdepends=("sane: scanning support"
"brscan4: making dcpt220 available to sane"
"brscan-skey: scankey support if connected via usb")
if [[ "$CARCH" == "x86_64" ]] ; then
depends=("a2ps" "cups" "lib32-glibc")
elif [[ "$CARCH" == "i686" ]] ; then
depends=("a2ps" "cups")
fi
source=("https://download.brother.com/welcome/dlf105163/dcpt220pdrv-$pkgver-$pkgrel.i386.rpm")
sha256sums=('2244b72cb354f7be1140f5cd44ae54befaafb901f98ca100594f6b36e577c88a')
package()
{
install -d $pkgdir/usr/bin
install -d $pkgdir/var/spool/lpd
install -Dm755 "$srcdir"/opt/brother/Printers/dcpt220/lpd/"$CARCH"/brprintconf_dcpt220 "$pkgdir"/usr/bin/
cp -R $srcdir/opt $pkgdir/opt
}
|