summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorTomasz Maciej Nowak2018-09-06 21:05:31 +0200
committerTomasz Maciej Nowak2018-09-06 21:05:31 +0200
commitf54f23e732cade35f3825e4cb599abeba45b59ea (patch)
tree0258968a2f22a7e691cb17eda4e42847d08b275c
parentfb03ec9c0e66782189e164640bc52ddf10c86d30 (diff)
downloadaur-f54f23e732cade35f3825e4cb599abeba45b59ea.tar.gz
upgpkg: brother-dcp-l2500d 3.2.0_1-2
* remove note about udev rule * modify patch to ab format * replace double qoutes with single ones where possible
-rw-r--r--.SRCINFO7
-rw-r--r--PKGBUILD16
-rw-r--r--basedir.patch4
-rw-r--r--brother-dcp-l2500d.install6
4 files changed, 13 insertions, 20 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 8a71a12ec1e9..96ddb3ebb666 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,11 +1,8 @@
-# Generated by mksrcinfo v8
-# Tue Apr 5 15:01:11 UTC 2016
pkgbase = brother-dcp-l2500d
pkgdesc = LPR and CUPS driver for the Brother DCP-L2500D
pkgver = 3.2.0_1
- pkgrel = 1
+ pkgrel = 2
url = http://solutions.brother.com/linux
- install = brother-dcp-l2500d.install
arch = i686
arch = x86_64
license = GPL2
@@ -17,7 +14,7 @@ pkgbase = brother-dcp-l2500d
source = eula.txt
sha256sums = ec739bb742cb16f943e5faeed845b317ff6608229b4826c8738e5076f90e810e
sha256sums = d53d13a0854f8a8fd50bdbaf3fe2edead7c52d17f11bb86c64d000d5ffd28aef
- sha256sums = baf435d197594de95193e2b08eaa4a8c071fc86ce2b98d84f6e83d0f6bcac293
+ sha256sums = a3ad56a074f83cad899b2d61deb10e47bfd7ba7e430a777dd043193be4733ff7
sha256sums = d1c2d3abdcbcb3f5251fb8109d4b9eff0fba9707ae6697601d75bead71d7ffd4
depends_x86_64 = lib32-glibc
diff --git a/PKGBUILD b/PKGBUILD
index cddee38517ad..fbaa74a7516d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,30 +1,32 @@
# Maintainer: Tomasz Maciej Nowak <com[dot]gmail[at]tmn505>
# patch idea taken from package brother-hl-l2380dw by apaugh
+
+# All my PKGBUILDs are managed at https://github.com/tmn505/AUR
+
pkgname=brother-dcp-l2500d
pkgver=3.2.0_1
-pkgrel=1
-pkgdesc="LPR and CUPS driver for the Brother DCP-L2500D"
+pkgrel=2
+pkgdesc='LPR and CUPS driver for the Brother DCP-L2500D'
arch=('i686' 'x86_64')
-url="http://solutions.brother.com/linux"
+url='http://solutions.brother.com/linux'
license=('GPL2' 'custom:Brother EULA')
depends=('cups')
depends_x86_64=('lib32-glibc')
-install=${pkgname}.install
source=("http://download.brother.com/welcome/dlf101753/dcpl2500dlpr-${pkgver/_/-}.i386.rpm"
"http://download.brother.com/welcome/dlf101754/dcpl2500dcupswrapper-${pkgver/_/-}.i386.rpm"
'basedir.patch'
'eula.txt')
sha256sums=('ec739bb742cb16f943e5faeed845b317ff6608229b4826c8738e5076f90e810e'
'd53d13a0854f8a8fd50bdbaf3fe2edead7c52d17f11bb86c64d000d5ffd28aef'
- 'baf435d197594de95193e2b08eaa4a8c071fc86ce2b98d84f6e83d0f6bcac293'
+ 'a3ad56a074f83cad899b2d61deb10e47bfd7ba7e430a777dd043193be4733ff7'
'd1c2d3abdcbcb3f5251fb8109d4b9eff0fba9707ae6697601d75bead71d7ffd4')
prepare() {
- patch -p0 -i ${srcdir}/basedir.patch
+ patch -p1 -i ${srcdir}/basedir.patch
}
package() {
- cp -R ${srcdir}/opt ${pkgdir}
+ cp -R ${srcdir}/opt ${pkgdir}/
rm ${pkgdir}/opt/brother/Printers/DCPL2500D/cupswrapper/Copying
install -Dm644 ${srcdir}/eula.txt ${pkgdir}/usr/share/licenses/${pkgname}/eula.txt
ln -s /usr/share/licenses/GPL2/license.txt ${pkgdir}/usr/share/licenses/${pkgname}/cupswrapper-license.txt
diff --git a/basedir.patch b/basedir.patch
index 8f71b8bb94ac..468da71cffee 100644
--- a/basedir.patch
+++ b/basedir.patch
@@ -1,5 +1,5 @@
---- opt/brother/Printers/DCPL2500D/cupswrapper/brother_lpdwrapper_DCPL2500D.orig 2014-09-29 10:02:44.000000000 +0200
-+++ opt/brother/Printers/DCPL2500D/cupswrapper/brother_lpdwrapper_DCPL2500D 2016-04-04 00:39:29.552531316 +0200
+--- a/opt/brother/Printers/DCPL2500D/cupswrapper/brother_lpdwrapper_DCPL2500D 2014-09-29 10:02:44.000000000 +0200
++++ b/opt/brother/Printers/DCPL2500D/cupswrapper/brother_lpdwrapper_DCPL2500D 2016-04-04 00:39:29.552531316 +0200
@@ -44,13 +44,7 @@ $width=-1;
$height=-1;
diff --git a/brother-dcp-l2500d.install b/brother-dcp-l2500d.install
deleted file mode 100644
index 60cab9fe48a7..000000000000
--- a/brother-dcp-l2500d.install
+++ /dev/null
@@ -1,6 +0,0 @@
-post_install() {
- echo ">> After installation restart CUPS server."
- echo ">> It might be necessary to add udev rules mentioned in:"
- echo ">> https://wiki.archlinux.org/index.php/CUPS/Troubleshooting#Printer_is_not_recognized_by_CUPS."
- echo ">> If You had to do that, please leave comment on AUR, I'll provide the rule with the package."
-}