summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMathias Rohnstock2017-11-24 20:58:55 +0100
committerMathias Rohnstock2017-11-24 20:58:55 +0100
commit0b9431dc39f9e524ecb2d092197c31b463f712e6 (patch)
tree14e91c62f4e7de5850d2bed7321a622391a2bf4a
downloadaur-0b9431dc39f9e524ecb2d092197c31b463f712e6.tar.gz
init
-rw-r--r--.SRCINFO16
-rw-r--r--PKGBUILD53
2 files changed, 69 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..ded5fae4d3c
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,16 @@
+pkgbase = epson-inkjet-printer-l805
+ pkgdesc = Epson printer driver (L805)
+ pkgver = 1.0.0
+ pkgrel = 1
+ url = http://download.ebz.epson.net/dsc/search/01/search/?OSC=LX
+ arch = i686
+ arch = x86_64
+ license = LGPL
+ license = custom:Epson Licence Agreement
+ depends = cups
+ depends = ghostscript
+ source = https://download3.ebz.epson.net/dsc/f/03/00/05/30/95/61e3ce77e3c2fcdbea81efde2fa6dfb93446686b/epson-inkjet-printer-l805-1.0.0-1lsb3.2.src.rpm
+ sha512sums = d24d1d53532320900e35d518311c17c7ae4fb891594b52e66ef4646dae957affeb2d29ba95b654c69d335b6a534e194d397a38a5b2af2ed36bbdaa64e7de9fd1
+
+pkgname = epson-inkjet-printer-l805
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..4bca88fd7b7
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,53 @@
+# Contributor: linksoft at gmx dot de
+
+pkgname=epson-inkjet-printer-l805
+_pkgname_filter=epson-inkjet-printer-filter
+_suffix=1lsb3.2.src.rpm
+pkgver=1.0.0
+pkgrel=1
+pkgdesc="Epson printer driver (L805)"
+arch=('i686' 'x86_64')
+url="http://download.ebz.epson.net/dsc/search/01/search/?OSC=LX"
+license=('LGPL' 'custom:Epson Licence Agreement')
+depends=('cups' 'ghostscript')
+#makedepends=('libtool' 'make' 'automake' 'autoconf')
+source=(https://download3.ebz.epson.net/dsc/f/03/00/05/30/95/61e3ce77e3c2fcdbea81efde2fa6dfb93446686b/${pkgname}-${pkgver}-${_suffix})
+sha512sums=('d24d1d53532320900e35d518311c17c7ae4fb891594b52e66ef4646dae957affeb2d29ba95b654c69d335b6a534e194d397a38a5b2af2ed36bbdaa64e7de9fd1')
+
+build() {
+ cd "$srcdir"
+ tar xzf $pkgname-$pkgver.tar.gz
+ FILTER_FILE=`ls $_pkgname_filter*.tar.gz`
+ tar xzf $FILTER_FILE
+
+ cd "${FILTER_FILE%.tar.gz}"
+ aclocal
+ libtoolize
+ chmod +x configure
+ # if you have runtime problems: add "--enable-debug" and look into /tmp/epson-inkjet-printer-filter.txt
+ ./configure LDFLAGS="$LDFLAGS -Wl,--no-as-needed" --prefix=/opt/$pkgname
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ install -d "$pkgdir/opt/$pkgname/"
+ if [ "$CARCH" = "x86_64" ]; then
+ cp -a --no-preserve=mode lib64 "$pkgdir/opt/$pkgname/"
+ else
+ cp -a --no-preserve=mode lib "$pkgdir/opt/$pkgname/"
+ fi
+ cp -a --no-preserve=mode resource "$pkgdir/opt/$pkgname/"
+
+ if [ -e "watermark" ]; then
+ cp -a --no-preserve=mode watermark "$pkgdir/opt/$pkgname/"
+ fi
+ install -d "$pkgdir/usr/share/cups/model/$pkgname"
+ install -m 644 ppds/* "$pkgdir/usr/share/cups/model/$pkgname"
+
+ cd "$srcdir"
+ FILTER_FILE=`ls $_pkgname_filter*.tar.gz`
+ cd "${FILTER_FILE%.tar.gz}"
+ install -d "$pkgdir/opt/$pkgname/cups/lib/filter/"
+ install -m 755 src/epson_inkjet_printer_filter "$pkgdir/opt/$pkgname/cups/lib/filter/epson_inkjet_printer_filter"
+}