diff options
author | Benjamin Abel | 2017-09-02 18:17:40 +0200 |
---|---|---|
committer | Benjamin Abel | 2017-09-02 18:17:40 +0200 |
commit | e45d16849207fbcb874947572a047d30161f649b (patch) | |
tree | 81e98d40b59a500e78c8fab3f6a0879453d6ce90 /PKGBUILD | |
parent | 94bf9f174619ce56e6ed6f003690bd27696035f2 (diff) | |
download | aur-e45d16849207fbcb874947572a047d30161f649b.tar.gz |
Undo the patch file
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 11 |
1 files changed, 3 insertions, 8 deletions
@@ -3,7 +3,7 @@ # slightly modified version of https://aur.archlinux.org/packages/brother-mfc-j5330dw/ pkgname="brother-mfc-j5335dw" -pkgver="1.0.1.0.1" +pkgver="1.0.1.0" # required because of unconventional package numbering for brother _brother_pkgver="1.0.1-0" pkgrel=3 @@ -17,13 +17,11 @@ install="$pkgname.install" source=("http://download.brother.com/welcome/dlf103004/mfcj5335dwlpr-$_brother_pkgver.i386.rpm" "http://download.brother.com/welcome/dlf103028/mfcj5335dwcupswrapper-$_brother_pkgver.i386.rpm" 'cupswrapper-license.txt' - 'lpr-license.txt' - 'brother-mfc-j5335dw.patch') + 'lpr-license.txt') md5sums=(bcf37fe0e9624ae9e3ce0554573d113f 40c5de6899b0c319f6187e23626e7c42 310f8424517f3df127d39393ceaebb6f - bf894a1a51baf6055a6c58ecf43c9782 - 4bd2a2f6fb33b2fcf4c6d22810238dc7) + bf894a1a51baf6055a6c58ecf43c9782) prepare() { # do not install in /usr/local @@ -38,9 +36,6 @@ prepare() { install -d "${srcdir}"/usr/share/cups/model install -d "${srcdir}"/usr/lib/cups/filter - # patch an error (?) in the perl script from brother - patch -p1 "${srcdir}"/opt/brother/Printers/mfcj5335dw/cupswrapper/brother_lpdwrapper_mfcj5335dw < brother_lpdwrapper_mfcj5335dw.patch - # go to the cupswrapper directory and find the source file from which to generate a ppd and wrapperfile cd `find . -type d -name 'cupswrapper'` |