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

2011-06-22 Thread Vesa Kaihlavirta
Date: Wednesday, June 22, 2011 @ 07:53:08
  Author: vesa
Revision: 128169

new HP rel

Modified:
  haskell-cgi/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2011-06-22 11:51:02 UTC (rev 128168)
+++ PKGBUILD2011-06-22 11:53:08 UTC (rev 128169)
@@ -4,12 +4,12 @@
 _hkgname=cgi
 pkgname=haskell-cgi
 pkgver=3001.1.7.4
-pkgrel=3
+pkgrel=3.1
 pkgdesc="A library for writing CGI programs"
 url="http://hackage.haskell.org/package/${_hkgname}";
 license=('custom:BSD3')
 arch=('i686' 'x86_64')
-depends=('ghc=7.0.2-2' 'haskell-mtl=2.0.1.0-2' 'haskell-network=2.3.0.2-2' 
'haskell-parsec=3.1.1-2' 'haskell-xhtml=3000.2.0.1-7')
+depends=('ghc=7.0.3-2' 'haskell-mtl=2.0.1.0-3.1' 'haskell-network=2.3.0.2-2.1' 
'haskell-parsec=3.1.1-2.1' 'haskell-xhtml=3000.2.0.1-7.1')
 options=('strip')
 
source=(http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
 install=${pkgname}.install



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

2011-03-17 Thread Vesa Kaihlavirta
Date: Thursday, March 17, 2011 @ 07:21:02
  Author: vesa
Revision: 115196

ghc-7.0.2-2 rebuild

Modified:
  haskell-cgi/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2011-03-17 11:17:08 UTC (rev 115195)
+++ PKGBUILD2011-03-17 11:21:02 UTC (rev 115196)
@@ -4,12 +4,12 @@
 _hkgname=cgi
 pkgname=haskell-cgi
 pkgver=3001.1.7.4
-pkgrel=2.1
+pkgrel=3
 pkgdesc="A library for writing CGI programs"
 url="http://hackage.haskell.org/package/${_hkgname}";
 license=('custom:BSD3')
 arch=('i686' 'x86_64')
-depends=('ghc=7.0.2' 'haskell-mtl=2.0.1.0' 'haskell-network=2.3.0.2' 
'haskell-parsec=3.1.1' 'haskell-xhtml=3000.2.0.1')
+depends=('ghc=7.0.2-2' 'haskell-mtl=2.0.1.0-2' 'haskell-network=2.3.0.2-2' 
'haskell-parsec=3.1.1-2' 'haskell-xhtml=3000.2.0.1-7')
 options=('strip')
 
source=(http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
 install=${pkgname}.install



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

2011-03-04 Thread Rémy Oudompheng
Date: Friday, March 4, 2011 @ 16:59:33
  Author: remy
Revision: 112407

upgpkg: haskell-cgi 3001.1.7.4-2.1
Rebuild for GHC 7.0.2

Modified:
  haskell-cgi/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2011-03-04 21:56:29 UTC (rev 112406)
+++ PKGBUILD2011-03-04 21:59:33 UTC (rev 112407)
@@ -4,12 +4,12 @@
 _hkgname=cgi
 pkgname=haskell-cgi
 pkgver=3001.1.7.4
-pkgrel=2
+pkgrel=2.1
 pkgdesc="A library for writing CGI programs"
 url="http://hackage.haskell.org/package/${_hkgname}";
 license=('custom:BSD3')
 arch=('i686' 'x86_64')
-depends=('ghc=7.0.1' 'haskell-mtl=2.0.1.0' 'haskell-network=2.3.0.2' 
'haskell-parsec=3.1.1' 'haskell-xhtml=3000.2.0.1')
+depends=('ghc=7.0.2' 'haskell-mtl=2.0.1.0' 'haskell-network=2.3.0.2' 
'haskell-parsec=3.1.1' 'haskell-xhtml=3000.2.0.1')
 options=('strip')
 
source=(http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
 install=${pkgname}.install



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

2011-02-13 Thread Rémy Oudompheng
Date: Sunday, February 13, 2011 @ 18:19:15
  Author: remy
Revision: 109933

upgpkg: haskell-cgi 3001.1.7.4-2
Rebuild for HP 2011.1 updates

Modified:
  haskell-cgi/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2011-02-13 21:42:42 UTC (rev 109932)
+++ PKGBUILD2011-02-13 23:19:15 UTC (rev 109933)
@@ -4,12 +4,12 @@
 _hkgname=cgi
 pkgname=haskell-cgi
 pkgver=3001.1.7.4
-pkgrel=1
+pkgrel=2
 pkgdesc="A library for writing CGI programs"
 url="http://hackage.haskell.org/package/${_hkgname}";
 license=('custom:BSD3')
 arch=('i686' 'x86_64')
-depends=('ghc=7.0.1' 'haskell-mtl=2.0.1.0' 'haskell-network=2.3' 
'haskell-parsec=3.1.0' 'haskell-xhtml=3000.2.0.1')
+depends=('ghc=7.0.1' 'haskell-mtl=2.0.1.0' 'haskell-network=2.3.0.2' 
'haskell-parsec=3.1.1' 'haskell-xhtml=3000.2.0.1')
 options=('strip')
 
source=(http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
 install=${pkgname}.install



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

2010-12-28 Thread Rémy Oudompheng
Date: Tuesday, December 28, 2010 @ 07:35:59
  Author: remy
Revision: 104083

upgpkg: haskell-cgi 3001.1.7.4-1
Update for HP2011 alpha, install under /usr/lib/ghc-7.0.1

Modified:
  haskell-cgi/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2010-12-28 12:31:24 UTC (rev 104082)
+++ PKGBUILD2010-12-28 12:35:59 UTC (rev 104083)
@@ -3,22 +3,23 @@
 # Package generated by cabal2arch 0.7.6
 _hkgname=cgi
 pkgname=haskell-cgi
-pkgver=3001.1.7.3
-pkgrel=5
+pkgver=3001.1.7.4
+pkgrel=1
 pkgdesc="A library for writing CGI programs"
 url="http://hackage.haskell.org/package/${_hkgname}";
 license=('custom:BSD3')
 arch=('i686' 'x86_64')
-makedepends=()
-depends=('ghc=7.0.1' 'haskell-mtl=1.1.1.0' 'haskell-network' 
'haskell-parsec=2.1.0.1' 'haskell-xhtml=3000.2.0.1')
+depends=('ghc=7.0.1' 'haskell-mtl=2.0.1.0' 'haskell-network=2.3' 
'haskell-parsec=3.1.0' 'haskell-xhtml=3000.2.0.1')
 options=('strip')
 
source=(http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
 install=${pkgname}.install
-md5sums=('1a6aa04d9b41d925d35bd1df704d1dc4')
+md5sums=('0e551afc8d6f39aaa70520e31de26506')
 
 build() {
 cd ${srcdir}/${_hkgname}-${pkgver}
-runhaskell Setup configure -O -p --enable-split-objs --enable-shared 
--prefix=/usr --docdir=/usr/share/doc/${pkgname}
+runhaskell Setup configure -O -p --enable-split-objs --enable-shared \
+  --prefix=/usr --docdir=/usr/share/doc/${pkgname} \
+  --libsubdir=\$compiler/site-local/\$pkgid
 runhaskell Setup build
 runhaskell Setup haddock
 runhaskell Setup register   --gen-script



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

2010-11-27 Thread Rémy Oudompheng
Date: Saturday, November 27, 2010 @ 05:38:46
  Author: remy
Revision: 101003

upgpkg: haskell-cgi 3001.1.7.3-5
Rebuild for ghc-7.0.1

Modified:
  haskell-cgi/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2010-11-27 10:13:45 UTC (rev 101002)
+++ PKGBUILD2010-11-27 10:38:46 UTC (rev 101003)
@@ -4,13 +4,13 @@
 _hkgname=cgi
 pkgname=haskell-cgi
 pkgver=3001.1.7.3
-pkgrel=4
+pkgrel=5
 pkgdesc="A library for writing CGI programs"
 url="http://hackage.haskell.org/package/${_hkgname}";
 license=('custom:BSD3')
 arch=('i686' 'x86_64')
 makedepends=()
-depends=('ghc=6.12.3' 'haskell-mtl=1.1.0.2' 'haskell-network' 
'haskell-parsec=2.1.0.1' 'haskell-xhtml=3000.2.0.1')
+depends=('ghc=7.0.1' 'haskell-mtl=1.1.1.0' 'haskell-network' 
'haskell-parsec=2.1.0.1' 'haskell-xhtml=3000.2.0.1')
 options=('strip')
 
source=(http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
 install=${pkgname}.install



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

2010-11-22 Thread Rémy Oudompheng
Date: Monday, November 22, 2010 @ 18:19:13
  Author: remy
Revision: 100342

upgpkg: haskell-cgi 3001.1.7.3-4
Rebuild to fix dependency (FS#21792)

Modified:
  haskell-cgi/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2010-11-22 23:02:22 UTC (rev 100341)
+++ PKGBUILD2010-11-22 23:19:13 UTC (rev 100342)
@@ -4,13 +4,13 @@
 _hkgname=cgi
 pkgname=haskell-cgi
 pkgver=3001.1.7.3
-pkgrel=3
+pkgrel=4
 pkgdesc="A library for writing CGI programs"
 url="http://hackage.haskell.org/package/${_hkgname}";
 license=('custom:BSD3')
 arch=('i686' 'x86_64')
 makedepends=()
-depends=('ghc=6.12.3' 'haskell-mtl=1.1.0.2' 'haskell-network' 
'haskell-parsec=3.1.0' 'haskell-xhtml=3000.2.0.1')
+depends=('ghc=6.12.3' 'haskell-mtl=1.1.0.2' 'haskell-network' 
'haskell-parsec=2.1.0.1' 'haskell-xhtml=3000.2.0.1')
 options=('strip')
 
source=(http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
 install=${pkgname}.install



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

2010-10-30 Thread Rémy Oudompheng
Date: Saturday, October 30, 2010 @ 05:12:27
  Author: remy
Revision: 97423

upgpkg: haskell-cgi 3001.1.7.3-3
Rebuild for haskell-parsec update.

Modified:
  haskell-cgi/trunk/PKGBUILD
  haskell-cgi/trunk/haskell-cgi.install

-+
 PKGBUILD|   22 +-
 haskell-cgi.install |3 +--
 2 files changed, 10 insertions(+), 15 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2010-10-30 09:11:46 UTC (rev 97422)
+++ PKGBUILD2010-10-30 09:12:27 UTC (rev 97423)
@@ -1,41 +1,37 @@
 # Maintainer: Rémy Oudompheng 
 # Contributor: Arch Haskell Team 
 # Package generated by cabal2arch 0.7.6
-# Note: we list all package dependencies.
-# Your package tool should understand 'provides' syntax
-#
-# Keep up to date on http://archhaskell.wordpress.com/
-#
 _hkgname=cgi
 pkgname=haskell-cgi
 pkgver=3001.1.7.3
-pkgrel=2
+pkgrel=3
 pkgdesc="A library for writing CGI programs"
-url="http://hackage.haskell.org/package/cgi";
+url="http://hackage.haskell.org/package/${_hkgname}";
 license=('custom:BSD3')
 arch=('i686' 'x86_64')
 makedepends=()
-depends=('ghc=6.12.3' 'haskell-mtl=1.1.0.2' 'haskell-network' 
'haskell-parsec=2.1.0.1' 'haskell-xhtml=3000.2.0.1')
+depends=('ghc=6.12.3' 'haskell-mtl=1.1.0.2' 'haskell-network' 
'haskell-parsec=3.1.0' 'haskell-xhtml=3000.2.0.1')
 options=('strip')
-source=(http://hackage.haskell.org/packages/archive/cgi/${pkgver}/cgi-${pkgver}.tar.gz)
+source=(http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
 install=${pkgname}.install
 md5sums=('1a6aa04d9b41d925d35bd1df704d1dc4')
 
 build() {
-cd ${srcdir}/cgi-${pkgver}
-runhaskell Setup configure -p --enable-split-objs --enable-shared 
--prefix=/usr --docdir=/usr/share/doc/${pkgname}
+cd ${srcdir}/${_hkgname}-${pkgver}
+runhaskell Setup configure -O -p --enable-split-objs --enable-shared 
--prefix=/usr --docdir=/usr/share/doc/${pkgname}
 runhaskell Setup build
 runhaskell Setup haddock
 runhaskell Setup register   --gen-script
 runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
 }
 
 package() {
-cd ${srcdir}/cgi-${pkgver}
+cd ${srcdir}/${_hkgname}-${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/cgi
+ln -s /usr/share/doc/${pkgname}/html 
${pkgdir}/usr/share/doc/ghc/html/libraries/${_hkgname}
 runhaskell Setup copy --destdir=${pkgdir}
 install -D -m644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
 rm -f ${pkgdir}/usr/share/doc/${pkgname}/LICENSE

Modified: haskell-cgi.install
===
--- haskell-cgi.install 2010-10-30 09:11:46 UTC (rev 97422)
+++ haskell-cgi.install 2010-10-30 09:12:27 UTC (rev 97423)
@@ -4,8 +4,7 @@
   (cd /usr/share/doc/ghc/html/libraries; ./gen_contents_index)
 }
 pre_upgrade() {
-  ${HS_DIR}/unregister.sh &> /dev/null
-  exit 0
+  ${HS_DIR}/unregister.sh
 }
 post_upgrade() {
   ${HS_DIR}/register.sh



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

2010-10-22 Thread Rémy Oudompheng
Date: Friday, October 22, 2010 @ 07:11:40
  Author: remy
Revision: 96568

upgpkg: haskell-cgi 3001.1.7.3-2
Rebuild with correct sources.

Modified:
  haskell-cgi/trunk/PKGBUILD
  haskell-cgi/trunk/haskell-cgi.install

-+
 PKGBUILD|   23 +++
 haskell-cgi.install |3 ++-
 2 files changed, 17 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2010-10-22 11:05:22 UTC (rev 96567)
+++ PKGBUILD2010-10-22 11:11:40 UTC (rev 96568)
@@ -1,29 +1,37 @@
+# Maintainer: Rémy Oudompheng 
 # Contributor: Arch Haskell Team 
-# Package generated by cabal2arch 0.7.1
+# Package generated by cabal2arch 0.7.6
 # Note: we list all package dependencies.
 # Your package tool should understand 'provides' syntax
 #
 # Keep up to date on http://archhaskell.wordpress.com/
 #
+_hkgname=cgi
 pkgname=haskell-cgi
-pkgrel=1
 pkgver=3001.1.7.3
+pkgrel=2
 pkgdesc="A library for writing CGI programs"
 url="http://hackage.haskell.org/package/cgi";
 license=('custom:BSD3')
 arch=('i686' 'x86_64')
 makedepends=()
-depends=('ghc=6.12.3' 'haskell-mtl=1.1.0.2' 'haskell-network' 
'haskell-old-locale' 'haskell-old-time' 'haskell-parsec=2.1.0.1' 
'haskell-xhtml=3000.2.0.1')
+depends=('ghc=6.12.3' 'haskell-mtl=1.1.0.2' 'haskell-network' 
'haskell-parsec=2.1.0.1' 'haskell-xhtml=3000.2.0.1')
 options=('strip')
-source=(http://hackage.haskell.org/packages/archive/cgi/3001.1.7.2/cgi-3001.1.7.2.tar.gz)
-install=haskell-cgi.install
+source=(http://hackage.haskell.org/packages/archive/cgi/${pkgver}/cgi-${pkgver}.tar.gz)
+install=${pkgname}.install
+md5sums=('1a6aa04d9b41d925d35bd1df704d1dc4')
+
 build() {
-cd ${srcdir}/cgi-3001.1.7.2
-runhaskell Setup configure --prefix=/usr --docdir=/usr/share/doc/${pkgname}
+cd ${srcdir}/cgi-${pkgver}
+runhaskell Setup configure -p --enable-split-objs --enable-shared 
--prefix=/usr --docdir=/usr/share/doc/${pkgname}
 runhaskell Setup build
 runhaskell Setup haddock
 runhaskell Setup register   --gen-script
 runhaskell Setup unregister --gen-script
+}
+
+package() {
+cd ${srcdir}/cgi-${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
@@ -32,4 +40,3 @@
 install -D -m644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
 rm -f ${pkgdir}/usr/share/doc/${pkgname}/LICENSE
 }
-md5sums=('8f6a72d74561520d6ad9fb19b126c7e4')

Modified: haskell-cgi.install
===
--- haskell-cgi.install 2010-10-22 11:05:22 UTC (rev 96567)
+++ haskell-cgi.install 2010-10-22 11:11:40 UTC (rev 96568)
@@ -4,7 +4,8 @@
   (cd /usr/share/doc/ghc/html/libraries; ./gen_contents_index)
 }
 pre_upgrade() {
-  ${HS_DIR}/unregister.sh
+  ${HS_DIR}/unregister.sh &> /dev/null
+  exit 0
 }
 post_upgrade() {
   ${HS_DIR}/register.sh



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

2010-08-24 Thread Vesa Kaihlavirta
Date: Tuesday, August 24, 2010 @ 03:33:06
  Author: vesa
Revision: 88513

6.12.3 rebuild

Modified:
  haskell-cgi/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2010-08-24 07:30:56 UTC (rev 88512)
+++ PKGBUILD2010-08-24 07:33:06 UTC (rev 88513)
@@ -7,17 +7,16 @@
 #
 pkgname=haskell-cgi
 pkgrel=1
-pkgver=3001.1.7.2
+pkgver=3001.1.7.3
 pkgdesc="A library for writing CGI programs"
 url="http://hackage.haskell.org/package/cgi";
 license=('custom:BSD3')
 arch=('i686' 'x86_64')
 makedepends=()
-depends=('ghc' 'haskell-cabal' 'haskell-containers' 'haskell-mtl>=1.0' 
'haskell-network>=2.0' 'haskell-old-locale' 'haskell-old-time' 
'haskell-parsec>=2.0' 'haskell-xhtml>=3000.0.0')
+depends=('ghc=6.12.3' 'haskell-mtl=1.1.0.2' 'haskell-network' 
'haskell-old-locale' 'haskell-old-time' 'haskell-parsec=2.1.0.1' 
'haskell-xhtml=3000.2.0.1')
 options=('strip')
 
source=(http://hackage.haskell.org/packages/archive/cgi/3001.1.7.2/cgi-3001.1.7.2.tar.gz)
 install=haskell-cgi.install
-md5sums=('8f6a72d74561520d6ad9fb19b126c7e4')
 build() {
 cd ${srcdir}/cgi-3001.1.7.2
 runhaskell Setup configure --prefix=/usr 
--docdir=/usr/share/doc/${pkgname} || return 1
@@ -33,3 +32,4 @@
 install -D -m644 LICENSE ${pkgdir}/usr/share/licenses/$pkgname/LICENSE || 
return 1
 rm -f ${pkgdir}/usr/share/doc/${pkgname}/LICENSE
 }
+md5sums=('8f6a72d74561520d6ad9fb19b126c7e4')