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

Felix Yan felixonmars at archlinux.org
Sun Jul 30 09:44:36 UTC 2017


    Date: Sunday, July 30, 2017 @ 09:44:35
  Author: felixonmars
Revision: 246944

upgpkg: haskell-profunctors 5.2.1-1

rebuild with profunctors,5.2.1

Modified:
  haskell-profunctors/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-07-30 09:37:26 UTC (rev 246943)
+++ PKGBUILD	2017-07-30 09:44:35 UTC (rev 246944)
@@ -4,27 +4,23 @@
 
 _hkgname=profunctors
 pkgname=haskell-profunctors
-pkgver=5.2
-pkgrel=29
+pkgver=5.2.1
+pkgrel=1
 pkgdesc="Profunctors"
 url="http://github.com/ekmett/profunctors/"
 license=("custom:BSD3")
 arch=('i686' 'x86_64')
-depends=("ghc" "haskell-base-orphans" "haskell-bifunctors" "haskell-comonad" "haskell-contravariant"
+depends=('ghc' "haskell-base-orphans" "haskell-bifunctors" "haskell-comonad" "haskell-contravariant"
          "haskell-distributive" "haskell-tagged")
 source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
-sha256sums=('87a7e25c4745ea8ff479dd1212ec2e57710abb3d3dd30f948fa16be1d3ee05a4')
+sha512sums=('6c23d6d4382ea77cc183fb6ad670da8f5933665bc005310a7f94b5727e28ce4e9f68fb1fe2f8d94c3fb8ca3e8fa6fe687755c91f04be4a2c55aec6efe4ddaf25')
 
-prepare() {
-    sed -i 's/base-orphans        >= 0.4   && < 0.6,/base-orphans        >= 0.4   \&\& < 0.7,/' ${_hkgname}-${pkgver}/${_hkgname}.cabal
-}
-
 build() {
     cd "${srcdir}/${_hkgname}-${pkgver}"
     
     runhaskell Setup configure -O --enable-shared --enable-executable-dynamic \
         --prefix=/usr --docdir="/usr/share/doc/${pkgname}" \
-        --libsubdir=\$compiler/site-local/\$pkgid
+        --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
     runhaskell Setup build
     runhaskell Setup haddock --hoogle --html
     runhaskell Setup register --gen-script



More information about the arch-commits mailing list