diff options
-rw-r--r-- | .SRCINFO | 7 | ||||
-rw-r--r-- | PKGBUILD | 16 | ||||
-rw-r--r-- | basedir.patch | 4 | ||||
-rw-r--r-- | brother-dcp-l2500d.install | 6 |
4 files changed, 13 insertions, 20 deletions
@@ -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 @@ -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." -} |