diff options
author | Daniel Hahler | 2016-04-24 16:38:35 +0200 |
---|---|---|
committer | Daniel Hahler | 2016-04-24 16:59:50 +0200 |
commit | f4d178ff5a6fe62d8498a1d2bd6bdc01815ea00f (patch) | |
tree | 901dae03aab43a89802698501999d23939f7a3b4 | |
parent | 7a2b41f5b19bb1d182cba3d8557ad40f6a204ff0 (diff) | |
download | aur-f4d178ff5a6fe62d8498a1d2bd6bdc01815ea00f.tar.gz |
Add brother-mfc-9142cdn, based on brother-mfc-9140cdn
-rw-r--r-- | .SRCINFO | 25 | ||||
-rw-r--r-- | PKGBUILD | 20 | ||||
-rw-r--r-- | brother-mfc-9142cdn.install (renamed from brother-mfc-9140cdn.install) | 2 |
3 files changed, 25 insertions, 22 deletions
@@ -1,16 +1,19 @@ -pkgbase = brother-mfc-9140cdn - pkgdesc = LPR and CUPS driver for the Brother MFC-9140CDN - pkgver = 1.1.2 - pkgrel = 2 +pkgbase = brother-mfc-9142cdn + pkgdesc = LPR and CUPS driver for the Brother MFC-9142CDN + pkgver = 1.1.3 + pkgrel = 1 url = http://welcome.solutions.brother.com/bsc/public_s/id/linux/en/index.html - install = brother-mfc-9140cdn.install + install = brother-mfc-9142cdn.install arch = i686 arch = x86_64 - license = unknown - source = http://download.brother.com/welcome/dlf100405/mfc9140cdnlpr-1.1.2-1.i386.deb - source = http://download.brother.com/welcome/dlf100407/mfc9140cdncupswrapper-1.1.2-1.i386.deb - sha256sums = 90eae54a7201c369ddc6c3999af24c9c8de7b2c72061ba0773e8809da5451df3 - sha256sums = 6eccd08ce0fb57f59def431114913c35c738c7497053dbf649efd1d041c3d919 + license = custom:brother commercial license + depends = deb2targz + depends = perl + depends = lib32-libcups + source = http://download.brother.com/welcome/dlf101616/mfc9142cdnlpr-1.1.3-0.i386.deb + source = http://download.brother.com/welcome/dlf101617/mfc9142cdncupswrapper-1.1.3-0.i386.deb + sha256sums = 1ca1143c074c33ecfe0cdc26eb5c5e6cd9b0bbe94c116fc9c03d54de7a3029df + sha256sums = 5f173587460ebc0bd48b6b32a58bf89c1133e2becebbe0fe58ae10f519137f7d -pkgname = brother-mfc-9140cdn +pkgname = brother-mfc-9142cdn @@ -1,22 +1,22 @@ -model="9140cdn" +model="9142cdn" pkgname="brother-mfc-$model" -pkgver="1.1.2" -pkgrel=2 -_revision=1 -pkgdesc="LPR and CUPS driver for the Brother MFC-9140CDN" +pkgver="1.1.3" +pkgrel=1 +_revision=0 +pkgdesc="LPR and CUPS driver for the Brother MFC-9142CDN" url="http://welcome.solutions.brother.com/bsc/public_s/id/linux/en/index.html" arch=('i686' 'x86_64') -license='unknown' +license=(custom:"brother commercial license") install="brother-mfc-${model}.install" if [ "$CARCH" == 'i686' ]; then depends=('deb2targz' 'perl') elif [ "$CARCH" == 'x86_64' ]; then depends=('deb2targz' 'perl' 'lib32-libcups') fi -source=("http://download.brother.com/welcome/dlf100405/mfc${model}lpr-${pkgver}-${_revision}.i386.deb" - "http://download.brother.com/welcome/dlf100407/mfc${model}cupswrapper-${pkgver}-${_revision}.i386.deb") -sha256sums=('90eae54a7201c369ddc6c3999af24c9c8de7b2c72061ba0773e8809da5451df3' - '6eccd08ce0fb57f59def431114913c35c738c7497053dbf649efd1d041c3d919') +source=("http://download.brother.com/welcome/dlf101616/mfc${model}lpr-${pkgver}-${_revision}.i386.deb" + "http://download.brother.com/welcome/dlf101617/mfc${model}cupswrapper-${pkgver}-${_revision}.i386.deb") +sha256sums=('1ca1143c074c33ecfe0cdc26eb5c5e6cd9b0bbe94c116fc9c03d54de7a3029df' + '5f173587460ebc0bd48b6b32a58bf89c1133e2becebbe0fe58ae10f519137f7d') package() { deb2targz *.deb >/dev/null || return 1 diff --git a/brother-mfc-9140cdn.install b/brother-mfc-9142cdn.install index db108148709d..6d3d6dd0b7c0 100644 --- a/brother-mfc-9140cdn.install +++ b/brother-mfc-9142cdn.install @@ -3,7 +3,7 @@ post_install() { } post_upgrade() { - /opt/brother/Printers/mfc9140cdn/cupswrapper/cupswrappermfc9140cdn >/dev/null + /opt/brother/Printers/mfc9142cdn/cupswrapper/cupswrappermfc9142cdn >/dev/null if [ "$?" -eq 0 ]; then printf "\033[1m\033[32m\x3d\x3d\x3e\033\1330m Done. The printer should be visible now via the CUPS-webinterface (http://localhost:631)\n" else |