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

2018-05-14 Thread Felix Yan via arch-commits
Date: Monday, May 14, 2018 @ 09:14:01
  Author: felixonmars
Revision: 321886

upgpkg: cabal-helper 0.8.0.2-7

rebuild with unix-compat,0.5.0.1

Modified:
  cabal-helper/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-05-14 09:12:47 UTC (rev 321885)
+++ PKGBUILD2018-05-14 09:14:01 UTC (rev 321886)
@@ -4,7 +4,7 @@
 
 pkgname=cabal-helper
 pkgver=0.8.0.2
-pkgrel=6
+pkgrel=7
 pkgdesc="Simple interface to some of Cabals configuration state used by 
ghc-mod"
 url="https://hackage.haskell.org/package/${pkgname};
 license=("AGPL3")


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

2018-04-25 Thread Felix Yan via arch-commits
Date: Wednesday, April 25, 2018 @ 19:17:57
  Author: felixonmars
Revision: 318044

upgpkg: cabal-helper 0.8.0.2-6

rebuild with StateVar,1.1.1.0

Modified:
  cabal-helper/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-04-25 19:16:47 UTC (rev 318043)
+++ PKGBUILD2018-04-25 19:17:57 UTC (rev 318044)
@@ -4,7 +4,7 @@
 
 pkgname=cabal-helper
 pkgver=0.8.0.2
-pkgrel=5
+pkgrel=6
 pkgdesc="Simple interface to some of Cabals configuration state used by 
ghc-mod"
 url="https://hackage.haskell.org/package/${pkgname};
 license=("AGPL3")


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

2018-03-25 Thread Felix Yan via arch-commits
Date: Sunday, March 25, 2018 @ 08:13:32
  Author: felixonmars
Revision: 312323

upgpkg: cabal-helper 0.8.0.2-5

rebuild with hspec,2.5.0 hspec-core,2.5.0 hspec-discover,2.5.0 
hspec-contrib,0.5.0 hspec-smallcheck,0.5.1

Modified:
  cabal-helper/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-03-25 08:12:25 UTC (rev 312322)
+++ PKGBUILD2018-03-25 08:13:32 UTC (rev 312323)
@@ -4,7 +4,7 @@
 
 pkgname=cabal-helper
 pkgver=0.8.0.2
-pkgrel=4
+pkgrel=5
 pkgdesc="Simple interface to some of Cabals configuration state used by 
ghc-mod"
 url="https://hackage.haskell.org/package/${pkgname};
 license=("AGPL3")


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

2018-03-13 Thread Felix Yan via arch-commits
Date: Tuesday, March 13, 2018 @ 11:58:24
  Author: felixonmars
Revision: 307120

upgpkg: cabal-helper 0.8.0.2-4

rebuild with ChasingBottoms,1.3.1.4

Modified:
  cabal-helper/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-03-13 11:57:21 UTC (rev 307119)
+++ PKGBUILD2018-03-13 11:58:24 UTC (rev 307120)
@@ -4,7 +4,7 @@
 
 pkgname=cabal-helper
 pkgver=0.8.0.2
-pkgrel=3
+pkgrel=4
 pkgdesc="Simple interface to some of Cabals configuration state used by 
ghc-mod"
 url="https://hackage.haskell.org/package/${pkgname};
 license=("AGPL3")


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

2018-03-08 Thread Felix Yan via arch-commits
Date: Thursday, March 8, 2018 @ 12:57:31
  Author: felixonmars
Revision: 304757

upgpkg: cabal-helper 0.8.0.2-3

rebuild with hashable,1.2.7.0

Modified:
  cabal-helper/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-03-08 12:56:25 UTC (rev 304756)
+++ PKGBUILD2018-03-08 12:57:31 UTC (rev 304757)
@@ -4,7 +4,7 @@
 
 pkgname=cabal-helper
 pkgver=0.8.0.2
-pkgrel=2
+pkgrel=3
 pkgdesc="Simple interface to some of Cabals configuration state used by 
ghc-mod"
 url="https://hackage.haskell.org/package/${pkgname};
 license=("AGPL3")


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

2018-02-27 Thread Felix Yan via arch-commits
Date: Tuesday, February 27, 2018 @ 20:24:23
  Author: felixonmars
Revision: 299455

upgpkg: cabal-helper 0.8.0.2-2

rebuild with mtl,2.2.2

Modified:
  cabal-helper/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-02-27 20:23:10 UTC (rev 299454)
+++ PKGBUILD2018-02-27 20:24:23 UTC (rev 299455)
@@ -4,7 +4,7 @@
 
 pkgname=cabal-helper
 pkgver=0.8.0.2
-pkgrel=1
+pkgrel=2
 pkgdesc="Simple interface to some of Cabals configuration state used by 
ghc-mod"
 url="https://hackage.haskell.org/package/${pkgname};
 license=("AGPL3")


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

2018-02-18 Thread Felix Yan via arch-commits
Date: Sunday, February 18, 2018 @ 09:35:27
  Author: felixonmars
Revision: 296215

upgpkg: cabal-helper 0.8.0.2-1

