aboutsummaryrefslogtreecommitdiffstats
path: root/community/epson-inkjet-printer-escpr/APKBUILD
blob: 4144e65bc23c52fee24b78118c54753e8d889145 (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
# Contributor: Justin Berthault <justin.berthault@zaclys.net>
# Maintainer: Justin Berthault <justin.berthault@zaclys.net>
pkgname=epson-inkjet-printer-escpr
pkgver=1.7.21
pkgrel=0
pkgdesc="Epson Inkjet Printer Driver (ESC/P-R) for Linux"
url="https://download.ebz.epson.net/dsc/search/01/search/?OSC=LX"
arch="all"
license="GPL-2.0-or-later"
depends="cups-filters"
makedepends="cups-dev"
source="$pkgname-$pkgver.tar.gz::https://download3.ebz.epson.net/dsc/f/03/00/13/77/93/e85dc2dc266e96fdc242bd95758bd88d1a51963e/epson-inkjet-printer-escpr-1.7.21-1lsb3.2.tar.gz"
options="!check" # no test suite provided

prepare() {
	default_prepare

	update_config_guess
}

build() {
	./configure \
		--disable-static \
		--prefix=/usr \
		--with-cupsfilterdir=/usr/lib/cups/filter \
		--with-cupsppddir=/usr/share/ppd
	make
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="
de3212d1dfcf9dfcffd6af920a9eb40266563820b7ef9ce2b9a6ccea51f5199871731db5617af7fd2bc6b5942b399d4228350f19f89d90443774155b47d122ac  epson-inkjet-printer-escpr-1.7.21.tar.gz
"