summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Schreiner2018-09-16 00:18:28 +0200
committerAndreas Schreiner2018-09-16 00:18:28 +0200
commit2d70ebf9a6226fc01c7c1ece18d1fe46255e89e4 (patch)
tree218b509843ec3967ffc08580b2c41763761e25dc
parent7fd6680b042885587f663120212e840e7e2881da (diff)
downloadaur-2d70ebf9a6226fc01c7c1ece18d1fe46255e89e4.tar.gz
Updated version
-rw-r--r--.SRCINFO20
-rw-r--r--PKGBUILD17
-rw-r--r--brother-mfc-9140cdn.install12
3 files changed, 19 insertions, 30 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 62a189181eca..b7ae3b1df788 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,18 +1,18 @@
# Generated by mksrcinfo v8
-# Sat Jun 24 19:24:36 UTC 2017
-pkgbase = brother-mfc-9140cdn
+# Sat Sep 15 22:17:47 UTC 2018
+pkgbase = brother-mfc-9142cdn
pkgdesc = LPR and CUPS driver for the Brother MFC-9140CDN
- pkgver = 1.1.2
- pkgrel = 3
+ 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
+ source = http://download.brother.com/welcome/dlf101616/mfc9142cdnlpr-1.1.3-0.i386.deb
+ source = http://download.brother.com/welcome/dlf101617/mfc9142cdncupswrapper-1.1.4-0.i386.deb
+ sha256sums = 1ca1143c074c33ecfe0cdc26eb5c5e6cd9b0bbe94c116fc9c03d54de7a3029df
+ sha256sums = 4472d0aef4148eace6d8df873b03eb1a91922791e451e90d7addde4e37c876e2
-pkgname = brother-mfc-9140cdn
+pkgname = brother-mfc-9142cdn
diff --git a/PKGBUILD b/PKGBUILD
index 91000fb2a825..2f72e6e341a0 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,8 +1,9 @@
-model="9140cdn"
+model="9142cdn"
pkgname="brother-mfc-$model"
-pkgver="1.1.2"
-pkgrel=3
-_revision=1
+pkgver="1.1.3"
+pkgrel=1
+_cupswrapper_ver=1.1.4
+_revision=0
pkgdesc="LPR and CUPS driver for the Brother MFC-9140CDN"
url="http://welcome.solutions.brother.com/bsc/public_s/id/linux/en/index.html"
arch=('i686' 'x86_64')
@@ -13,10 +14,10 @@ if [ "$CARCH" == 'i686' ]; then
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-${_cupswrapper_ver}-${_revision}.i386.deb")
+sha256sums=('1ca1143c074c33ecfe0cdc26eb5c5e6cd9b0bbe94c116fc9c03d54de7a3029df'
+ '4472d0aef4148eace6d8df873b03eb1a91922791e451e90d7addde4e37c876e2')
package() {
deb2targz *.deb >/dev/null || return 1
diff --git a/brother-mfc-9140cdn.install b/brother-mfc-9140cdn.install
deleted file mode 100644
index db108148709d..000000000000
--- a/brother-mfc-9140cdn.install
+++ /dev/null
@@ -1,12 +0,0 @@
-post_install() {
- post_upgrade;
-}
-
-post_upgrade() {
- /opt/brother/Printers/mfc9140cdn/cupswrapper/cupswrappermfc9140cdn >/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
- printf "\033[1m\032[32m\x3d\x3d\x3e\033\1330m Something went wrong...\n"
- fi
-}