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

Fabio Castelli muflone at archlinux.org
Sun Dec 4 23:24:29 UTC 2016


    Date: Sunday, December 4, 2016 @ 23:24:28
  Author: muflone
Revision: 197891

upgpkg: iscan 2.30.3.1-1

Modified:
  iscan/trunk/PKGBUILD

----------+
 PKGBUILD |   13 ++++++-------
 1 file changed, 6 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-12-04 23:14:26 UTC (rev 197890)
+++ PKGBUILD	2016-12-04 23:24:28 UTC (rev 197891)
@@ -5,9 +5,8 @@
 # Contributor: Alessio Sergi <asergi at archlinux dot us>
 
 pkgname=iscan
-pkgver=2.30.2
+pkgver=2.30.3.1
 pkgrel=1
-_pkgrev=2
 pkgdesc="EPSON Image Scan! front-end for scanners and all-in-ones"
 arch=('i686' 'x86_64')
 url="http://download.ebz.epson.net/dsc/search/01/search/?OSC=LX"
@@ -15,11 +14,11 @@
 depends=('gtk2' 'sane' 'libstdc++5')
 makedepends=('gettext' 'gimp')
 optdepends=('iscan-data: Image Scan! data files required for some devices')
-source=("http://support.epson.net/linux/src/scanner/iscan/${pkgname}_${pkgver}-${_pkgrev}.tar.gz"
+source=("http://support.epson.net/linux/src/scanner/iscan/${pkgname}_${pkgver%.*}-${pkgver/*.}.tar.gz"
         "libpng15.patch"
         "jpegstream.cc.patch"
         "epkowa.conf")
-sha256sums=('ca2322a527ab41c8207b060ee54fc3782cba84c444bcf6b9c8ee32f7cda007d9'
+sha256sums=('91a6cc1571e5ec34cee067eabb35f13838e71dfeda416310ecb5b5030d49de67'
             '1a75b8df945a813a297dfd6e3dabae3bc8b51898f23af31640091e31b901f0ba'
             '44990a5264e530a7a8ad1f95524e5d70e4f0f9009c53c8ea593cedf8d861a669'
             '8e9e90fa50f1bd476b13766b19f100470c41dd253dc0605fbb1d0ac346a0beff')
@@ -27,7 +26,7 @@
 backup=("etc/sane.d/epkowa.conf")
 
 prepare() {
-  cd "${pkgname}-${pkgver}"
+  cd "${pkgname}-${pkgver%.*}"
   # patch for building iscan against libpng15 by giovanni
   patch -Np0 -i "../libpng15.patch"
   # patch for ambiguous div in jpegstream.cc
@@ -37,7 +36,7 @@
 }
 
 build() {
-  cd "${pkgname}-${pkgver}"
+  cd "${pkgname}-${pkgver%.*}"
   export LDFLAGS="${LDFLAGS} -ldl -lpng16"
   ./configure --prefix=/usr \
               --sbindir=/usr/bin \
@@ -51,7 +50,7 @@
 }
 
 package() {
-  cd "${pkgname}-${pkgver}"
+  cd "${pkgname}-${pkgver%.*}"
 
   # install files
   make DESTDIR="${pkgdir}" install



More information about the arch-commits mailing list