blob: 5a49e213d3ef3f4b2ff2f668d6e9ed09c69a58b2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
pkgname=epson-inkjet-printer-escpr2
pkgver=1.2.34
pkgrel=1
pkgdesc="Epson Inkjet Printer Driver 2 (ESC/P-R) for Linux"
arch=('i686' 'x86_64' 'armv6h' 'armv7h')
url="https://support.epson.net/linux/Printer/LSB_distribution_pages/en/escpr2.php"
# the sources are often (delayed) also available from the EPSON driver download page: https://download.ebz.epson.net/dsc/search/01/search/?OSC=LX
license=('LGPL2' 'custom:COPYING.EPSON')
depends=('cups' 'ghostscript')
optdepends=('imagescan: scanner support')
options=('!libtool')
source=('https://download3.ebz.epson.net/dsc/f/03/00/17/17/88/53f956e8d0a0dfc9cb7d0c35907183deb028a8b7/epson-inkjet-printer-escpr2-1.2.34-1.tar.gz'
'bug_x86_64.patch')
sha256sums=('ec4a4afc423d3074d7db3f89b4c07652bb7f7bcf77730357e4300649b8c3ca3e'
'57c7a32b7deac873d7e31f043a047e5d65b8e0a47c0d0c07c76c3e3bbd60430a')
prepare() {
tar xvf "$pkgname-$pkgver-$pkgrel.tar.gz"
cd "$pkgname-$pkgver"
patch -p1 -i "${srcdir}/bug_x86_64.patch"
}
build() {
cd "$pkgname-$pkgver"
autoreconf -f -i
./configure --prefix=/usr \
--with-cupsfilterdir=/usr/lib/cups/filter \
--with-cupsppddir=/usr/share/ppd
make
}
package() {
cd "$pkgname-$pkgver"
make DESTDIR="$pkgdir" install
}
|