diff options
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 22 |
2 files changed, 6 insertions, 22 deletions
@@ -1,15 +1,15 @@ pkgbase = epson-alc1100-filter pkgdesc = Print driver for Epson ALC1100 colour laser printer pkgver = 1.2 - pkgrel = 3 + pkgrel = 4 url = http://download.ebz.epson.net/dsc/search/01/search/?OSC=LX arch = i686 arch = x86_64 license = custom:EAPL makedepends = coreutils optdepends = cups: printing support - source = http://download.ebz.epson.net/dsc/f/01/00/01/58/64/87f759442ccaa26a3be70620d1aab13e7f713d60/Epson-ALC1100-filter-1.2.tar.gz - md5sums = 59d2925146af0e5f9770d600a8dea173 + source = https://download3.ebz.epson.net/dsc/f/03/00/11/33/07/4027e99517b5c388d444b8444d719b4b77f7e9db/Epson-ALC1100-filter-1.2.tar.gz + md5sums = d3206f9a2b4d73133ab5baadad0dbe5c depends_i686 = libstdc++5 depends_i686 = ghostscript depends_i686 = psutils @@ -3,7 +3,7 @@ pkgname=epson-alc1100-filter pkgver=1.2 -pkgrel=3 +pkgrel=4 pkgdesc="Print driver for Epson ALC1100 colour laser printer" arch=('i686' 'x86_64') url="http://download.ebz.epson.net/dsc/search/01/search/?OSC=LX" @@ -12,24 +12,8 @@ depends_i686=('libstdc++5' 'ghostscript' 'psutils' 'sed' 'grep' 'gawk' 'bc') depends_x86_64=('lib32-libstdc++5' 'ghostscript' 'psutils' 'sed' 'grep' 'gawk' 'bc') makedepends=('coreutils') optdepends=('cups: printing support') -source=("http://download.ebz.epson.net/dsc/f/01/00/01/58/64/87f759442ccaa26a3be70620d1aab13e7f713d60/Epson-ALC1100-filter-${pkgver}.tar.gz") -md5sums=('59d2925146af0e5f9770d600a8dea173') - -build() { - cd $srcdir/Epson-ALC1100-filter-$pkgver - - # In January 2020, upstream broke this binary. They attempted to - # replace all occurrences of "pipsplus-bugs@avasys.jp" with - # "linux-printer@epson.jp". This doesn't work very well in a binary, - # since the strings have different lengths. We're undoing this - # change now. - # - # md5sum of working (unstripped) binary: 8c24e07a7dd3bca8b7b1e52ad6e6e76b - dd if=alc1100 of=alc1100.tmp bs=1 count=$((0x6FE04)) - printf 'pipsplus-bugs@avasys.jp' >>alc1100.tmp - dd if=alc1100 of=alc1100.tmp bs=1 skip=$((0x6FE1A)) oflag=append conv=notrunc - mv alc1100.tmp alc1100 -} +source=("https://download3.ebz.epson.net/dsc/f/03/00/11/33/07/4027e99517b5c388d444b8444d719b4b77f7e9db/Epson-ALC1100-filter-1.2.tar.gz") +md5sums=('d3206f9a2b4d73133ab5baadad0dbe5c') package() { cd $srcdir/Epson-ALC1100-filter-$pkgver |