[arch-commits] Commit in imagescan (3 files)

Antonio Rojas arojas at archlinux.org
Sat Jan 26 14:02:55 UTC 2019


    Date: Saturday, January 26, 2019 @ 14:02:54
  Author: arojas
Revision: 428106

archrelease: copy trunk to community-x86_64

Added:
  imagescan/repos/
  imagescan/repos/community-x86_64/
  imagescan/repos/community-x86_64/PKGBUILD
    (from rev 428105, imagescan/trunk/PKGBUILD)

----------+
 PKGBUILD |   46 ++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 46 insertions(+)

Copied: imagescan/repos/community-x86_64/PKGBUILD (from rev 428105, imagescan/trunk/PKGBUILD)
===================================================================
--- repos/community-x86_64/PKGBUILD	                        (rev 0)
+++ repos/community-x86_64/PKGBUILD	2019-01-26 14:02:54 UTC (rev 428106)
@@ -0,0 +1,46 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Contributor: Leonardo Santana Vieira <leosanvieira at gmail dot com>
+
+pkgname=imagescan
+pkgver=3.50.0
+pkgrel=2
+pkgdesc="EPSON Image Scan v3 front-end for scanners and all-in-ones"
+arch=(x86_64)
+url="http://download.ebz.epson.net/dsc/search/01/search/?OSC=LX"
+license=(GPL3)
+depends=(sane gtkmm graphicsmagick boost-libs)
+makedepends=(boost)
+optdepends=('tesseract: OCR support')
+source=(https://gitlab.com/utsushi/imagescan/-/archive/$pkgver/imagescan-$pkgver.tar.gz)
+sha256sums=('78cf7862b18327d498b79e7f8636bd4a563d66672405b20b2de4b87198508718')
+backup=('etc/utsushi/utsushi.conf')
+
+prepare() {
+  cd $pkgname-$pkgver
+  sed -e 's|-Werror||g' -i configure.ac
+  autoreconf -vif
+}
+
+build() {
+  cd $pkgname-$pkgver
+  ./configure \
+    --with-boost-libdir=/usr/lib/ \
+    --prefix=/usr/ \
+    --libexecdir=/usr/lib/ \
+    --sysconfdir=/etc/ \
+    --enable-sane-config \
+    --enable-udev-config \
+    --with-gtkmm \
+    --with-jpeg \
+    --with-magick \
+    --with-magick-pp \
+    --with-sane \
+    --with-tiff
+  make
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
+  install -Dm644 lib/devices.conf "$pkgdir"/etc/utsushi/utsushi.conf
+}



More information about the arch-commits mailing list