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

2018-04-15 Thread Baptiste Jonglez via arch-commits
Date: Sunday, April 15, 2018 @ 14:36:46
  Author: zorun
Revision: 316348

upgpkg: fig2dev 3.2.7-1

Add missing runtime dependencies, enable tests

Modified:
  fig2dev/trunk/PKGBUILD

--+
 PKGBUILD |   20 
 1 file changed, 12 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-04-15 14:12:47 UTC (rev 316347)
+++ PKGBUILD2018-04-15 14:36:46 UTC (rev 316348)
@@ -1,32 +1,36 @@
 # $Id$
-# Maintainer: Eric Bélanger 
+# Maintainer: Baptiste Jonglez 
 
 pkgname=fig2dev
-pkgver=3.2.6.a
-_upstreamver="3.2.6a"
+pkgver=3.2.7
 pkgrel=1
 pkgdesc="Format conversion utility that can be used with xfig"
 arch=('x86_64')
 url="http://mcj.sourceforge.net/;
 license=('custom')
-depends=('libpng' 'libxpm' 'bc')
+depends=('libpng' 'libxpm' 'bc' 'netpbm' 'ghostscript')
 makedepends=()
 conflicts=('transfig')
 replaces=('transfig')
 provides=('transfig')
-source=("https://downloads.sourceforge.net/mcj/${pkgname}-${_upstreamver}.tar.xz;
+source=("https://downloads.sourceforge.net/mcj/${pkgname}-${pkgver}.tar.xz;
 "LICENSE")
-sha1sums=('e09145435f3306010eb006f9d7e118fccf77cd2b'
+sha1sums=('f3cb70171a683b3a7d5190935be154bde7e81c41'
   'b8b712871615308b8b6add92f86d218437d652f2')
 
 build() {
-  cd "${pkgname}-${_upstreamver}"
+  cd "${pkgname}-${pkgver}"
   ./configure --prefix=/usr --enable-transfig
   make FIG2DEV_LIBDIR=/usr/share/fig2dev XFIGLIBDIR=/usr/share/xfig
 }
 
+check() {
+  cd "${pkgname}-${pkgver}"
+  make check
+}
+
 package() {
-  cd "${pkgname}-${_upstreamver}"
+  cd "${pkgname}-${pkgver}"
   make DESTDIR="${pkgdir}" XFIGLIBDIR=/usr/share/xfig \
 FIG2DEV_LIBDIR=/usr/share/fig2dev MANPATH=/usr/share/man \
 install


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

2018-04-11 Thread Baptiste Jonglez via arch-commits
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
===
--- PKGBUILD2018-04-11 22:20:09 UTC (rev 315824)
+++ PKGBUILD2018-04-11 22:36:20 UTC (rev 315825)
@@ -2,7 +2,8 @@
 # Maintainer: Eric Bélanger 
 
 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


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

2018-04-11 Thread Baptiste Jonglez via arch-commits
Date: Wednesday, April 11, 2018 @ 20:14:04
  Author: zorun
Revision: 315769

upgpkg: fig2dev 3.2.6a-1

Also switch download source to HTTPS

Modified:
  fig2dev/trunk/PKGBUILD

--+
 PKGBUILD |7 ---
 1 file changed, 4 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-04-11 20:12:31 UTC (rev 315768)
+++ PKGBUILD2018-04-11 20:14:04 UTC (rev 315769)
@@ -2,7 +2,7 @@
 # Maintainer: Eric Bélanger 
 
 pkgname=fig2dev
-pkgver=3.2.6
+pkgver=3.2.6a
 pkgrel=1
 pkgdesc="Format conversion utility that can be used with xfig"
 arch=('x86_64')
@@ -13,8 +13,9 @@
 conflicts=('transfig')
 replaces=('transfig')
 provides=('transfig')
-source=(http://downloads.sourceforge.net/mcj/${pkgname}-${pkgver}.tar.xz 
LICENSE)
-sha1sums=('0835c4dc9e69e923cb9e0dceacd292e261bb8137'
+source=("https://downloads.sourceforge.net/mcj/${pkgname}-${pkgver}.tar.xz;
+"LICENSE")
+sha1sums=('e09145435f3306010eb006f9d7e118fccf77cd2b'
   'b8b712871615308b8b6add92f86d218437d652f2')
 
 build() {


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

2016-09-22 Thread Antonio Rojas
Date: Thursday, September 22, 2016 @ 21:00:38
  Author: arojas
Revision: 276844

Update URL

Modified:
  fig2dev/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2016-09-22 20:59:50 UTC (rev 276843)
+++ PKGBUILD2016-09-22 21:00:38 UTC (rev 276844)
@@ -6,7 +6,7 @@
 pkgrel=1
 pkgdesc="Format conversion utility that can be used with xfig"
 arch=('i686' 'x86_64')
-url="http://www.xfig.org;
+url="http://mcj.sourceforge.net/;
 license=('custom')
 depends=('libpng' 'libxpm' 'bc')
 makedepends=()