diff options
author | Peter Hofmann | 2020-07-02 21:44:55 +0200 |
---|---|---|
committer | Peter Hofmann | 2020-07-02 21:47:32 +0200 |
commit | d7ce4181f1c174ecf5e78f2d0b941052928971b4 (patch) | |
tree | 5f0aba80c181cc6959a682795bd4648c202a1666 /PKGBUILD | |
parent | 551f178f6fe09e2b48f334f517ac41a10b27265e (diff) | |
download | aur-d7ce4181f1c174ecf5e78f2d0b941052928971b4.tar.gz |
Update upstream URL and remove binary patch
They now ship the previous binary again. The checksum of the tarball
doesn't match the older working one, though, because they have kept
their new e-mail address in *some* places.
Printing a test page works for me.
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 22 |
1 files changed, 3 insertions, 19 deletions
@@ -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 |