rebuild with cabal-helper,0.8.0.2

Modified:
  cabal-helper/trunk/PKGBUILD

--+
 PKGBUILD |   31 +++
 1 file changed, 15 insertions(+), 16 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-02-18 05:56:18 UTC (rev 296214)
+++ PKGBUILD2018-02-18 09:35:27 UTC (rev 296215)
@@ -3,31 +3,25 @@
 # Contributor: Arch Haskell Team 
 
 pkgname=cabal-helper
-pkgver=0.7.3.0
-pkgrel=9
+pkgver=0.8.0.2
+pkgrel=1
 pkgdesc="Simple interface to some of Cabals configuration state used by 
ghc-mod"
 url="https://hackage.haskell.org/package/${pkgname};
 license=("AGPL3")
 arch=('x86_64')
-depends=('ghc-libs' "haskell-mtl" "haskell-temporary" "haskell-utf8-string")
+depends=('ghc-libs' 'haskell-exceptions' 'haskell-mtl' 'haskell-semigroupoids' 
'haskell-temporary'
+ 'haskell-unix-compat' 'haskell-utf8-string')
+makedepends=('ghc' 'haskell-ghc' 'haskell-ghc-paths')
 conflicts=('haskell-cabal-helper')
 replaces=('haskell-cabal-helper')
-makedepends=('ghc')
-source=('https://github.com/achirkin/cabal-helper/archive/68ceff5916f515e3026a3f40aa44570e47d50a0c.tar.gz')
-#source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;
-sha512sums=('bd900c8e3183ecd991a17dbb61bdc200f1ebebcfbc3374cbba4c534a829e042ad65251c7a77a492cd819764c85229e0210ae11c2597b2b7e9b5d40dcd5caa870')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('d922422b2749be12fce97cc403e4aab812c9586f35bce89a08aefa2516fc58fc78a88df98355ec7be9140e24f0bf3cb230ac43ce484a60d90754d46c5e2d42ba')
 
