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

Baptiste Jonglez zorun at archlinux.org
Sun Apr 15 14:36:47 UTC 2018


    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
===================================================================
--- PKGBUILD	2018-04-15 14:12:47 UTC (rev 316347)
+++ PKGBUILD	2018-04-15 14:36:46 UTC (rev 316348)
@@ -1,32 +1,36 @@
 # $Id$
-# Maintainer: Eric Bélanger <eric at archlinux.org>
+# Maintainer: Baptiste Jonglez <archlinux at bitsofnetworks dot org>
 
 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



More information about the arch-commits mailing list