summaryrefslogtreecommitdiff
path: root/pcr
diff options
context:
space:
mode:
authorAndreas Grapentin <andreas@grapentin.org>2018-01-25 16:53:21 +0100
committerAndreas Grapentin <andreas@grapentin.org>2018-01-25 16:53:21 +0100
commitadbe706d4cc9853757b496486453ff0cbb73ae1c (patch)
tree9589a106b553cbf79137433fa81927281c92f440 /pcr
parentb3a9c7913e11b22d91dca63dc01d5c779bea0f87 (diff)
downloadabslibre-adbe706d4cc9853757b496486453ff0cbb73ae1c.tar.gz
abslibre-adbe706d4cc9853757b496486453ff0cbb73ae1c.tar.bz2
abslibre-adbe706d4cc9853757b496486453ff0cbb73ae1c.zip
pcr/espcr: added
Diffstat (limited to 'pcr')
-rw-r--r--pcr/espcr/PKGBUILD31
-rw-r--r--pcr/espcr/escpr.install8
2 files changed, 39 insertions, 0 deletions
diff --git a/pcr/espcr/PKGBUILD b/pcr/espcr/PKGBUILD
new file mode 100644
index 000000000..d21b05ab9
--- /dev/null
+++ b/pcr/espcr/PKGBUILD
@@ -0,0 +1,31 @@
+# Contributor: GNUtoo <GNUtoo@no-log.org>
+
+pkgname=escpr
+pkgbase=epson-inkjet-printer-escpr
+pkgver=1.6.11
+pkgrel=1
+pkgdesc="Epson Inkjet Printer Driver (ESC/P-R) for Linux"
+url="http://download.ebz.epson.net/dsc/search/01/search/?OSC=LX"
+arch=('armv7h' 'i686' 'x86_64')
+license=('GPL2')
+install='escpr.install'
+depends=('cups')
+source=("http://http.debian.net/debian/pool/main/e/${pkgbase}/${pkgbase}_${pkgver}.orig.tar.gz")
+sha512sums=('7383caff9e44fa4e2abbfe7dab754200ff9fb915a4482c84441bef073aeb1d3d874fcea79538ae54182c52fae696ac637d30ae57af4e80d153bd27cfedf23481')
+sha256sums=('367f2503b533ffacae9b9f529f629daaf9f4f8068615ae3d77cb5a4e13bbe39d')
+
+prepare(){
+ cd ${pkgbase}-${pkgver}
+ autoreconf -vfi
+}
+
+build() {
+ cd ${pkgbase}-${pkgver}
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd ${pkgbase}-${pkgver}
+ make DESTDIR=${pkgdir} install
+}
diff --git a/pcr/espcr/escpr.install b/pcr/espcr/escpr.install
new file mode 100644
index 000000000..92b144ce1
--- /dev/null
+++ b/pcr/espcr/escpr.install
@@ -0,0 +1,8 @@
+post_install() {
+ echo ">>Please restart the CUPS daemon to take the printer definitions into account"
+}
+
+post_upgrade() {
+ post_install
+}
+