summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSergio de la Cruz2019-09-27 11:28:51 -0700
committerSergio de la Cruz2019-09-27 11:28:51 -0700
commit17f6f776fd3bdf1a63ec5c884886b61397a6a247 (patch)
treed3b99d8114a446c478beb189cd490589237e230f
parentc545015d2a040180fdb661ad9cef2de95cfd9fea (diff)
downloadaur-17f6f776fd3bdf1a63ec5c884886b61397a6a247.tar.gz
Removed unneeded margin corrections patch
-rw-r--r--.SRCINFO7
-rw-r--r--PKGBUILD13
2 files changed, 7 insertions, 13 deletions
diff --git a/.SRCINFO b/.SRCINFO
index a8671624faa..17f26725a9f 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = brother-hl2280dw
pkgdesc = Brother HL-2280DW CUPS Driver
- pkgver = 2.0.4_2
+ pkgver = 2.1.0_1
pkgrel = 1
url = http://welcome.solutions.brother.com/bsc/public_s/id/linux/en/index.html
arch = i686
@@ -8,12 +8,11 @@ pkgbase = brother-hl2280dw
license = GPL
depends = a2ps
depends = cups
+ depends = lib32-glibc
source = http://www.brother.com/pub/bsc/linux/dlf/hl2280dwlpr-2.1.0-1.i386.rpm
- source = http://www.brother.com/pub/bsc/linux/dlf/cupswrapperHL2280DW-2.0.4-2.i386.rpm
- source = HL2280DW.ppd.patch
+ source = http://www.brother.com/pub/bsc/linux/dlf/cupswrapperHL2280DW-2.1.0-1.i386.rpm
md5sums = efa44d4acc0e62633e2d742e445b811a
md5sums = b687b69f530275de86d71cbc46352413
- md5sums = de9cee3fed4afb1ee7f5516b5bac9f25
pkgname = brother-hl2280dw
diff --git a/PKGBUILD b/PKGBUILD
index f69978cbcc1..531a48fd05e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Sergio de la Cruz <sergiod dot lc at gmail dot com>
pkgname=brother-hl2280dw
-pkgver=2.0.4_2
+pkgver=2.1.0_1
pkgrel=1
pkgdesc="Brother HL-2280DW CUPS Driver"
arch=('i686' 'x86_64')
@@ -9,11 +9,9 @@ url='http://welcome.solutions.brother.com/bsc/public_s/id/linux/en/index.html'
license=('GPL')
depends=('a2ps' 'cups')
source=("http://www.brother.com/pub/bsc/linux/dlf/hl2280dwlpr-2.1.0-1.i386.rpm"
- "http://www.brother.com/pub/bsc/linux/dlf/cupswrapperHL2280DW-${pkgver//_/-}.i386.rpm"
- "HL2280DW.ppd.patch")
+ "http://www.brother.com/pub/bsc/linux/dlf/cupswrapperHL2280DW-${pkgver//_/-}.i386.rpm")
md5sums=('efa44d4acc0e62633e2d742e445b811a'
- 'b687b69f530275de86d71cbc46352413'
- 'de9cee3fed4afb1ee7f5516b5bac9f25')
+ 'b687b69f530275de86d71cbc46352413')
if [[ "$CARCH" == "x86_64" ]]; then
depends+=('lib32-glibc')
@@ -29,7 +27,7 @@ package() {
sed -i -e 's#/usr/local#/usr/share#' "$srcdir/usr/local/Brother/Printer/HL2280DW/lpd/filterHL2280DW"
mkdir -p "$srcdir/usr/share/cups/model/"
-
+
# Run the install script to extract the PPD file
. "${_cupswrapperFile}"
@@ -40,9 +38,6 @@ package() {
# Change the PPD description to match other listing for Brother printers in CUPS
sed -i -e 's/Brother HL2280DW for CUPS/Brother HL-2280DW/' "$srcdir/usr/share/cups/model/HL2280DW.ppd"
- # Add margin correction (alignmargins output: https://wiki.linuxfoundation.org/en/OpenPrinting/Database/CUPSDocumentation)
- patch "$srcdir/usr/share/cups/model/HL2280DW.ppd" < "$srcdir/HL2280DW.ppd.patch"
-
# Replace references to $srcdir
sed -i -e "s#$srcdir/usr#/usr#" "$srcdir/usr/lib/cups/filter/brlpdwrapperHL2280DW"
sed -i -e "s#/usr/local#/usr/share#" "$srcdir/usr/lib/cups/filter/brlpdwrapperHL2280DW"