[ create a new paste ] login | about

Link: http://codepad.org/0ll4Maje    [ raw code | fork ]

Plain Text, pasted on Nov 14:
# Maintainer: Uwe Bär <u.baer67@gmail.com>

pkgname="brother-mfc-j430w"
pkgver="3.0.0"
pkgrel=1
_revision=1
pkgdesc="LPR and CUPS driver for the Brother MFC-J265W"
url="http://welcome.solutions.brother.com/bsc/public_s/id/linux/en/index.html"
arch=('i686' 'x86_64')
license='unknown'
install='brother-mfc-j430w.install'
depends=('tcsh' 'deb2targz' 'perl' 'a2ps')
source=(
	"http://www.brother.com/pub/bsc/linux/dlf/mfcj430wlpr-3.0.0-1.i386.deb"
	"http://www.brother.com/pub/bsc/linux/dlf/mfcj430wcupswrapper-3.0.0-1.i386.deb"
)
md5sums=('6fed0a1775ce06f01aa4f50f6b451f6d'
         '01f8fdb5ff7d047d947fadf17d5d4f60')

build() {
	deb2targz *.deb >/dev/null || return 1
	rm -f *.deb || return 1
	cd $srcdir || return 1
	[ -d "mfcj430w" ] || (mkdir mfcj430w || return 1)
	for i in *.tar.gz;do tar xfz $i -C mfcj430w;done || return 1
	cd mfcj430w || return 1
	cd opt/brother/Printers/mfcj430w || return 1
	perl -i -pe 's#/etc/init.d#/etc/rc.d#g' ./cupswrapper/cupswrappermfcj430w || return 1
	perl -i -pe 's#printcap\.local#printcap#g' ./inf/setupPrintcapij || return 1
	cp -rf $srcdir/mfcj430w/usr/ $pkgdir/ || return 1
}



Create a new paste based on this one


Comments: