[arch-commits] Commit in imagescan/trunk (PKGBUILD)

Antonio Rojas arojas at archlinux.org
Tue Mar 19 15:35:31 UTC 2019


    Date: Tuesday, March 19, 2019 @ 15:35:30
  Author: arojas
Revision: 442713

Update to 3.54.0

Modified:
  imagescan/trunk/PKGBUILD

----------+
 PKGBUILD |   15 ++++++++-------
 1 file changed, 8 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-03-19 15:32:18 UTC (rev 442712)
+++ PKGBUILD	2019-03-19 15:35:30 UTC (rev 442713)
@@ -2,8 +2,9 @@
 # Contributor: Leonardo Santana Vieira <leosanvieira at gmail dot com>
 
 pkgname=imagescan
-pkgver=3.50.0
-pkgrel=2
+pkgver=3.54.0
+_utsushiver=${pkgver/3./0.}
+pkgrel=1
 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"
@@ -11,18 +12,18 @@
 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')
+source=(https://support.epson.net/linux/src/scanner/imagescanv3/common/imagescan_$pkgver.orig.tar.gz)
+sha256sums=('129b766b80ea2577a75d4f99d4fa7320c107e567f8ef22b29beb7b36798db1be')
 backup=('etc/utsushi/utsushi.conf')
 
 prepare() {
-  cd $pkgname-$pkgver
+  cd utsushi-$_utsushiver
   sed -e 's|-Werror||g' -i configure.ac
   autoreconf -vif
 }
 
 build() {
-  cd $pkgname-$pkgver
+  cd utsushi-$_utsushiver
   ./configure \
     --with-boost-libdir=/usr/lib/ \
     --prefix=/usr/ \
@@ -40,7 +41,7 @@
 }
 
 package() {
-  cd $pkgname-$pkgver
+  cd utsushi-$_utsushiver
   make DESTDIR="$pkgdir" install
   install -Dm644 lib/devices.conf "$pkgdir"/etc/utsushi/utsushi.conf
 }



More information about the arch-commits mailing list