Date: Wednesday, April 11, 2018 @ 22:36:20
  Author: zorun
Revision: 315825

upgpkg: fig2dev 3.2.6.a-1

Modified:
  fig2dev/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2018-04-11 22:20:09 UTC (rev 315824)
+++ PKGBUILD    2018-04-11 22:36:20 UTC (rev 315825)
@@ -2,7 +2,8 @@
 # Maintainer: Eric BĂ©langer <e...@archlinux.org>
 
 pkgname=fig2dev
-pkgver=3.2.6a
+pkgver=3.2.6.a
+_upstreamver="3.2.6a"
 pkgrel=1
 pkgdesc="Format conversion utility that can be used with xfig"
 arch=('x86_64')
@@ -13,19 +14,19 @@
 conflicts=('transfig')
 replaces=('transfig')
 provides=('transfig')
-source=("https://downloads.sourceforge.net/mcj/${pkgname}-${pkgver}.tar.xz";
+source=("https://downloads.sourceforge.net/mcj/${pkgname}-${_upstreamver}.tar.xz";
         "LICENSE")
 sha1sums=('e09145435f3306010eb006f9d7e118fccf77cd2b'
           'b8b712871615308b8b6add92f86d218437d652f2')
 
 build() {
-  cd ${pkgname}-${pkgver}
+  cd "${pkgname}-${_upstreamver}"
   ./configure --prefix=/usr --enable-transfig
   make FIG2DEV_LIBDIR=/usr/share/fig2dev XFIGLIBDIR=/usr/share/xfig
 }
 
 package() {
-  cd ${pkgname}-${pkgver}
+  cd "${pkgname}-${_upstreamver}"
   make DESTDIR="${pkgdir}" XFIGLIBDIR=/usr/share/xfig \
     FIG2DEV_LIBDIR=/usr/share/fig2dev MANPATH=/usr/share/man \
     install

Reply via email to