aboutsummaryrefslogtreecommitdiffstats
path: root/community/epson-inkjet-printer-escpr/APKBUILD
blob: 9fdba8ce763b1c1c71a36591159dc1714ccdc662 (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.18
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/43/81/cbdd80826424935cef20d16be8ee5851388977a7/epson-inkjet-printer-escpr-$pkgver-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="
120d1a9415e85032016b1c045e569f4f4864bf464b7106a2ab5fe37681ff696bdf80c791a304b166e21f27eb9c64aab2efabdf821d5529d4b37557e1dbbe8761  epson-inkjet-printer-escpr-1.7.18.tar.gz
"