-prepare() {
-mv $pkgname-68ceff5916f515e3026a3f40aa44570e47d50a0c $pkgname-$pkgver
-sed -i 's/import Distribution.Version/import Distribution.Version hiding 
(showVersion)/' $pkgname-$pkgver/CabalHelper/{Sandbox.hs,Compile.hs,Wrapper.hs}
-sed -i 's/, process.*/, process/' $pkgname-$pkgver/$pkgname.cabal
-}
-
 build() {
-cd "${srcdir}/${pkgname}-${pkgver}"
+cd $pkgname-$pkgver
 
 runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
---prefix=/usr --docdir="/usr/share/doc/${pkgname}" 
--libexecdir="/usr/lib" \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" 
--libexecdir="/usr/lib" --enable-tests \
 --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
 -f-dev
 runhaskell Setup build
@@ -37,8 +31,13 @@
 sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
 }
 
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test || warning "Tests failed"
+}
+
 package() {
-cd "${srcdir}/${pkgname}-${pkgver}"
+cd $pkgname-$pkgver
 
 install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
 install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"


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

2018-02-05 Thread Felix Yan via arch-commits
Date: Monday, February 5, 2018 @ 16:27:39
  Author: felixonmars
Revision: 289240

upgpkg: cabal-helper 0.7.3.0-9

rebuild with stm,2.4.5.0

Modified:
  cabal-helper/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-02-05 16:26:51 UTC (rev 289239)
+++ PKGBUILD2018-02-05 16:27:39 UTC (rev 289240)
@@ -4,7 +4,7 @@
 
 pkgname=cabal-helper
 pkgver=0.7.3.0
-pkgrel=8
+pkgrel=9
 pkgdesc="Simple interface to some of Cabals configuration state used by 
ghc-mod"
 url="https://hackage.haskell.org/package/${pkgname};
 license=("AGPL3")


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

2017-11-27 Thread Felix Yan via arch-commits
Date: Monday, November 27, 2017 @ 11:51:08
  Author: felixonmars
Revision: 269730

upgpkg: cabal-helper 0.7.3.0-8

rebuild with ghc 8.2.2

Modified:
  cabal-helper/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2017-11-27 11:50:23 UTC (rev 269729)
+++ PKGBUILD2017-11-27 11:51:08 UTC (rev 269730)
@@ -4,7 +4,7 @@
 
 pkgname=cabal-helper
 pkgver=0.7.3.0
-pkgrel=7
+pkgrel=8
 pkgdesc="Simple interface to some of Cabals configuration state used by 
ghc-mod"
 url="https://hackage.haskell.org/package/${pkgname};
 license=("AGPL3")


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

2017-09-24 Thread Felix Yan
Date: Sunday, September 24, 2017 @ 08:39:58
  Author: felixonmars
Revision: 260387

upgpkg: cabal-helper 0.7.3.0-7

Modified:
  cabal-helper/trunk/PKGBUILD

--+
 PKGBUILD |9 +++--
 1 file changed, 3 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2017-09-24 08:39:12 UTC (rev 260386)
+++ PKGBUILD2017-09-24 08:39:58 UTC (rev 260387)
@@ -4,7 +4,7 @@
 
 pkgname=cabal-helper
 pkgver=0.7.3.0
-pkgrel=6
+pkgrel=7
 pkgdesc="Simple interface to some of Cabals configuration state used by 
ghc-mod"
 url="https://hackage.haskell.org/package/${pkgname};
 license=("AGPL3")
@@ -15,7 +15,7 @@
 makedepends=('ghc')
 
source=('https://github.com/achirkin/cabal-helper/archive/68ceff5916f515e3026a3f40aa44570e47d50a0c.tar.gz')
 
#source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;
-sha256sums=('de0023c7e47be3030986a2b0e40bc5693096f2dd9a60de40c2111a29b66b0956')
+sha512sums=('bd900c8e3183ecd991a17dbb61bdc200f1ebebcfbc3374cbba4c534a829e042ad65251c7a77a492cd819764c85229e0210ae11c2597b2b7e9b5d40dcd5caa870')
 
 prepare() {
 mv $pkgname-68ceff5916f515e3026a3f40aa44570e47d50a0c $pkgname-$pkgver
@@ -26,7 +26,7 @@
 build() {
 cd "${srcdir}/${pkgname}-${pkgver}"
 
-runhaskell Setup configure -O --enable-shared --enable-executable-dynamic \
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
 --prefix=/usr --docdir="/usr/share/doc/${pkgname}" 
--libexecdir="/usr/lib" \
 --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
 -f-dev
@@ -44,7 +44,4 @@
 install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
 runhaskell Setup copy --destdir="${pkgdir}"
 rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
-
-# Remove static libs
-find "$pkgdir"/usr/lib -name "*.a" -delete
 }


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

2017-08-15 Thread Felix Yan
Date: Tuesday, August 15, 2017 @ 21:02:58
  Author: felixonmars
Revision: 251191

upgpkg: cabal-helper 0.7.3.0-6

GHC 8.2.1 rebuild

Modified:
  cabal-helper/trunk/PKGBUILD

--+
 PKGBUILD |   21 +
 1 file changed, 13 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2017-08-15 18:19:00 UTC (rev 251190)
+++ PKGBUILD2017-08-15 21:02:58 UTC (rev 251191)
@@ -4,26 +4,33 @@
 
 pkgname=cabal-helper
 pkgver=0.7.3.0
-pkgrel=5
+pkgrel=6
 pkgdesc="Simple interface to some of Cabals configuration state used by 
ghc-mod"
 url="https://hackage.haskell.org/package/${pkgname};
 license=("AGPL3")
 arch=('i686' 'x86_64')
-depends=('ghc' "haskell-mtl" "haskell-temporary" "haskell-utf8-string")
+depends=('ghc-libs' "haskell-mtl" "haskell-temporary" "haskell-utf8-string")
 conflicts=('haskell-cabal-helper')
 replaces=('haskell-cabal-helper')
-source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
-sha256sums=('794055f5205dd029aceb2fe9aac183880d2b4ef005d1096ee3052710d01192a4')
+makedepends=('ghc')
+source=('https://github.com/achirkin/cabal-helper/archive/68ceff5916f515e3026a3f40aa44570e47d50a0c.tar.gz')
+#source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;
+sha256sums=('de0023c7e47be3030986a2b0e40bc5693096f2dd9a60de40c2111a29b66b0956')
 
+prepare() {
+mv $pkgname-68ceff5916f515e3026a3f40aa44570e47d50a0c $pkgname-$pkgver
+sed -i 's/import Distribution.Version/import Distribution.Version hiding 
(showVersion)/' $pkgname-$pkgver/CabalHelper/{Sandbox.hs,Compile.hs,Wrapper.hs}
+sed -i 's/, process.*/, process/' $pkgname-$pkgver/$pkgname.cabal
+}
+
 build() {
 cd "${srcdir}/${pkgname}-${pkgver}"
-
+
 runhaskell Setup configure -O --enable-shared --enable-executable-dynamic \
 --prefix=/usr --docdir="/usr/share/doc/${pkgname}" 
--libexecdir="/usr/lib" \
 --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
 -f-dev
 runhaskell Setup build
-runhaskell Setup haddock --hoogle --html
 runhaskell Setup register --gen-script
 runhaskell Setup unregister --gen-script
 sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
@@ -35,8 +42,6 @@
 
 install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
 install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
-install -d -m755 "${pkgdir}/usr/share/doc/ghc/html/libraries"
-ln -s "/usr/share/doc/${pkgname}/html" 
"${pkgdir}/usr/share/doc/ghc/html/libraries/${pkgname}"
 runhaskell Setup copy --destdir="${pkgdir}"
 rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
 


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

2017-07-26 Thread Felix Yan
Date: Wednesday, July 26, 2017 @ 14:49:29
  Author: felixonmars
Revision: 246429

upgpkg: cabal-helper 0.7.3.0-5

rebuild with temporary,1.2.1.1

Modified:
  cabal-helper/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2017-07-26 14:47:29 UTC (rev 246428)
+++ PKGBUILD2017-07-26 14:49:29 UTC (rev 246429)
@@ -4,12 +4,12 @@
 
 pkgname=cabal-helper
 pkgver=0.7.3.0
-pkgrel=4
+pkgrel=5
 pkgdesc="Simple interface to some of Cabals configuration state used by 
ghc-mod"
 url="https://hackage.haskell.org/package/${pkgname};
 license=("AGPL3")
 arch=('i686' 'x86_64')
-depends=("ghc" "haskell-mtl" "haskell-temporary" "haskell-utf8-string")
+depends=('ghc' "haskell-mtl" "haskell-temporary" "haskell-utf8-string")
 conflicts=('haskell-cabal-helper')
 replaces=('haskell-cabal-helper')
 
source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
@@ -20,7 +20,7 @@
 
 runhaskell Setup configure -O --enable-shared --enable-executable-dynamic \
 --prefix=/usr --docdir="/usr/share/doc/${pkgname}" 
--libexecdir="/usr/lib" \
---libsubdir=\$compiler/site-local/\$pkgid \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
 -f-dev
 runhaskell Setup build
 runhaskell Setup haddock --hoogle --html


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

2017-06-16 Thread Felix Yan
Date: Friday, June 16, 2017 @ 10:16:16
  Author: felixonmars
Revision: 237609

upgpkg: cabal-helper 0.7.3.0-4

add conflicts and replaces

Modified:
  cabal-helper/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2017-06-16 10:16:04 UTC (rev 237608)
+++ PKGBUILD2017-06-16 10:16:16 UTC (rev 237609)
@@ -4,12 +4,14 @@
 
 pkgname=cabal-helper
 pkgver=0.7.3.0
-pkgrel=3
+pkgrel=4
 pkgdesc="Simple interface to some of Cabals configuration state used by 
ghc-mod"
 url="https://hackage.haskell.org/package/${pkgname};
 license=("AGPL3")
 arch=('i686' 'x86_64')
 depends=("ghc" "haskell-mtl" "haskell-temporary" "haskell-utf8-string")
+conflicts=('haskell-cabal-helper')
+replaces=('haskell-cabal-helper')
 
source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
 sha256sums=('794055f5205dd029aceb2fe9aac183880d2b4ef005d1096ee3052710d01192a4')
 


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

2017-06-16 Thread Felix Yan
Date: Friday, June 16, 2017 @ 09:51:53
  Author: felixonmars
Revision: 237597

upgpkg: cabal-helper 0.7.3.0-3

rebuild with ghc,8.0.2

Modified:
  cabal-helper/trunk/PKGBUILD

--+
 PKGBUILD |   37 ++---
 1 file changed, 14 insertions(+), 23 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2017-06-16 09:48:13 UTC (rev 237596)
+++ PKGBUILD2017-06-16 09:51:53 UTC (rev 237597)
@@ -2,23 +2,22 @@
 # Maintainer: Felix Yan 
 # Contributor: Arch Haskell Team 
 
-pkgbase=cabal-helper
-pkgname=(cabal-helper haskell-cabal-helper)
+pkgname=cabal-helper
 pkgver=0.7.3.0
-pkgrel=2
+pkgrel=3
 pkgdesc="Simple interface to some of Cabals configuration state used by 
ghc-mod"
-url="https://hackage.haskell.org/package/${pkgbase};
+url="https://hackage.haskell.org/package/${pkgname};
 license=("AGPL3")
 arch=('i686' 'x86_64')
-makedepends=("ghc=8.0.1" "haskell-mtl" "haskell-temporary" 
"haskell-utf8-string")
-source=("https://hackage.haskell.org/packages/archive/${pkgbase}/${pkgver}/${pkgbase}-${pkgver}.tar.gz;)
+depends=("ghc" "haskell-mtl" "haskell-temporary" "haskell-utf8-string")
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
 sha256sums=('794055f5205dd029aceb2fe9aac183880d2b4ef005d1096ee3052710d01192a4')
 
 build() {
-cd "${srcdir}/${pkgbase}-${pkgver}"
+cd "${srcdir}/${pkgname}-${pkgver}"
 
-runhaskell Setup configure -O --enable-library-profiling --enable-shared \
---prefix=/usr --docdir="/usr/share/doc/${pkgbase}" 
--libexecdir="/usr/lib" \
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" 
--libexecdir="/usr/lib" \
 --libsubdir=\$compiler/site-local/\$pkgid \
 -f-dev
 runhaskell Setup build
@@ -29,24 +28,16 @@
 sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
 }
 
-package_cabal-helper() {
-depends=('gmp' 'libffi')
+package() {
+cd "${srcdir}/${pkgname}-${pkgver}"
 
-cd "${srcdir}/${pkgbase}-${pkgver}"
-runhaskell Setup copy --destdir="${pkgdir}"
-rm -r "$pkgdir"/usr/{lib/ghc-*,share}
-}
-
-package_haskell-cabal-helper() {
-pkgdesc="Simple interface to some of Cabal's configuration state used by 
ghc-mod (docs and libraries)"
-depends=("${makedepends[@]}" 'cabal-helper')
-cd "${srcdir}/${pkgbase}-${pkgver}"
-
 install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
 install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
 install -d -m755 "${pkgdir}/usr/share/doc/ghc/html/libraries"
-ln -s "/usr/share/doc/${pkgbase}/html" 
"${pkgdir}/usr/share/doc/ghc/html/libraries/${pkgbase}"
+ln -s "/usr/share/doc/${pkgname}/html" 
"${pkgdir}/usr/share/doc/ghc/html/libraries/${pkgname}"
 runhaskell Setup copy --destdir="${pkgdir}"
 rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
-rm 
"$pkgdir"/usr/lib/*-linux-ghc-*/cabal-helper-$pkgver/cabal-helper-wrapper
+
+# Remove static libs
+find "$pkgdir"/usr/lib -name "*.a" -delete
 }


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

2017-06-11 Thread Felix Yan
Date: Monday, June 12, 2017 @ 04:38:32
  Author: felixonmars
Revision: 236248

upgpkg: cabal-helper 0.7.3.0-2

rebuild with temporary,1.2.1

Modified:
  cabal-helper/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2017-06-12 04:36:59 UTC (rev 236247)
+++ PKGBUILD2017-06-12 04:38:32 UTC (rev 236248)
@@ -5,7 +5,7 @@
 pkgbase=cabal-helper
 pkgname=(cabal-helper haskell-cabal-helper)
 pkgver=0.7.3.0
-pkgrel=1
+pkgrel=2
 pkgdesc="Simple interface to some of Cabals configuration state used by 
ghc-mod"
 url="https://hackage.haskell.org/package/${pkgbase};
 license=("AGPL3")


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

2017-01-25 Thread Felix Yan
Date: Wednesday, January 25, 2017 @ 08:30:50
  Author: felixonmars
Revision: 208990

upgpkg: cabal-helper 0.7.3.0-1

rebuild with cabal-helper,0.7.3.0

Modified:
  cabal-helper/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2017-01-25 08:22:01 UTC (rev 208989)
+++ PKGBUILD2017-01-25 08:30:50 UTC (rev 208990)
@@ -4,15 +4,15 @@
 
 pkgbase=cabal-helper
 pkgname=(cabal-helper haskell-cabal-helper)
-pkgver=0.7.2.0
+pkgver=0.7.3.0
 pkgrel=1
 pkgdesc="Simple interface to some of Cabals configuration state used by 
ghc-mod"
-url="http://hackage.haskell.org/package/${pkgbase};
+url="https://hackage.haskell.org/package/${pkgbase};
 license=("AGPL3")
 arch=('i686' 'x86_64')
 makedepends=("ghc=8.0.1" "haskell-mtl" "haskell-temporary" 
"haskell-utf8-string")
-source=("http://hackage.haskell.org/packages/archive/${pkgbase}/${pkgver}/${pkgbase}-${pkgver}.tar.gz;)
-sha256sums=('90572b1e4aeb780464f7d5f2f88c4f59ebb4539fe303f0b86d42ef3b9078a362')
+source=("https://hackage.haskell.org/packages/archive/${pkgbase}/${pkgver}/${pkgbase}-${pkgver}.tar.gz;)
+sha256sums=('794055f5205dd029aceb2fe9aac183880d2b4ef005d1096ee3052710d01192a4')
 
 build() {
 cd "${srcdir}/${pkgbase}-${pkgver}"
@@ -48,5 +48,5 @@
 ln -s "/usr/share/doc/${pkgbase}/html" 
"${pkgdir}/usr/share/doc/ghc/html/libraries/${pkgbase}"
 runhaskell Setup copy --destdir="${pkgdir}"
 rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
-rm "$pkgdir/usr/lib/cabal-helper-wrapper-v0.7"
+rm 
"$pkgdir"/usr/lib/*-linux-ghc-*/cabal-helper-$pkgver/cabal-helper-wrapper
 }


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

2016-08-06 Thread Felix Yan
Date: Saturday, August 6, 2016 @ 06:26:14
  Author: felixonmars
Revision: 185465

upgpkg: cabal-helper 0.7.2.0-1

rebuild with cabal-helper-0.7.2.0, dlist-0.8.0.1, ghc-mod-5.6.0.0, 
haskell-src-exts-1.18.2, idris-0.12.2, language-python-0.5.4, 
microlens-0.4.6.0, network-2.6.3.1, shakespeare-2.0.11, 
stylish-haskell-0.6.2.0, wai-app-static-3.1.6, wai-websockets-3.0.1, warp-3.2.8

Modified:
  cabal-helper/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2016-08-06 06:16:03 UTC (rev 185464)
+++ PKGBUILD2016-08-06 06:26:14 UTC (rev 185465)
@@ -4,8 +4,8 @@
 
 pkgbase=cabal-helper
 pkgname=(cabal-helper haskell-cabal-helper)
-pkgver=0.7.1.0
-pkgrel=4
+pkgver=0.7.2.0
+pkgrel=1
 pkgdesc="Simple interface to some of Cabals configuration state used by 
ghc-mod"
 url="http://hackage.haskell.org/package/${pkgbase};
 license=("AGPL3")
@@ -12,7 +12,7 @@
 arch=('i686' 'x86_64')
 makedepends=("ghc=8.0.1" "haskell-mtl" "haskell-temporary" 
"haskell-utf8-string")
 
source=("http://hackage.haskell.org/packages/archive/${pkgbase}/${pkgver}/${pkgbase}-${pkgver}.tar.gz;)
-sha256sums=('7c78b875b5f246b8422b641923d2ffe593bf65ce9e99373e19ef8372df8db66f')
+sha256sums=('90572b1e4aeb780464f7d5f2f88c4f59ebb4539fe303f0b86d42ef3b9078a362')
 
 build() {
 cd "${srcdir}/${pkgbase}-${pkgver}"


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

2016-07-24 Thread Felix Yan
Date: Sunday, July 24, 2016 @ 15:57:08
  Author: felixonmars
Revision: 183920

upgpkg: cabal-helper 0.7.1.0-4

rebuild with case-insensitive-1.2.0.7, cereal-0.5.3.0, exceptions-0.8.3, 
extra-1.5, language-javascript-0.6.0.8, lifted-base-0.2.3.8

Modified:
  cabal-helper/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2016-07-24 15:52:39 UTC (rev 183919)
+++ PKGBUILD2016-07-24 15:57:08 UTC (rev 183920)
@@ -5,7 +5,7 @@
 pkgbase=cabal-helper
 pkgname=(cabal-helper haskell-cabal-helper)
 pkgver=0.7.1.0
-pkgrel=3
+pkgrel=4
 pkgdesc="Simple interface to some of Cabals configuration state used by 
ghc-mod"
 url="http://hackage.haskell.org/package/${pkgbase};
 license=("AGPL3")


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

2016-05-25 Thread Felix Yan
Date: Wednesday, May 25, 2016 @ 16:09:34
  Author: fyan
Revision: 176914

upgpkg: cabal-helper 0.7.1.0-3

rebuild with ghc-8.0.1, base-prelude-1.0.1.1, cabal-install-1.24.0.0, 
cairo-0.13.2.0, cmark-0.5.2.1, data-default-0.7.0, data-default-class-0.1.0, 
extra-1.4.7, generic-trie-0.3.0.2, glib-0.13.3.0, gtk3-0.14.3, 
haddock-api-2.17.2, haddock-library-1.4.1, js-jquery-1.12.4, memory-0.13, 
microlens-0.4.4.0, network-multicast-0.1.1, pango-0.13.2.0, 
simple-sendfile-0.2.24, stack-1.1.2, texmath-0.8.6.3, wai-3.2.1.1

Modified:
  cabal-helper/trunk/PKGBUILD
Deleted:
  cabal-helper/trunk/haskell-cabal-helper.install

--+
 PKGBUILD |   13 ++---
 haskell-cabal-helper.install |   18 --
 2 files changed, 6 insertions(+), 25 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2016-05-25 14:09:23 UTC (rev 176913)
+++ PKGBUILD2016-05-25 14:09:34 UTC (rev 176914)
@@ -5,13 +5,12 @@
 pkgbase=cabal-helper
 pkgname=(cabal-helper haskell-cabal-helper)
 pkgver=0.7.1.0
-pkgrel=2
+pkgrel=3
 pkgdesc="Simple interface to some of Cabals configuration state used by 
ghc-mod"
 url="http://hackage.haskell.org/package/${pkgbase};
 license=("AGPL3")
 arch=('i686' 'x86_64')
-makedepends=("ghc=7.10.3" "haskell-mtl" "haskell-temporary" 
"haskell-utf8-string")
-options=('staticlibs')
+makedepends=("ghc=8.0.1" "haskell-mtl" "haskell-temporary" 
"haskell-utf8-string")
 
source=("http://hackage.haskell.org/packages/archive/${pkgbase}/${pkgver}/${pkgbase}-${pkgver}.tar.gz;)
 sha256sums=('7c78b875b5f246b8422b641923d2ffe593bf65ce9e99373e19ef8372df8db66f')
 
@@ -26,6 +25,7 @@
 runhaskell Setup haddock --hoogle --html
 runhaskell Setup register --gen-script
 runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
 sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
 }
 
@@ -40,11 +40,10 @@
 package_haskell-cabal-helper() {
 pkgdesc="Simple interface to some of Cabal's configuration state used by 
ghc-mod (docs and libraries)"
 depends=("${makedepends[@]}" 'cabal-helper')
-install="haskell-cabal-helper.install"
 cd "${srcdir}/${pkgbase}-${pkgver}"
-
-install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/${pkgname}/register.sh"
-install-m744 unregister.sh 
"${pkgdir}/usr/share/haskell/${pkgname}/unregister.sh"
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
 install -d -m755 "${pkgdir}/usr/share/doc/ghc/html/libraries"
 ln -s "/usr/share/doc/${pkgbase}/html" 
"${pkgdir}/usr/share/doc/ghc/html/libraries/${pkgbase}"
 runhaskell Setup copy --destdir="${pkgdir}"

Deleted: haskell-cabal-helper.install
===
--- haskell-cabal-helper.install2016-05-25 14:09:23 UTC (rev 176913)
+++ haskell-cabal-helper.install2016-05-25 14:09:34 UTC (rev 176914)
@@ -1,18 +0,0 @@
-HS_DIR=usr/share/haskell/haskell-cabal-helper
-post_install() {
-  ${HS_DIR}/register.sh
-  (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
-}
-pre_upgrade() {
-  ${HS_DIR}/unregister.sh
-}
-post_upgrade() {
-  ${HS_DIR}/register.sh
-  (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
-}
-pre_remove() {
-  ${HS_DIR}/unregister.sh
-}
-post_remove() {
-  (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
-}


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

2016-05-19 Thread Felix Yan
Date: Friday, May 20, 2016 @ 07:45:35
  Author: fyan
Revision: 175783

upgpkg: cabal-helper 0.7.1.0-2

Fix the renamed executable

Modified:
  cabal-helper/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2016-05-20 05:43:56 UTC (rev 175782)
+++ PKGBUILD2016-05-20 05:45:35 UTC (rev 175783)
@@ -5,7 +5,7 @@
 pkgbase=cabal-helper
 pkgname=(cabal-helper haskell-cabal-helper)
 pkgver=0.7.1.0
-pkgrel=1
+pkgrel=2
 pkgdesc="Simple interface to some of Cabals configuration state used by 
ghc-mod"
 url="http://hackage.haskell.org/package/${pkgbase};
 license=("AGPL3")
@@ -49,5 +49,5 @@
 ln -s "/usr/share/doc/${pkgbase}/html" 
"${pkgdir}/usr/share/doc/ghc/html/libraries/${pkgbase}"
 runhaskell Setup copy --destdir="${pkgdir}"
 rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
-rm -f "$pkgdir/usr/lib/cabal-helper-wrapper"
+rm "$pkgdir/usr/lib/cabal-helper-wrapper-v0.7"
 }


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

2016-05-19 Thread Felix Yan
Date: Thursday, May 19, 2016 @ 17:42:12
  Author: fyan
Revision: 175716

upgpkg: cabal-helper 0.7.1.0-1

rebuild with MissingH-1.3.0.2, ShellCheck-0.4.4, cabal-helper-0.7.1.0, 
cryptohash-sha256-0.11.100.0, graphviz-2999.18.1.0, hakyll-4.8.3.1, 
idris-0.11.2, monad-journal-0.7.2, pandoc-crossref-0.2.1.3, 
simple-sendfile-0.2.22

Modified:
  cabal-helper/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2016-05-19 15:41:57 UTC (rev 175715)
+++ PKGBUILD2016-05-19 15:42:12 UTC (rev 175716)
@@ -4,7 +4,7 @@
 
 pkgbase=cabal-helper
 pkgname=(cabal-helper haskell-cabal-helper)
-pkgver=0.7.0.1
+pkgver=0.7.1.0
 pkgrel=1
 pkgdesc="Simple interface to some of Cabals configuration state used by 
ghc-mod"
 url="http://hackage.haskell.org/package/${pkgbase};
@@ -13,7 +13,7 @@
 makedepends=("ghc=7.10.3" "haskell-mtl" "haskell-temporary" 
"haskell-utf8-string")
 options=('staticlibs')
 
source=("http://hackage.haskell.org/packages/archive/${pkgbase}/${pkgver}/${pkgbase}-${pkgver}.tar.gz;)
-sha256sums=('4c158f81ad325a0b2bfd5bfec149851f59837fd73775c8b4da0050bdeca0182d')
+sha256sums=('7c78b875b5f246b8422b641923d2ffe593bf65ce9e99373e19ef8372df8db66f')
 
 build() {
 cd "${srcdir}/${pkgbase}-${pkgver}"


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

2016-05-12 Thread Felix Yan
Date: Thursday, May 12, 2016 @ 17:25:53
  Author: fyan
Revision: 175041

upgpkg: cabal-helper 0.7.0.1-1

rebuild with cabal-helper-0.7.0.1, cryptohash-sha256-0.11.7.2, either-4.4.1.1, 
extra-1.4.6, math-functions-0.1.7.0, git-annex-6.20160511, 
streaming-commons-0.1.15.5, tls-1.3.8, xml-conduit-1.3.5

Modified:
  cabal-helper/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2016-05-12 15:25:45 UTC (rev 175040)
+++ PKGBUILD2016-05-12 15:25:53 UTC (rev 175041)
@@ -4,8 +4,8 @@
 
 pkgbase=cabal-helper
 pkgname=(cabal-helper haskell-cabal-helper)
-pkgver=0.6.3.1
-pkgrel=3
+pkgver=0.7.0.1
+pkgrel=1
 pkgdesc="Simple interface to some of Cabals configuration state used by 
ghc-mod"
 url="http://hackage.haskell.org/package/${pkgbase};
 license=("AGPL3")
@@ -13,7 +13,7 @@
 makedepends=("ghc=7.10.3" "haskell-mtl" "haskell-temporary" 
"haskell-utf8-string")
 options=('staticlibs')
 
source=("http://hackage.haskell.org/packages/archive/${pkgbase}/${pkgver}/${pkgbase}-${pkgver}.tar.gz;)
-sha256sums=('c19a9a87c54f6649e0f8cbb3a070244bff9fcc5b9ae783c00c049867fb1a7afe')
+sha256sums=('4c158f81ad325a0b2bfd5bfec149851f59837fd73775c8b4da0050bdeca0182d')
 
 build() {
 cd "${srcdir}/${pkgbase}-${pkgver}"
@@ -20,7 +20,8 @@
 
 runhaskell Setup configure -O --enable-library-profiling --enable-shared \
 --prefix=/usr --docdir="/usr/share/doc/${pkgbase}" 
--libexecdir="/usr/lib" \
---libsubdir=\$compiler/site-local/\$pkgid
+--libsubdir=\$compiler/site-local/\$pkgid \
+-f-dev
 runhaskell Setup build
 runhaskell Setup haddock --hoogle --html
 runhaskell Setup register --gen-script


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

2016-01-20 Thread Felix Yan
Date: Wednesday, January 20, 2016 @ 17:32:37
  Author: fyan
Revision: 158319

upgpkg: cabal-helper 0.6.3.1-2

split cabal-helper-wrapper to a separate package, to be dependency of ghc-mod

Modified:
  cabal-helper/trunk/PKGBUILD

--+
 PKGBUILD |   37 -
 1 file changed, 24 insertions(+), 13 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2016-01-20 16:17:06 UTC (rev 158318)
+++ PKGBUILD2016-01-20 16:32:37 UTC (rev 158319)
@@ -2,25 +2,24 @@
 # Maintainer: Felix Yan 
 # Contributor: Arch Haskell Team 
 
-_hkgname=cabal-helper
-pkgname=haskell-cabal-helper
+pkgbase=cabal-helper
+pkgname=(cabal-helper haskell-cabal-helper)
 pkgver=0.6.3.1
-pkgrel=1
-pkgdesc="Simple interface to some of Cabal\'s configuration state used by 
ghc-mod"
-url="http://hackage.haskell.org/package/${_hkgname};
+pkgrel=2
+pkgdesc="Simple interface to some of Cabals configuration state used by 
ghc-mod"
+url="http://hackage.haskell.org/package/${pkgbase};
 license=("AGPL3")
 arch=('i686' 'x86_64')
-depends=("ghc=7.10.3" "haskell-mtl" "haskell-temporary" "haskell-utf8-string")
+makedepends=("ghc=7.10.3" "haskell-mtl" "haskell-temporary" 
"haskell-utf8-string")
 options=('staticlibs')
-source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
-install="${pkgname}.install"
+source=("http://hackage.haskell.org/packages/archive/${pkgbase}/${pkgver}/${pkgbase}-${pkgver}.tar.gz;)
 sha256sums=('c19a9a87c54f6649e0f8cbb3a070244bff9fcc5b9ae783c00c049867fb1a7afe')
 
 build() {
-cd "${srcdir}/${_hkgname}-${pkgver}"
+cd "${srcdir}/${pkgbase}-${pkgver}"
 
 runhaskell Setup configure -O --enable-library-profiling --enable-shared \
---prefix=/usr --docdir="/usr/share/doc/${pkgname}" 
--libexecdir="/usr/lib" \
+--prefix=/usr --docdir="/usr/share/doc/${pkgbase}" 
--libexecdir="/usr/lib" \
 --libsubdir=\$compiler/site-local/\$pkgid
 runhaskell Setup build
 runhaskell Setup haddock --hoogle --html
@@ -29,13 +28,25 @@
 sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
 }
 
-package() {
-cd "${srcdir}/${_hkgname}-${pkgver}"
+package_cabal-helper() {
+depends=('gmp' 'libffi')
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/{lib/ghc-*,share}
+}
+
+package_haskell-cabal-helper() {
+pkgdesc="Simple interface to some of Cabal's configuration state used by 
ghc-mod (docs and libraries)"
+depends=("${makedepends[@]}" 'cabal-helper')
+install="haskell-cabal-helper.install"
+cd "${srcdir}/${pkgbase}-${pkgver}"
 
 install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/${pkgname}/register.sh"
 install-m744 unregister.sh 
"${pkgdir}/usr/share/haskell/${pkgname}/unregister.sh"
 install -d -m755 "${pkgdir}/usr/share/doc/ghc/html/libraries"
-ln -s "/usr/share/doc/${pkgname}/html" 
"${pkgdir}/usr/share/doc/ghc/html/libraries/${_hkgname}"
+ln -s "/usr/share/doc/${pkgbase}/html" 
"${pkgdir}/usr/share/doc/ghc/html/libraries/${pkgbase}"
 runhaskell Setup copy --destdir="${pkgdir}"
 rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+rm -f "$pkgdir/usr/lib/cabal-helper-wrapper"
 }