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

Baptiste Jonglez zorun at archlinux.org
Wed May 27 08:17:21 UTC 2020


    Date: Wednesday, May 27, 2020 @ 08:17:19
  Author: zorun
Revision: 635658

upgpkg: fig2dev 3.2.7.b-1

Fix version number

Modified:
  fig2dev/trunk/PKGBUILD

----------+
 PKGBUILD |   11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-05-27 08:14:03 UTC (rev 635657)
+++ PKGBUILD	2020-05-27 08:17:19 UTC (rev 635658)
@@ -1,7 +1,8 @@
 # Maintainer: Baptiste Jonglez <archlinux at bitsofnetworks dot org>
 
 pkgname=fig2dev
-pkgver=3.2.7b
+pkgver=3.2.7.b
+_upstreamver=3.2.7b
 pkgrel=1
 pkgdesc="Format conversion utility that can be used with xfig"
 arch=('x86_64')
@@ -12,24 +13,24 @@
 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=('8097c178b7fff1023112250938cc87837c0f564e'
           'b8b712871615308b8b6add92f86d218437d652f2')
 
 build() {
-  cd "${pkgname}-${pkgver}"
+  cd "${pkgname}-${_upstreamver}"
   ./configure --prefix=/usr --enable-transfig
   make FIG2DEV_LIBDIR=/usr/share/fig2dev XFIGLIBDIR=/usr/share/xfig
 }
 
 check() {
-  cd "${pkgname}-${pkgver}"
+  cd "${pkgname}-${_upstreamver}"
   make check
 }
 
 package() {
-  cd "${pkgname}-${pkgver}"
+  cd "${pkgname}-${_upstreamver}"
   make DESTDIR="${pkgdir}" XFIGLIBDIR=/usr/share/xfig \
     FIG2DEV_LIBDIR=/usr/share/fig2dev MANPATH=/usr/share/man \
     install


More information about the arch-commits mailing list