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

Evangelos Foutras foutrelis at archlinux.org
Tue Oct 6 23:39:30 UTC 2015


    Date: Wednesday, October 7, 2015 @ 01:39:30
  Author: foutrelis
Revision: 248437

Prepare bump to latest release

Also remove insecure RPATH from usr/bin/cabal.

Modified:
  cabal-install/trunk/PKGBUILD

----------+
 PKGBUILD |   12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2015-10-06 23:21:38 UTC (rev 248436)
+++ PKGBUILD	2015-10-06 23:39:30 UTC (rev 248437)
@@ -3,16 +3,16 @@
 # Contributor: Arch Haskell Team <arch-haskell at haskell.org>
 
 pkgname=cabal-install
-pkgver=1.22.2.0
-pkgrel=2
+pkgver=1.22.6.0
+pkgrel=0
 pkgdesc="The command-line interface for Cabal and Hackage."
 url="http://hackage.haskell.org/package/cabal-install"
 license=('custom:BSD3')
 arch=('i686' 'x86_64')
-makedepends=('ghc' 'cabal-install')
-depends=('gmp' 'zlib')
+depends=('gmp' 'zlib' 'libffi')
+makedepends=('ghc' 'cabal-install' 'chrpath')
 source=("https://hackage.haskell.org/package/cabal-install-${pkgver}/cabal-install-${pkgver}.tar.gz")
-md5sums=('bad431378bec8a0005fb1a3f5a92cd1b')
+md5sums=('0463650044697ea337705ea9e29a0221')
 
 # the bootstrap script was broken on several releases
 # build with a cabal sandbox to avoid unnecessary patching & headaches
@@ -35,6 +35,8 @@
   install -m755 dist/build/cabal/cabal \
     ${pkgdir}/usr/bin
 
+  # remove insecure rpath
+  chrpath -d ${pkgdir}/usr/bin/cabal
 
   install -d ${pkgdir}/usr/share/licenses/${pkgname}
   install -m644 LICENSE \



More information about the arch-commits mailing list