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

Fabio Castelli muflone at archlinux.org
Sun Dec 4 23:09:17 UTC 2016


    Date: Sunday, December 4, 2016 @ 23:09:17
  Author: muflone
Revision: 197885

upgpkg: iscan-data 1.37.0.3-1

Modified:
  iscan-data/trunk/PKGBUILD

----------+
 PKGBUILD |    9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-12-04 23:00:59 UTC (rev 197884)
+++ PKGBUILD	2016-12-04 23:09:17 UTC (rev 197885)
@@ -6,8 +6,7 @@
 # Contributor: mutlu_inek <mutlu_inek at yahoo.de>
 
 pkgname=iscan-data
-pkgver=1.37.0
-_pkgsubver=3
+pkgver=1.37.0.3
 pkgrel=1
 pkgdesc="EPSON Image Scan! data files"
 arch=('any')
@@ -14,17 +13,17 @@
 url="http://download.ebz.epson.net/dsc/search/01/search/?OSC=LX"
 license=('GPL2')
 depends=('libxslt')
-source=("http://support.epson.net/linux/src/scanner/iscan/${pkgname}_${pkgver}-${_pkgsubver}.tar.gz")
+source=("http://support.epson.net/linux/src/scanner/iscan/${pkgname}_${pkgver%.*}-${pkgver/*.}.tar.gz")
 sha256sums=('e57088ad0bf9ab55ca633ae3c0a3a07ef403c07bc90e66bee7c4cbe04b4f5710')
 
 build() {
-  cd "${pkgname}-${pkgver}"
+  cd "${pkgname}-${pkgver%.*}"
   ./configure --prefix=/usr
   make
 }
 
 package() {
-  cd "${pkgname}-${pkgver}"
+  cd "${pkgname}-${pkgver%.*}"
 
   # install files
   make DESTDIR="${pkgdir}" install



More information about the arch-commits mailing list