[arch-commits] Commit in ghc/trunk (ghc.install)

2015-04-03 Thread Thomas Dziedzic
Date: Saturday, April 4, 2015 @ 07:16:12
  Author: td123
Revision: 235425

remove ghc-pkg command from post_upgrade since it is useless at that point

Modified:
  ghc/trunk/ghc.install

-+
 ghc.install |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: ghc.install
===
--- ghc.install 2015-04-04 03:28:06 UTC (rev 235424)
+++ ghc.install 2015-04-04 05:16:12 UTC (rev 235425)
@@ -6,5 +6,5 @@
 
 post_upgrade() {
   echo '== All cabalized packages need to be reinstalled now.'
-  echo '== See /usr/share/haskell/ and ghc-pkg list --user for a tentative 
list of affected packages.'
+  echo '== See /usr/share/haskell/ for a tentative list of affected packages.'
 }


[arch-commits] Commit in ghc/trunk (PKGBUILD build.mk print-provides-replaces.sh)

2015-03-30 Thread Thomas Dziedzic
Date: Monday, March 30, 2015 @ 09:30:38
  Author: td123
Revision: 235272

upgpkg: ghc 7.10.1-1

bump

Modified:
  ghc/trunk/PKGBUILD
  ghc/trunk/build.mk
  ghc/trunk/print-provides-replaces.sh

+
 PKGBUILD   |   78 +--
 build.mk   |  222 ---
 print-provides-replaces.sh |   13 +-
 3 files changed, 207 insertions(+), 106 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2015-03-30 01:46:12 UTC (rev 235271)
+++ PKGBUILD2015-03-30 07:30:38 UTC (rev 235272)
@@ -10,7 +10,7 @@
 # grep -r ghc /var/abs/ | awk -F '/' '{ print $5; }' | sort -u
 
 pkgname=ghc
-pkgver=7.8.4
+pkgver=7.10.1
 pkgrel=1
 pkgdesc='The Glasgow Haskell Compiler'
 arch=('i686' 'x86_64')
@@ -24,33 +24,29 @@
 checkdepends=('python2')
 install='ghc.install'
 options=('staticlibs')
-provides=('haskell-array=0.5.0.0'
-  'haskell-base=4.7.0.2'
-  'haskell-binary=0.7.1.0'
+provides=('haskell-array=0.5.1.0'
+  'haskell-base=4.8.0.0'
+  'haskell-binary=0.7.3.0'
   'haskell-bin-package-db=0.0.0.0'
-  'haskell-bytestring=0.10.4.0'
-  'haskell-containers=0.5.5.1'
-  'haskell-deepseq=1.3.0.2'
-  'haskell-directory=1.2.1.0'
-  'haskell-filepath=1.3.0.2'
-  'haskell-ghc-prim=0.3.1.0'
-  'haskell-haskeline=0.7.1.2'
-  'haskell-haskell2010=1.1.2.0'
-  'haskell-haskell98=2.0.0.3'
-  'haskell-hoopl=3.10.0.1'
-  'haskell-hpc=0.6.0.1'
-  'haskell-integer-gmp=0.5.1.0'
-  'haskell-old-locale=1.0.0.6'
-  'haskell-old-time=1.1.0.2'
-  'haskell-pretty=1.1.1.1'
-  'haskell-process=1.2.0.0'
-  'haskell-template-haskell=2.9.0.0'
-  'haskell-terminfo=0.4.0.0'
-  'haskell-time=1.4.2'
-  'haskell-transformers=0.3.0.0'
-  'haskell-unix=2.7.0.1'
+  'haskell-bytestring=0.10.6.0'
+  'haskell-containers=0.5.6.2'
+  'haskell-deepseq=1.4.1.1'
+  'haskell-directory=1.2.2.0'
+  'haskell-filepath=1.4.0.0'
+  'haskell-ghc-prim=0.4.0.0'
+  'haskell-haskeline=0.7.2.1'
+  'haskell-hoopl=3.10.0.2'
+  'haskell-hpc=0.6.0.2'
+  'haskell-integer-gmp=1.0.0.0'
+  'haskell-pretty=1.1.2.0'
+  'haskell-process=1.2.3.0'
+  'haskell-template-haskell=2.10.0.0'
+  'haskell-terminfo=0.4.0.1'
+  'haskell-time=1.5.0.1'
+  'haskell-transformers=0.4.2.0'
+  'haskell-unix=2.7.1.0'
   'haskell-xhtml=3000.2.1'
-  'haskell-cabal=1.18.1.5'
+  'haskell-cabal=1.22.2.0'
   )
 replaces=('haskell-array'
   'haskell-base'
@@ -63,13 +59,9 @@
   'haskell-filepath'
   'haskell-ghc-prim'
   'haskell-haskeline'
-  'haskell-haskell2010'
-  'haskell-haskell98'
   'haskell-hoopl'
   'haskell-hpc'
   'haskell-integer-gmp'
-  'haskell-old-locale'
-  'haskell-old-time'
   'haskell-pretty'
   'haskell-process'
   'haskell-template-haskell'
@@ -82,12 +74,10 @@
   )
 source=(http://www.haskell.org/ghc/dist/${pkgver}/ghc-${pkgver}-src.tar.xz;
 
http://www.haskell.org/ghc/dist/${pkgver}/ghc-${pkgver}-testsuite.tar.xz;
-'build.mk'
-'ghc')
-md5sums=('91f74cf9d813603cc3145528db4bbead'
- '3cc3353d99518be7e7b2d78ebd5460b5'
- 'c367ef26300648ee9b8aca3dee5c9669'
- 'c1d46d86752c50dd85e7143b029fa07f')
+'build.mk')
+md5sums=('f93ad0cdc9df4b0f2d4421debdecb54f'
+ '41db579e247655236c2e35e66e645e71'
+ 'd9c7c61db2b7c0c7eef547092716addb')
 
 build() {
   cd ghc-${pkgver}
@@ -111,14 +101,8 @@
   # python2 rename
   sed -e 's_#!/usr/bin/env python_2_' -i testsuite/timeout/calibrate 
testsuite/timeout/timeout.py
 
-  # Unexpected failures:
-  #codeGen/should_run T8256 [exit code non-0] (normal)
-  #concurrent/should_run  T9379 [exit code non-0] (normal)
-  #perf/compiler  T3064 [stat not good enough] (normal)
-  #perf/compiler  T4801 [stat not good enough] (normal)
-  #perf/compiler  T6048 [stat not good enough] (optasm)
-  #roles/should_compile   T8958 [stderr mismatch] (normal)
-  make test
+  # tests check out for 7.10.1 on x86_64 but are broken on i686
+  #make test
 
   # enabling threads to speed up
   # causes more failures than make test, need to investigate
@@ -144,9 +128,7 @@
   install -m644 LICENSE \
 ${pkgdir}/usr/share/licenses/ghc
 
-  # provide non vanilla bash completion since ghc currently doesn't ship with 
any:
-  # https://ghc.haskell.org/trac/ghc/ticket/9005
   install -d ${pkgdir}/usr/share/bash-completion/completions
-  install -m644 ${srcdir}/ghc \
-${pkgdir}/usr/share/bash-completion/completions
+  install -m644 

[arch-commits] Commit in ghc/repos (12 files)

2015-03-30 Thread Thomas Dziedzic
Date: Monday, March 30, 2015 @ 09:31:30
  Author: td123
Revision: 235273

archrelease: copy trunk to staging-i686, staging-x86_64

Added:
  ghc/repos/staging-i686/
  ghc/repos/staging-i686/PKGBUILD
(from rev 235272, ghc/trunk/PKGBUILD)
  ghc/repos/staging-i686/build.mk
(from rev 235272, ghc/trunk/build.mk)
  ghc/repos/staging-i686/ghc
(from rev 235272, ghc/trunk/ghc)
  ghc/repos/staging-i686/ghc.install
(from rev 235272, ghc/trunk/ghc.install)
  ghc/repos/staging-i686/print-provides-replaces.sh
(from rev 235272, ghc/trunk/print-provides-replaces.sh)
  ghc/repos/staging-x86_64/
  ghc/repos/staging-x86_64/PKGBUILD
(from rev 235272, ghc/trunk/PKGBUILD)
  ghc/repos/staging-x86_64/build.mk
(from rev 235272, ghc/trunk/build.mk)
  ghc/repos/staging-x86_64/ghc
(from rev 235272, ghc/trunk/ghc)
  ghc/repos/staging-x86_64/ghc.install
(from rev 235272, ghc/trunk/ghc.install)
  ghc/repos/staging-x86_64/print-provides-replaces.sh
(from rev 235272, ghc/trunk/print-provides-replaces.sh)

---+
 staging-i686/PKGBUILD |  134 +++
 staging-i686/build.mk |  314 
 staging-i686/ghc  |   10 
 staging-i686/ghc.install  |   10 
 staging-i686/print-provides-replaces.sh   |   47 
 staging-x86_64/PKGBUILD   |  134 +++
 staging-x86_64/build.mk   |  314 
 staging-x86_64/ghc|   10 
 staging-x86_64/ghc.install|   10 
 staging-x86_64/print-provides-replaces.sh |   47 
 10 files changed, 1030 insertions(+)

Copied: ghc/repos/staging-i686/PKGBUILD (from rev 235272, ghc/trunk/PKGBUILD)
===
--- staging-i686/PKGBUILD   (rev 0)
+++ staging-i686/PKGBUILD   2015-03-30 07:31:30 UTC (rev 235273)
@@ -0,0 +1,134 @@
+# $Id$
+# Maintainer: Thomas Dziedzic gos...@gmail.com
+# Maintainer: Vesa Kaihlavirta v...@archlinux.org
+# Special note for devs looking to upgrade this package:
+#   ghc places a unique hash for each library when it is built.
+#   Libraries depend on versions specified by those hashes.
+#   This implies that all libraries need to be rebuilt when ghc is rebuilt.
+
+# use the following command to print out packages that need to get rebuilt
+# grep -r ghc /var/abs/ | awk -F '/' '{ print $5; }' | sort -u
+
+pkgname=ghc
+pkgver=7.10.1
+pkgrel=1
+pkgdesc='The Glasgow Haskell Compiler'
+arch=('i686' 'x86_64')
+url='http://www.haskell.org/ghc/'
+license=('custom')
+depends=('perl' 'gmp' 'gcc' 'libffi')
+makedepends=('ghc' 'perl' 'libxslt' 'docbook-xsl')
+# will hopefully be able to depend on python 3 in a future version
+# https://ghc.haskell.org/trac/ghc/ticket/9184
+# title: Allow the use of Python 3 when building GHC
+checkdepends=('python2')
+install='ghc.install'
+options=('staticlibs')
+provides=('haskell-array=0.5.1.0'
+  'haskell-base=4.8.0.0'
+  'haskell-binary=0.7.3.0'
+  'haskell-bin-package-db=0.0.0.0'
+  'haskell-bytestring=0.10.6.0'
+  'haskell-containers=0.5.6.2'
+  'haskell-deepseq=1.4.1.1'
+  'haskell-directory=1.2.2.0'
+  'haskell-filepath=1.4.0.0'
+  'haskell-ghc-prim=0.4.0.0'
+  'haskell-haskeline=0.7.2.1'
+  'haskell-hoopl=3.10.0.2'
+  'haskell-hpc=0.6.0.2'
+  'haskell-integer-gmp=1.0.0.0'
+  'haskell-pretty=1.1.2.0'
+  'haskell-process=1.2.3.0'
+  'haskell-template-haskell=2.10.0.0'
+  'haskell-terminfo=0.4.0.1'
+  'haskell-time=1.5.0.1'
+  'haskell-transformers=0.4.2.0'
+  'haskell-unix=2.7.1.0'
+  'haskell-xhtml=3000.2.1'
+  'haskell-cabal=1.22.2.0'
+  )
+replaces=('haskell-array'
+  'haskell-base'
+  'haskell-binary'
+  'haskell-bin-package-db'
+  'haskell-bytestring'
+  'haskell-containers'
+  'haskell-deepseq'
+  'haskell-directory'
+  'haskell-filepath'
+  'haskell-ghc-prim'
+  'haskell-haskeline'
+  'haskell-hoopl'
+  'haskell-hpc'
+  'haskell-integer-gmp'
+  'haskell-pretty'
+  'haskell-process'
+  'haskell-template-haskell'
+  'haskell-terminfo'
+  'haskell-time'
+  'haskell-transformers'
+  'haskell-unix'
+  'haskell-xhtml'
+  'haskell-cabal'
+  )
+source=(http://www.haskell.org/ghc/dist/${pkgver}/ghc-${pkgver}-src.tar.xz;
+
http://www.haskell.org/ghc/dist/${pkgver}/ghc-${pkgver}-testsuite.tar.xz;
+'build.mk')
+md5sums=('f93ad0cdc9df4b0f2d4421debdecb54f'
+ '41db579e247655236c2e35e66e645e71'
+ 'd9c7c61db2b7c0c7eef547092716addb')
+
+build() {
+  cd ghc-${pkgver}
+
+  cp ${srcdir}/build.mk mk/build.mk
+
+  ./configure

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

2015-03-30 Thread Thomas Dziedzic
Date: Monday, March 30, 2015 @ 17:38:18
  Author: td123
Revision: 235279

upgpkg: cabal-install 1.22.2.0-1

bump

Modified:
  cabal-install/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2015-03-30 14:52:29 UTC (rev 235278)
+++ PKGBUILD2015-03-30 15:38:18 UTC (rev 235279)
@@ -3,7 +3,7 @@
 # Contributor: Arch Haskell Team arch-hask...@haskell.org
 
 pkgname=cabal-install
-pkgver=1.22.0.0
+pkgver=1.22.2.0
 pkgrel=1
 pkgdesc=The command-line interface for Cabal and Hackage.
 url=http://hackage.haskell.org/package/cabal-install;
@@ -12,7 +12,7 @@
 makedepends=('ghc' 'cabal-install')
 depends=('gmp' 'zlib')
 
source=(https://hackage.haskell.org/package/cabal-install-${pkgver}/cabal-install-${pkgver}.tar.gz;)
-md5sums=('917a6c1b459adfdf135ad466399f2959')
+md5sums=('bad431378bec8a0005fb1a3f5a92cd1b')
 
 # the bootstrap script was broken on several releases
 # build with a cabal sandbox to avoid unnecessary patching  headaches


[arch-commits] Commit in cabal-install/repos (4 files)

2015-03-30 Thread Thomas Dziedzic
Date: Monday, March 30, 2015 @ 17:39:27
  Author: td123
Revision: 235280

archrelease: copy trunk to staging-i686, staging-x86_64

Added:
  cabal-install/repos/staging-i686/
  cabal-install/repos/staging-i686/PKGBUILD
(from rev 235279, cabal-install/trunk/PKGBUILD)
  cabal-install/repos/staging-x86_64/
  cabal-install/repos/staging-x86_64/PKGBUILD
(from rev 235279, cabal-install/trunk/PKGBUILD)

-+
 staging-i686/PKGBUILD   |   47 ++
 staging-x86_64/PKGBUILD |   47 ++
 2 files changed, 94 insertions(+)

Copied: cabal-install/repos/staging-i686/PKGBUILD (from rev 235279, 
cabal-install/trunk/PKGBUILD)
===
--- staging-i686/PKGBUILD   (rev 0)
+++ staging-i686/PKGBUILD   2015-03-30 15:39:27 UTC (rev 235280)
@@ -0,0 +1,47 @@
+# Maintainer: Thomas Dziedzic gos...@gmail.com
+# Maintainer: Vesa Kaihlavirta v...@archlinux.org
+# Contributor: Arch Haskell Team arch-hask...@haskell.org
+
+pkgname=cabal-install
+pkgver=1.22.2.0
+pkgrel=1
+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')
+source=(https://hackage.haskell.org/package/cabal-install-${pkgver}/cabal-install-${pkgver}.tar.gz;)
+md5sums=('bad431378bec8a0005fb1a3f5a92cd1b')
+
+# the bootstrap script was broken on several releases
+# build with a cabal sandbox to avoid unnecessary patching  headaches
+build() {
+  cd cabal-install-${pkgver}
+
+  cabal update
+
+  cabal sandbox init
+
+  cabal install --only-dependencies
+
+  cabal build
+}
+
+package() {
+  cd cabal-install-${pkgver}
+
+  install -d ${pkgdir}/usr/bin
+  install -m755 dist/build/cabal/cabal \
+${pkgdir}/usr/bin
+
+
+  install -d ${pkgdir}/usr/share/licenses/${pkgname}
+  install -m644 LICENSE \
+${pkgdir}/usr/share/licenses/${pkgname}
+
+  # add bash completion
+  install -d ${pkgdir}/usr/share/bash-completion/completions
+  install -m644 bash-completion/cabal \
+${pkgdir}/usr/share/bash-completion/completions
+}

Copied: cabal-install/repos/staging-x86_64/PKGBUILD (from rev 235279, 
cabal-install/trunk/PKGBUILD)
===
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2015-03-30 15:39:27 UTC (rev 235280)
@@ -0,0 +1,47 @@
+# Maintainer: Thomas Dziedzic gos...@gmail.com
+# Maintainer: Vesa Kaihlavirta v...@archlinux.org
+# Contributor: Arch Haskell Team arch-hask...@haskell.org
+
+pkgname=cabal-install
+pkgver=1.22.2.0
+pkgrel=1
+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')
+source=(https://hackage.haskell.org/package/cabal-install-${pkgver}/cabal-install-${pkgver}.tar.gz;)
+md5sums=('bad431378bec8a0005fb1a3f5a92cd1b')
+
+# the bootstrap script was broken on several releases
+# build with a cabal sandbox to avoid unnecessary patching  headaches
+build() {
+  cd cabal-install-${pkgver}
+
+  cabal update
+
+  cabal sandbox init
+
+  cabal install --only-dependencies
+
+  cabal build
+}
+
+package() {
+  cd cabal-install-${pkgver}
+
+  install -d ${pkgdir}/usr/bin
+  install -m755 dist/build/cabal/cabal \
+${pkgdir}/usr/bin
+
+
+  install -d ${pkgdir}/usr/share/licenses/${pkgname}
+  install -m644 LICENSE \
+${pkgdir}/usr/share/licenses/${pkgname}
+
+  # add bash completion
+  install -d ${pkgdir}/usr/share/bash-completion/completions
+  install -m644 bash-completion/cabal \
+${pkgdir}/usr/share/bash-completion/completions
+}


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

2015-01-05 Thread Thomas Dziedzic
Date: Monday, January 5, 2015 @ 09:15:05
  Author: td123
Revision: 228460

upgpkg: cabal-install 1.20.0.6-1

bump

Modified:
  cabal-install/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2015-01-05 08:12:27 UTC (rev 228459)
+++ PKGBUILD2015-01-05 08:15:05 UTC (rev 228460)
@@ -3,7 +3,7 @@
 # Contributor: Arch Haskell Team arch-hask...@haskell.org
 
 pkgname=cabal-install
-pkgver=1.20.0.4
+pkgver=1.20.0.6
 pkgrel=1
 pkgdesc=The command-line interface for Cabal and Hackage.
 url=http://hackage.haskell.org/package/cabal-install;
@@ -12,7 +12,7 @@
 makedepends=('ghc' 'cabal-install')
 depends=('gmp' 'zlib')
 
source=(https://hackage.haskell.org/package/cabal-install-${pkgver}/cabal-install-${pkgver}.tar.gz;)
-md5sums=('79a5dee5b47000d86220fca84aa3a6db')
+md5sums=('d049be04a3fb767e6178f1c938fd53a2')
 
 # the bootstrap script was broken on several releases
 # build with a cabal sandbox to avoid unnecessary patching  headaches


[arch-commits] Commit in cabal-install/repos (4 files)

2015-01-05 Thread Thomas Dziedzic
Date: Monday, January 5, 2015 @ 09:15:38
  Author: td123
Revision: 228461

archrelease: copy trunk to testing-i686, testing-x86_64

Added:
  cabal-install/repos/testing-i686/
  cabal-install/repos/testing-i686/PKGBUILD
(from rev 228460, cabal-install/trunk/PKGBUILD)
  cabal-install/repos/testing-x86_64/
  cabal-install/repos/testing-x86_64/PKGBUILD
(from rev 228460, cabal-install/trunk/PKGBUILD)

-+
 testing-i686/PKGBUILD   |   47 ++
 testing-x86_64/PKGBUILD |   47 ++
 2 files changed, 94 insertions(+)

Copied: cabal-install/repos/testing-i686/PKGBUILD (from rev 228460, 
cabal-install/trunk/PKGBUILD)
===
--- testing-i686/PKGBUILD   (rev 0)
+++ testing-i686/PKGBUILD   2015-01-05 08:15:38 UTC (rev 228461)
@@ -0,0 +1,47 @@
+# Maintainer: Thomas Dziedzic gos...@gmail.com
+# Maintainer: Vesa Kaihlavirta v...@archlinux.org
+# Contributor: Arch Haskell Team arch-hask...@haskell.org
+
+pkgname=cabal-install
+pkgver=1.20.0.6
+pkgrel=1
+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')
+source=(https://hackage.haskell.org/package/cabal-install-${pkgver}/cabal-install-${pkgver}.tar.gz;)
+md5sums=('d049be04a3fb767e6178f1c938fd53a2')
+
+# the bootstrap script was broken on several releases
+# build with a cabal sandbox to avoid unnecessary patching  headaches
+build() {
+  cd cabal-install-${pkgver}
+
+  cabal update
+
+  cabal sandbox init
+
+  cabal install --only-dependencies
+
+  cabal build
+}
+
+package() {
+  cd cabal-install-${pkgver}
+
+  install -d ${pkgdir}/usr/bin
+  install -m755 dist/build/cabal/cabal \
+${pkgdir}/usr/bin
+
+
+  install -d ${pkgdir}/usr/share/licenses/${pkgname}
+  install -m644 LICENSE \
+${pkgdir}/usr/share/licenses/${pkgname}
+
+  # add bash completion
+  install -d ${pkgdir}/usr/share/bash-completion/completions
+  install -m644 bash-completion/cabal \
+${pkgdir}/usr/share/bash-completion/completions
+}

Copied: cabal-install/repos/testing-x86_64/PKGBUILD (from rev 228460, 
cabal-install/trunk/PKGBUILD)
===
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2015-01-05 08:15:38 UTC (rev 228461)
@@ -0,0 +1,47 @@
+# Maintainer: Thomas Dziedzic gos...@gmail.com
+# Maintainer: Vesa Kaihlavirta v...@archlinux.org
+# Contributor: Arch Haskell Team arch-hask...@haskell.org
+
+pkgname=cabal-install
+pkgver=1.20.0.6
+pkgrel=1
+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')
+source=(https://hackage.haskell.org/package/cabal-install-${pkgver}/cabal-install-${pkgver}.tar.gz;)
+md5sums=('d049be04a3fb767e6178f1c938fd53a2')
+
+# the bootstrap script was broken on several releases
+# build with a cabal sandbox to avoid unnecessary patching  headaches
+build() {
+  cd cabal-install-${pkgver}
+
+  cabal update
+
+  cabal sandbox init
+
+  cabal install --only-dependencies
+
+  cabal build
+}
+
+package() {
+  cd cabal-install-${pkgver}
+
+  install -d ${pkgdir}/usr/bin
+  install -m755 dist/build/cabal/cabal \
+${pkgdir}/usr/bin
+
+
+  install -d ${pkgdir}/usr/share/licenses/${pkgname}
+  install -m644 LICENSE \
+${pkgdir}/usr/share/licenses/${pkgname}
+
+  # add bash completion
+  install -d ${pkgdir}/usr/share/bash-completion/completions
+  install -m644 bash-completion/cabal \
+${pkgdir}/usr/share/bash-completion/completions
+}


[arch-commits] Commit in cabal-install/repos (4 files)

2015-01-05 Thread Thomas Dziedzic
Date: Tuesday, January 6, 2015 @ 06:56:25
  Author: td123
Revision: 228701

archrelease: copy trunk to testing-i686, testing-x86_64

Added:
  cabal-install/repos/testing-i686/
  cabal-install/repos/testing-i686/PKGBUILD
(from rev 228700, cabal-install/trunk/PKGBUILD)
  cabal-install/repos/testing-x86_64/
  cabal-install/repos/testing-x86_64/PKGBUILD
(from rev 228700, cabal-install/trunk/PKGBUILD)

-+
 testing-i686/PKGBUILD   |   47 ++
 testing-x86_64/PKGBUILD |   47 ++
 2 files changed, 94 insertions(+)

Copied: cabal-install/repos/testing-i686/PKGBUILD (from rev 228700, 
cabal-install/trunk/PKGBUILD)
===
--- testing-i686/PKGBUILD   (rev 0)
+++ testing-i686/PKGBUILD   2015-01-06 05:56:25 UTC (rev 228701)
@@ -0,0 +1,47 @@
+# Maintainer: Thomas Dziedzic gos...@gmail.com
+# Maintainer: Vesa Kaihlavirta v...@archlinux.org
+# Contributor: Arch Haskell Team arch-hask...@haskell.org
+
+pkgname=cabal-install
+pkgver=1.22.0.0
+pkgrel=1
+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')
+source=(https://hackage.haskell.org/package/cabal-install-${pkgver}/cabal-install-${pkgver}.tar.gz;)
+md5sums=('917a6c1b459adfdf135ad466399f2959')
+
+# the bootstrap script was broken on several releases
+# build with a cabal sandbox to avoid unnecessary patching  headaches
+build() {
+  cd cabal-install-${pkgver}
+
+  cabal update
+
+  cabal sandbox init
+
+  cabal install --only-dependencies
+
+  cabal build
+}
+
+package() {
+  cd cabal-install-${pkgver}
+
+  install -d ${pkgdir}/usr/bin
+  install -m755 dist/build/cabal/cabal \
+${pkgdir}/usr/bin
+
+
+  install -d ${pkgdir}/usr/share/licenses/${pkgname}
+  install -m644 LICENSE \
+${pkgdir}/usr/share/licenses/${pkgname}
+
+  # add bash completion
+  install -d ${pkgdir}/usr/share/bash-completion/completions
+  install -m644 bash-completion/cabal \
+${pkgdir}/usr/share/bash-completion/completions
+}

Copied: cabal-install/repos/testing-x86_64/PKGBUILD (from rev 228700, 
cabal-install/trunk/PKGBUILD)
===
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2015-01-06 05:56:25 UTC (rev 228701)
@@ -0,0 +1,47 @@
+# Maintainer: Thomas Dziedzic gos...@gmail.com
+# Maintainer: Vesa Kaihlavirta v...@archlinux.org
+# Contributor: Arch Haskell Team arch-hask...@haskell.org
+
+pkgname=cabal-install
+pkgver=1.22.0.0
+pkgrel=1
+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')
+source=(https://hackage.haskell.org/package/cabal-install-${pkgver}/cabal-install-${pkgver}.tar.gz;)
+md5sums=('917a6c1b459adfdf135ad466399f2959')
+
+# the bootstrap script was broken on several releases
+# build with a cabal sandbox to avoid unnecessary patching  headaches
+build() {
+  cd cabal-install-${pkgver}
+
+  cabal update
+
+  cabal sandbox init
+
+  cabal install --only-dependencies
+
+  cabal build
+}
+
+package() {
+  cd cabal-install-${pkgver}
+
+  install -d ${pkgdir}/usr/bin
+  install -m755 dist/build/cabal/cabal \
+${pkgdir}/usr/bin
+
+
+  install -d ${pkgdir}/usr/share/licenses/${pkgname}
+  install -m644 LICENSE \
+${pkgdir}/usr/share/licenses/${pkgname}
+
+  # add bash completion
+  install -d ${pkgdir}/usr/share/bash-completion/completions
+  install -m644 bash-completion/cabal \
+${pkgdir}/usr/share/bash-completion/completions
+}


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

2015-01-05 Thread Thomas Dziedzic
Date: Tuesday, January 6, 2015 @ 06:55:54
  Author: td123
Revision: 228700

upgpkg: cabal-install 1.22.0.0-1

bump

Modified:
  cabal-install/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2015-01-06 05:40:20 UTC (rev 228699)
+++ PKGBUILD2015-01-06 05:55:54 UTC (rev 228700)
@@ -3,7 +3,7 @@
 # Contributor: Arch Haskell Team arch-hask...@haskell.org
 
 pkgname=cabal-install
-pkgver=1.20.0.6
+pkgver=1.22.0.0
 pkgrel=1
 pkgdesc=The command-line interface for Cabal and Hackage.
 url=http://hackage.haskell.org/package/cabal-install;
@@ -12,7 +12,7 @@
 makedepends=('ghc' 'cabal-install')
 depends=('gmp' 'zlib')
 
source=(https://hackage.haskell.org/package/cabal-install-${pkgver}/cabal-install-${pkgver}.tar.gz;)
-md5sums=('d049be04a3fb767e6178f1c938fd53a2')
+md5sums=('917a6c1b459adfdf135ad466399f2959')
 
 # the bootstrap script was broken on several releases
 # build with a cabal sandbox to avoid unnecessary patching  headaches


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

2014-12-25 Thread Thomas Dziedzic
Date: Thursday, December 25, 2014 @ 21:48:24
  Author: td123
Revision: 228048

upgpkg: ghc 7.8.4-1

bump

Modified:
  ghc/trunk/PKGBUILD

--+
 PKGBUILD |   45 -
 1 file changed, 24 insertions(+), 21 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2014-12-25 18:55:02 UTC (rev 228047)
+++ PKGBUILD2014-12-25 20:48:24 UTC (rev 228048)
@@ -10,8 +10,8 @@
 # grep -r ghc /var/abs/ | awk -F '/' '{ print $5; }' | sort -u
 
 pkgname=ghc
-pkgver=7.8.3
-pkgrel=2
+pkgver=7.8.4
+pkgrel=1
 pkgdesc='The Glasgow Haskell Compiler'
 arch=('i686' 'x86_64')
 url='http://www.haskell.org/ghc/'
@@ -18,11 +18,14 @@
 license=('custom')
 depends=('perl' 'gmp' 'gcc' 'libffi')
 makedepends=('ghc' 'perl' 'libxslt' 'docbook-xsl')
+# will hopefully be able to depend on python 3 in a future version
+# https://ghc.haskell.org/trac/ghc/ticket/9184
+# title: Allow the use of Python 3 when building GHC
 checkdepends=('python2')
 install='ghc.install'
 options=('staticlibs')
 provides=('haskell-array=0.5.0.0'
-  'haskell-base=4.7.0.1'
+  'haskell-base=4.7.0.2'
   'haskell-binary=0.7.1.0'
   'haskell-bin-package-db=0.0.0.0'
   'haskell-bytestring=0.10.4.0'
@@ -31,6 +34,7 @@
   'haskell-directory=1.2.1.0'
   'haskell-filepath=1.3.0.2'
   'haskell-ghc-prim=0.3.1.0'
+  'haskell-haskeline=0.7.1.2'
   'haskell-haskell2010=1.1.2.0'
   'haskell-haskell98=2.0.0.3'
   'haskell-hoopl=3.10.0.1'
@@ -41,15 +45,13 @@
   'haskell-pretty=1.1.1.1'
   'haskell-process=1.2.0.0'
   'haskell-template-haskell=2.9.0.0'
+  'haskell-terminfo=0.4.0.0'
   'haskell-time=1.4.2'
   'haskell-transformers=0.3.0.0'
   'haskell-unix=2.7.0.1'
-  'haskell-cabal=1.18.1.3'
-  'ghc=7.8.3-1'
-  'haskell-haskeline=0.7.1.2'
-  'haskell-terminfo=0.4.0.0'
   'haskell-xhtml=3000.2.1'
- )
+  'haskell-cabal=1.18.1.5'
+  )
 replaces=('haskell-array'
   'haskell-base'
   'haskell-binary'
@@ -60,6 +62,7 @@
   'haskell-directory'
   'haskell-filepath'
   'haskell-ghc-prim'
+  'haskell-haskeline'
   'haskell-haskell2010'
   'haskell-haskell98'
   'haskell-hoopl'
@@ -70,20 +73,19 @@
   'haskell-pretty'
   'haskell-process'
   'haskell-template-haskell'
+  'haskell-terminfo'
   'haskell-time'
   'haskell-transformers'
   'haskell-unix'
+  'haskell-xhtml'
   'haskell-cabal'
-  'haskell-haskeline'
-  'haskell-terminfo'
-  'haskell-xhtml'
- )
+  )
 source=(http://www.haskell.org/ghc/dist/${pkgver}/ghc-${pkgver}-src.tar.xz;
 
http://www.haskell.org/ghc/dist/${pkgver}/ghc-${pkgver}-testsuite.tar.xz;
 'build.mk'
 'ghc')
-md5sums=('5e34b2a29564596c9ed83fb8667b47d4'
- '7ca72a039d44ca2586c02863392b5dce'
+md5sums=('91f74cf9d813603cc3145528db4bbead'
+ '3cc3353d99518be7e7b2d78ebd5460b5'
  'c367ef26300648ee9b8aca3dee5c9669'
  'c1d46d86752c50dd85e7143b029fa07f')
 
@@ -95,7 +97,7 @@
   ./configure \
 --prefix=/usr \
 --with-system-libffi \
---with-ffi-includes=/usr/lib/libffi-3.1/include
+--with-ffi-includes=/usr/lib/libffi-3.2.1/include
 
   make
 }
@@ -109,12 +111,13 @@
   # python2 rename
   sed -e 's_#!/usr/bin/env python_2_' -i testsuite/timeout/calibrate 
testsuite/timeout/timeout.py
 
-  # upstream known failures on both i686 and x86_64:
-  #ghci.debugger/scripts break011 [bad stderr] (ghci)
-  #perf/compiler parsing001 [stat not good enough] (normal)
-  #simplCore/should_compile  spec-inline [stderr mismatch] (optasm)
-  # upstream known failures on i686 only:
-  #numrun012 test fails on i686 works on x86_64 - 
http://hackage.haskell.org/trac/ghc/ticket/5856
+  # Unexpected failures:
+  #codeGen/should_run T8256 [exit code non-0] (normal)
+  #concurrent/should_run  T9379 [exit code non-0] (normal)
+  #perf/compiler  T3064 [stat not good enough] (normal)
+  #perf/compiler  T4801 [stat not good enough] (normal)
+  #perf/compiler  T6048 [stat not good enough] (optasm)
+  #roles/should_compile   T8958 [stderr mismatch] (normal)
   make test
 
   # enabling threads to speed up


[arch-commits] Commit in ghc/repos (12 files)

2014-12-25 Thread Thomas Dziedzic
Date: Thursday, December 25, 2014 @ 21:51:13
  Author: td123
Revision: 228049

archrelease: copy trunk to staging-i686, staging-x86_64

Added:
  ghc/repos/staging-i686/
  ghc/repos/staging-i686/PKGBUILD
(from rev 228048, ghc/trunk/PKGBUILD)
  ghc/repos/staging-i686/build.mk
(from rev 228048, ghc/trunk/build.mk)
  ghc/repos/staging-i686/ghc
(from rev 228048, ghc/trunk/ghc)
  ghc/repos/staging-i686/ghc.install
(from rev 228048, ghc/trunk/ghc.install)
  ghc/repos/staging-i686/print-provides-replaces.sh
(from rev 228048, ghc/trunk/print-provides-replaces.sh)
  ghc/repos/staging-x86_64/
  ghc/repos/staging-x86_64/PKGBUILD
(from rev 228048, ghc/trunk/PKGBUILD)
  ghc/repos/staging-x86_64/build.mk
(from rev 228048, ghc/trunk/build.mk)
  ghc/repos/staging-x86_64/ghc
(from rev 228048, ghc/trunk/ghc)
  ghc/repos/staging-x86_64/ghc.install
(from rev 228048, ghc/trunk/ghc.install)
  ghc/repos/staging-x86_64/print-provides-replaces.sh
(from rev 228048, ghc/trunk/print-provides-replaces.sh)

---+
 staging-i686/PKGBUILD |  152 +
 staging-i686/build.mk |  200 
 staging-i686/ghc  |   10 +
 staging-i686/ghc.install  |   10 +
 staging-i686/print-provides-replaces.sh   |   42 +
 staging-x86_64/PKGBUILD   |  152 +
 staging-x86_64/build.mk   |  200 
 staging-x86_64/ghc|   10 +
 staging-x86_64/ghc.install|   10 +
 staging-x86_64/print-provides-replaces.sh |   42 +
 10 files changed, 828 insertions(+)

Copied: ghc/repos/staging-i686/PKGBUILD (from rev 228048, ghc/trunk/PKGBUILD)
===
--- staging-i686/PKGBUILD   (rev 0)
+++ staging-i686/PKGBUILD   2014-12-25 20:51:13 UTC (rev 228049)
@@ -0,0 +1,152 @@
+# $Id$
+# Maintainer: Thomas Dziedzic gos...@gmail.com
+# Maintainer: Vesa Kaihlavirta v...@archlinux.org
+# Special note for devs looking to upgrade this package:
+#   ghc places a unique hash for each library when it is built.
+#   Libraries depend on versions specified by those hashes.
+#   This implies that all libraries need to be rebuilt when ghc is rebuilt.
+
+# use the following command to print out packages that need to get rebuilt
+# grep -r ghc /var/abs/ | awk -F '/' '{ print $5; }' | sort -u
+
+pkgname=ghc
+pkgver=7.8.4
+pkgrel=1
+pkgdesc='The Glasgow Haskell Compiler'
+arch=('i686' 'x86_64')
+url='http://www.haskell.org/ghc/'
+license=('custom')
+depends=('perl' 'gmp' 'gcc' 'libffi')
+makedepends=('ghc' 'perl' 'libxslt' 'docbook-xsl')
+# will hopefully be able to depend on python 3 in a future version
+# https://ghc.haskell.org/trac/ghc/ticket/9184
+# title: Allow the use of Python 3 when building GHC
+checkdepends=('python2')
+install='ghc.install'
+options=('staticlibs')
+provides=('haskell-array=0.5.0.0'
+  'haskell-base=4.7.0.2'
+  'haskell-binary=0.7.1.0'
+  'haskell-bin-package-db=0.0.0.0'
+  'haskell-bytestring=0.10.4.0'
+  'haskell-containers=0.5.5.1'
+  'haskell-deepseq=1.3.0.2'
+  'haskell-directory=1.2.1.0'
+  'haskell-filepath=1.3.0.2'
+  'haskell-ghc-prim=0.3.1.0'
+  'haskell-haskeline=0.7.1.2'
+  'haskell-haskell2010=1.1.2.0'
+  'haskell-haskell98=2.0.0.3'
+  'haskell-hoopl=3.10.0.1'
+  'haskell-hpc=0.6.0.1'
+  'haskell-integer-gmp=0.5.1.0'
+  'haskell-old-locale=1.0.0.6'
+  'haskell-old-time=1.1.0.2'
+  'haskell-pretty=1.1.1.1'
+  'haskell-process=1.2.0.0'
+  'haskell-template-haskell=2.9.0.0'
+  'haskell-terminfo=0.4.0.0'
+  'haskell-time=1.4.2'
+  'haskell-transformers=0.3.0.0'
+  'haskell-unix=2.7.0.1'
+  'haskell-xhtml=3000.2.1'
+  'haskell-cabal=1.18.1.5'
+  )
+replaces=('haskell-array'
+  'haskell-base'
+  'haskell-binary'
+  'haskell-bin-package-db'
+  'haskell-bytestring'
+  'haskell-containers'
+  'haskell-deepseq'
+  'haskell-directory'
+  'haskell-filepath'
+  'haskell-ghc-prim'
+  'haskell-haskeline'
+  'haskell-haskell2010'
+  'haskell-haskell98'
+  'haskell-hoopl'
+  'haskell-hpc'
+  'haskell-integer-gmp'
+  'haskell-old-locale'
+  'haskell-old-time'
+  'haskell-pretty'
+  'haskell-process'
+  'haskell-template-haskell'
+  'haskell-terminfo'
+  'haskell-time'
+  'haskell-transformers'
+  'haskell-unix'
+  'haskell-xhtml'
+  'haskell-cabal'
+  )
+source=(http://www.haskell.org/ghc/dist/${pkgver}/ghc-${pkgver}-src.tar.xz;
+
http

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

2014-12-25 Thread Thomas Dziedzic
Date: Friday, December 26, 2014 @ 00:19:34
  Author: td123
Revision: 228051

upgpkg: cabal-install 1.20.0.4-1

bump

Modified:
  cabal-install/trunk/PKGBUILD

--+
 PKGBUILD |   32 
 1 file changed, 20 insertions(+), 12 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2014-12-25 22:10:01 UTC (rev 228050)
+++ PKGBUILD2014-12-25 23:19:34 UTC (rev 228051)
@@ -3,35 +3,43 @@
 # Contributor: Arch Haskell Team arch-hask...@haskell.org
 
 pkgname=cabal-install
-pkgver=1.20.0.3
-pkgrel=2
+pkgver=1.20.0.4
+pkgrel=1
 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')
+makedepends=('ghc' 'cabal-install')
 depends=('gmp' 'zlib')
-source=(http://hackage.haskell.org/packages/archive/cabal-install/${pkgver}/cabal-install-${pkgver}.tar.gz;)
-md5sums=('e1b382f8b4eae3762622cefc6d91d5f3')
+source=(https://hackage.haskell.org/package/cabal-install-${pkgver}/cabal-install-${pkgver}.tar.gz;)
+md5sums=('79a5dee5b47000d86220fca84aa3a6db')
 
+# the bootstrap script was broken on several releases
+# build with a cabal sandbox to avoid unnecessary patching  headaches
 build() {
-  mkdir ${srcdir}/build
-  export PREFIX=${srcdir}/build
-
   cd cabal-install-${pkgver}
 
-  sh bootstrap.sh --user
+  cabal update
+
+  cabal sandbox init
+
+  cabal install --only-dependencies
+
+  cabal build
 }
 
 package() {
-  install -D -m755 ${srcdir}/build/bin/cabal ${pkgdir}/usr/bin/cabal
-
   cd cabal-install-${pkgver}
 
+  install -d ${pkgdir}/usr/bin
+  install -m755 dist/build/cabal/cabal \
+${pkgdir}/usr/bin
+
+
   install -d ${pkgdir}/usr/share/licenses/${pkgname}
   install -m644 LICENSE \
 ${pkgdir}/usr/share/licenses/${pkgname}
-
+
   # add bash completion
   install -d ${pkgdir}/usr/share/bash-completion/completions
   install -m644 bash-completion/cabal \


[arch-commits] Commit in cabal-install/repos (4 files)

2014-12-25 Thread Thomas Dziedzic
Date: Friday, December 26, 2014 @ 00:20:06
  Author: td123
Revision: 228052

archrelease: copy trunk to staging-i686, staging-x86_64

Added:
  cabal-install/repos/staging-i686/
  cabal-install/repos/staging-i686/PKGBUILD
(from rev 228051, cabal-install/trunk/PKGBUILD)
  cabal-install/repos/staging-x86_64/
  cabal-install/repos/staging-x86_64/PKGBUILD
(from rev 228051, cabal-install/trunk/PKGBUILD)

-+
 staging-i686/PKGBUILD   |   47 ++
 staging-x86_64/PKGBUILD |   47 ++
 2 files changed, 94 insertions(+)

Copied: cabal-install/repos/staging-i686/PKGBUILD (from rev 228051, 
cabal-install/trunk/PKGBUILD)
===
--- staging-i686/PKGBUILD   (rev 0)
+++ staging-i686/PKGBUILD   2014-12-25 23:20:06 UTC (rev 228052)
@@ -0,0 +1,47 @@
+# Maintainer: Thomas Dziedzic gos...@gmail.com
+# Maintainer: Vesa Kaihlavirta v...@archlinux.org
+# Contributor: Arch Haskell Team arch-hask...@haskell.org
+
+pkgname=cabal-install
+pkgver=1.20.0.4
+pkgrel=1
+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')
+source=(https://hackage.haskell.org/package/cabal-install-${pkgver}/cabal-install-${pkgver}.tar.gz;)
+md5sums=('79a5dee5b47000d86220fca84aa3a6db')
+
+# the bootstrap script was broken on several releases
+# build with a cabal sandbox to avoid unnecessary patching  headaches
+build() {
+  cd cabal-install-${pkgver}
+
+  cabal update
+
+  cabal sandbox init
+
+  cabal install --only-dependencies
+
+  cabal build
+}
+
+package() {
+  cd cabal-install-${pkgver}
+
+  install -d ${pkgdir}/usr/bin
+  install -m755 dist/build/cabal/cabal \
+${pkgdir}/usr/bin
+
+
+  install -d ${pkgdir}/usr/share/licenses/${pkgname}
+  install -m644 LICENSE \
+${pkgdir}/usr/share/licenses/${pkgname}
+
+  # add bash completion
+  install -d ${pkgdir}/usr/share/bash-completion/completions
+  install -m644 bash-completion/cabal \
+${pkgdir}/usr/share/bash-completion/completions
+}

Copied: cabal-install/repos/staging-x86_64/PKGBUILD (from rev 228051, 
cabal-install/trunk/PKGBUILD)
===
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2014-12-25 23:20:06 UTC (rev 228052)
@@ -0,0 +1,47 @@
+# Maintainer: Thomas Dziedzic gos...@gmail.com
+# Maintainer: Vesa Kaihlavirta v...@archlinux.org
+# Contributor: Arch Haskell Team arch-hask...@haskell.org
+
+pkgname=cabal-install
+pkgver=1.20.0.4
+pkgrel=1
+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')
+source=(https://hackage.haskell.org/package/cabal-install-${pkgver}/cabal-install-${pkgver}.tar.gz;)
+md5sums=('79a5dee5b47000d86220fca84aa3a6db')
+
+# the bootstrap script was broken on several releases
+# build with a cabal sandbox to avoid unnecessary patching  headaches
+build() {
+  cd cabal-install-${pkgver}
+
+  cabal update
+
+  cabal sandbox init
+
+  cabal install --only-dependencies
+
+  cabal build
+}
+
+package() {
+  cd cabal-install-${pkgver}
+
+  install -d ${pkgdir}/usr/bin
+  install -m755 dist/build/cabal/cabal \
+${pkgdir}/usr/bin
+
+
+  install -d ${pkgdir}/usr/share/licenses/${pkgname}
+  install -m644 LICENSE \
+${pkgdir}/usr/share/licenses/${pkgname}
+
+  # add bash completion
+  install -d ${pkgdir}/usr/share/bash-completion/completions
+  install -m644 bash-completion/cabal \
+${pkgdir}/usr/share/bash-completion/completions
+}


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

2014-10-10 Thread Thomas Dziedzic
Date: Saturday, October 11, 2014 @ 05:50:19
  Author: td123
Revision: 224193

upgpkg: vim 7.4.473-1

bump

Modified:
  vim/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2014-10-11 01:56:27 UTC (rev 224192)
+++ PKGBUILD2014-10-11 03:50:19 UTC (rev 224193)
@@ -6,8 +6,8 @@
 pkgbase=vim
 pkgname=('vim-minimal' 'vim' 'vim-python3' 'gvim' 'gvim-python3' 'vim-runtime')
 _topver=7.4
-_patchlevel=459
-__hgrev=187798e5e4b5
+_patchlevel=473
+__hgrev=48540909aba2
 _versiondir=vim${_topver//./}
 pkgver=${_topver}.${_patchlevel}
 pkgrel=1
@@ -20,7 +20,7 @@
 'vimrc'
 'archlinux.vim'
 'gvim.desktop')
-md5sums=('912b7585725a27fe67f102fe0ed2363b'
+md5sums=('f40c51bd44fa712c7922a108d1291865'
  'SKIP'
  'b9d4dcb9d3ee2e151dc4be1e94934f6a'
  'f3c8931847a12949bdd14c9d48fdabb3'


[arch-commits] Commit in vim/repos (12 files)

2014-10-10 Thread Thomas Dziedzic
Date: Saturday, October 11, 2014 @ 05:51:08
  Author: td123
Revision: 224194

archrelease: copy trunk to testing-i686, testing-x86_64

Added:
  vim/repos/testing-i686/
  vim/repos/testing-i686/PKGBUILD
(from rev 224193, vim/trunk/PKGBUILD)
  vim/repos/testing-i686/archlinux.vim
(from rev 224193, vim/trunk/archlinux.vim)
  vim/repos/testing-i686/gvim.desktop
(from rev 224193, vim/trunk/gvim.desktop)
  vim/repos/testing-i686/gvim.install
(from rev 224193, vim/trunk/gvim.install)
  vim/repos/testing-i686/vimrc
(from rev 224193, vim/trunk/vimrc)
  vim/repos/testing-x86_64/
  vim/repos/testing-x86_64/PKGBUILD
(from rev 224193, vim/trunk/PKGBUILD)
  vim/repos/testing-x86_64/archlinux.vim
(from rev 224193, vim/trunk/archlinux.vim)
  vim/repos/testing-x86_64/gvim.desktop
(from rev 224193, vim/trunk/gvim.desktop)
  vim/repos/testing-x86_64/gvim.install
(from rev 224193, vim/trunk/gvim.install)
  vim/repos/testing-x86_64/vimrc
(from rev 224193, vim/trunk/vimrc)

--+
 testing-i686/PKGBUILD|  386 +
 testing-i686/archlinux.vim   |   25 ++
 testing-i686/gvim.desktop|   63 ++
 testing-i686/gvim.install|   15 +
 testing-i686/vimrc   |   16 +
 testing-x86_64/PKGBUILD  |  386 +
 testing-x86_64/archlinux.vim |   25 ++
 testing-x86_64/gvim.desktop  |   63 ++
 testing-x86_64/gvim.install  |   15 +
 testing-x86_64/vimrc |   16 +
 10 files changed, 1010 insertions(+)

Copied: vim/repos/testing-i686/PKGBUILD (from rev 224193, vim/trunk/PKGBUILD)
===
--- testing-i686/PKGBUILD   (rev 0)
+++ testing-i686/PKGBUILD   2014-10-11 03:51:08 UTC (rev 224194)
@@ -0,0 +1,386 @@
+# Maintainer: Thomas Dziedzic gos...@gmail.com
+# Contributor: Jan heftig Steffens jan.steff...@gmail.com
+# Contributor: tobias [ tobias at archlinux org ]
+# Contributor: Daniel J Griffiths ghost1...@archlinux.us
+
+pkgbase=vim
+pkgname=('vim-minimal' 'vim' 'vim-python3' 'gvim' 'gvim-python3' 'vim-runtime')
+_topver=7.4
+_patchlevel=473
+__hgrev=48540909aba2
+_versiondir=vim${_topver//./}
+pkgver=${_topver}.${_patchlevel}
+pkgrel=1
+arch=('i686' 'x86_64')
+license=('custom:vim')
+url=http://www.vim.org;
+makedepends=('gpm' 'python2' 'python' 'ruby' 'libxt' 'desktop-file-utils' 
'gtk2' 'lua')
+source=(ftp://ftp.archlinux.org/other/vim/vim-${pkgver}.tar.xz;
+ftp://ftp.archlinux.org/other/vim/vim-${pkgver}.tar.xz.sig;
+'vimrc'
+'archlinux.vim'
+'gvim.desktop')
+md5sums=('f40c51bd44fa712c7922a108d1291865'
+ 'SKIP'
+ 'b9d4dcb9d3ee2e151dc4be1e94934f6a'
+ 'f3c8931847a12949bdd14c9d48fdabb3'
+ 'd90413bd21f400313a785bb4010120cd')
+
+# source PKGBUILD  mksource
+mksource() {
+  set -e
+
+  [[ -x /usr/bin/hg ]] || (echo hg not found. Install mercurial.  return 1)
+
+  __hgroot='http://vim.googlecode.com/hg/'
+  __hgrepo='vim'
+  __hgbranch='default'
+
+  hg clone -b ${__hgbranch} -u ${__hgrev} ${__hgroot}${__hgrepo} ${__hgrepo}
+
+  pushd ${__hgrepo}
+  if (( $(hg id -n)  $(hg id -nr ${__hgbranch}) )); then
+printf 'You are not building the latest revision!\n'
+printf Consider updating __hgrev to $(hg id -r ${__hgbranch}).\n
+  fi
+  popd
+
+  (cd vim/src  autoconf)
+
+  mv vim ${pkgbase}-${pkgver}
+  find ${pkgbase}-${pkgver} -depth -type d -name .hg -exec rm -rf {} \;
+  rm ${pkgbase}-${pkgver}/{.hgignore,.hgtags}
+  tar -cJf ${pkgbase}-${pkgver}.tar.xz ${pkgbase}-${pkgver}/*
+  rm -r ${pkgbase}-${pkgver}
+
+  gpg --detach-sign ${pkgbase}-${pkgver}.tar.xz
+
+  scp ${pkgbase}-${pkgver}.tar.xz* nym:/srv/ftp/other/vim/
+}
+
+build() {
+  # define the place for the global (g)vimrc file (set to /etc/vimrc)
+  sed -i 's|^.*\(#define SYS_.*VIMRC_FILE.*\) .*$|\1|' \
+${pkgbase}-${pkgver}/src/feature.h
+  sed -i 's|^.*\(#define VIMRC_FILE.*\) .*$|\1|' \
+${pkgbase}-${pkgver}/src/feature.h
+
+  for pkg in ${pkgname[@]}
+  do
+cp -a ${pkgbase}-${pkgver} ${pkg}-build
+  done
+
+  cd ${srcdir}/vim-minimal-build
+
+  ./configure \
+--prefix=/usr \
+--localstatedir=/var/lib/vim \
+--with-features=huge \
+--with-compiledby='Arch Linux' \
+--enable-gpm \
+--enable-acl \
+--with-x=no \
+--disable-gui \
+--enable-multibyte \
+--enable-cscope \
+--disable-netbeans \
+--enable-perlinterp \
+--disable-pythoninterp \
+--disable-python3interp \
+--disable-rubyinterp \
+--disable-luainterp
+
+  make
+
+  cd ${srcdir}/vim-build
+
+  ./configure \
+--prefix=/usr \
+--localstatedir=/var/lib/vim \
+--with-features=huge \
+--with-compiledby='Arch Linux' \
+--enable-gpm \
+--enable-acl \
+--with-x=no \
+--disable-gui \
+--enable-multibyte \
+--enable-cscope \
+--enable-netbeans \
+--enable-perlinterp \
+--enable

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

2014-09-24 Thread Thomas Dziedzic
Date: Wednesday, September 24, 2014 @ 17:14:59
  Author: td123
Revision: 222938

upgpkg: vim 7.4.459-1

bump

Modified:
  vim/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2014-09-24 15:02:23 UTC (rev 222937)
+++ PKGBUILD2014-09-24 15:14:59 UTC (rev 222938)
@@ -6,8 +6,8 @@
 pkgbase=vim
 pkgname=('vim-minimal' 'vim' 'vim-python3' 'gvim' 'gvim-python3' 'vim-runtime')
 _topver=7.4
-_patchlevel=410
-__hgrev=7af530381fec
+_patchlevel=459
+__hgrev=187798e5e4b5
 _versiondir=vim${_topver//./}
 pkgver=${_topver}.${_patchlevel}
 pkgrel=1
@@ -20,7 +20,7 @@
 'vimrc'
 'archlinux.vim'
 'gvim.desktop')
-md5sums=('8e9722fbd9ddc3c05d21210939c23f23'
+md5sums=('912b7585725a27fe67f102fe0ed2363b'
  'SKIP'
  'b9d4dcb9d3ee2e151dc4be1e94934f6a'
  'f3c8931847a12949bdd14c9d48fdabb3'
@@ -28,6 +28,8 @@
 
 # source PKGBUILD  mksource
 mksource() {
+  set -e
+
   [[ -x /usr/bin/hg ]] || (echo hg not found. Install mercurial.  return 1)
 
   __hgroot='http://vim.googlecode.com/hg/'
@@ -53,8 +55,7 @@
 
   gpg --detach-sign ${pkgbase}-${pkgver}.tar.xz
 
-  scp ${pkgbase}-${pkgver}.tar.xz nym:/srv/ftp/other/vim/
-  scp ${pkgbase}-${pkgver}.tar.xz.sig nym:/srv/ftp/other/vim/
+  scp ${pkgbase}-${pkgver}.tar.xz* nym:/srv/ftp/other/vim/
 }
 
 build() {



[arch-commits] Commit in vim/repos (12 files)

2014-09-24 Thread Thomas Dziedzic
Date: Wednesday, September 24, 2014 @ 17:16:44
  Author: td123
Revision: 222939

archrelease: copy trunk to testing-i686, testing-x86_64

Added:
  vim/repos/testing-i686/
  vim/repos/testing-i686/PKGBUILD
(from rev 222938, vim/trunk/PKGBUILD)
  vim/repos/testing-i686/archlinux.vim
(from rev 222938, vim/trunk/archlinux.vim)
  vim/repos/testing-i686/gvim.desktop
(from rev 222938, vim/trunk/gvim.desktop)
  vim/repos/testing-i686/gvim.install
(from rev 222938, vim/trunk/gvim.install)
  vim/repos/testing-i686/vimrc
(from rev 222938, vim/trunk/vimrc)
  vim/repos/testing-x86_64/
  vim/repos/testing-x86_64/PKGBUILD
(from rev 222938, vim/trunk/PKGBUILD)
  vim/repos/testing-x86_64/archlinux.vim
(from rev 222938, vim/trunk/archlinux.vim)
  vim/repos/testing-x86_64/gvim.desktop
(from rev 222938, vim/trunk/gvim.desktop)
  vim/repos/testing-x86_64/gvim.install
(from rev 222938, vim/trunk/gvim.install)
  vim/repos/testing-x86_64/vimrc
(from rev 222938, vim/trunk/vimrc)

--+
 testing-i686/PKGBUILD|  386 +
 testing-i686/archlinux.vim   |   25 ++
 testing-i686/gvim.desktop|   63 ++
 testing-i686/gvim.install|   15 +
 testing-i686/vimrc   |   16 +
 testing-x86_64/PKGBUILD  |  386 +
 testing-x86_64/archlinux.vim |   25 ++
 testing-x86_64/gvim.desktop  |   63 ++
 testing-x86_64/gvim.install  |   15 +
 testing-x86_64/vimrc |   16 +
 10 files changed, 1010 insertions(+)

Copied: vim/repos/testing-i686/PKGBUILD (from rev 222938, vim/trunk/PKGBUILD)
===
--- testing-i686/PKGBUILD   (rev 0)
+++ testing-i686/PKGBUILD   2014-09-24 15:16:44 UTC (rev 222939)
@@ -0,0 +1,386 @@
+# Maintainer: Thomas Dziedzic gos...@gmail.com
+# Contributor: Jan heftig Steffens jan.steff...@gmail.com
+# Contributor: tobias [ tobias at archlinux org ]
+# Contributor: Daniel J Griffiths ghost1...@archlinux.us
+
+pkgbase=vim
+pkgname=('vim-minimal' 'vim' 'vim-python3' 'gvim' 'gvim-python3' 'vim-runtime')
+_topver=7.4
+_patchlevel=459
+__hgrev=187798e5e4b5
+_versiondir=vim${_topver//./}
+pkgver=${_topver}.${_patchlevel}
+pkgrel=1
+arch=('i686' 'x86_64')
+license=('custom:vim')
+url=http://www.vim.org;
+makedepends=('gpm' 'python2' 'python' 'ruby' 'libxt' 'desktop-file-utils' 
'gtk2' 'lua')
+source=(ftp://ftp.archlinux.org/other/vim/vim-${pkgver}.tar.xz;
+ftp://ftp.archlinux.org/other/vim/vim-${pkgver}.tar.xz.sig;
+'vimrc'
+'archlinux.vim'
+'gvim.desktop')
+md5sums=('912b7585725a27fe67f102fe0ed2363b'
+ 'SKIP'
+ 'b9d4dcb9d3ee2e151dc4be1e94934f6a'
+ 'f3c8931847a12949bdd14c9d48fdabb3'
+ 'd90413bd21f400313a785bb4010120cd')
+
+# source PKGBUILD  mksource
+mksource() {
+  set -e
+
+  [[ -x /usr/bin/hg ]] || (echo hg not found. Install mercurial.  return 1)
+
+  __hgroot='http://vim.googlecode.com/hg/'
+  __hgrepo='vim'
+  __hgbranch='default'
+
+  hg clone -b ${__hgbranch} -u ${__hgrev} ${__hgroot}${__hgrepo} ${__hgrepo}
+
+  pushd ${__hgrepo}
+  if (( $(hg id -n)  $(hg id -nr ${__hgbranch}) )); then
+printf 'You are not building the latest revision!\n'
+printf Consider updating __hgrev to $(hg id -r ${__hgbranch}).\n
+  fi
+  popd
+
+  (cd vim/src  autoconf)
+
+  mv vim ${pkgbase}-${pkgver}
+  find ${pkgbase}-${pkgver} -depth -type d -name .hg -exec rm -rf {} \;
+  rm ${pkgbase}-${pkgver}/{.hgignore,.hgtags}
+  tar -cJf ${pkgbase}-${pkgver}.tar.xz ${pkgbase}-${pkgver}/*
+  rm -r ${pkgbase}-${pkgver}
+
+  gpg --detach-sign ${pkgbase}-${pkgver}.tar.xz
+
+  scp ${pkgbase}-${pkgver}.tar.xz* nym:/srv/ftp/other/vim/
+}
+
+build() {
+  # define the place for the global (g)vimrc file (set to /etc/vimrc)
+  sed -i 's|^.*\(#define SYS_.*VIMRC_FILE.*\) .*$|\1|' \
+${pkgbase}-${pkgver}/src/feature.h
+  sed -i 's|^.*\(#define VIMRC_FILE.*\) .*$|\1|' \
+${pkgbase}-${pkgver}/src/feature.h
+
+  for pkg in ${pkgname[@]}
+  do
+cp -a ${pkgbase}-${pkgver} ${pkg}-build
+  done
+
+  cd ${srcdir}/vim-minimal-build
+
+  ./configure \
+--prefix=/usr \
+--localstatedir=/var/lib/vim \
+--with-features=huge \
+--with-compiledby='Arch Linux' \
+--enable-gpm \
+--enable-acl \
+--with-x=no \
+--disable-gui \
+--enable-multibyte \
+--enable-cscope \
+--disable-netbeans \
+--enable-perlinterp \
+--disable-pythoninterp \
+--disable-python3interp \
+--disable-rubyinterp \
+--disable-luainterp
+
+  make
+
+  cd ${srcdir}/vim-build
+
+  ./configure \
+--prefix=/usr \
+--localstatedir=/var/lib/vim \
+--with-features=huge \
+--with-compiledby='Arch Linux' \
+--enable-gpm \
+--enable-acl \
+--with-x=no \
+--disable-gui \
+--enable-multibyte \
+--enable-cscope \
+--enable-netbeans \
+--enable-perlinterp \
+--enable

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

2014-08-19 Thread Thomas Dziedzic
Date: Wednesday, August 20, 2014 @ 03:58:07
  Author: td123
Revision: 220259

upgpkg: vim 7.4.410-1

bump and fix FS#41616 - [vim] Change to system vimrc location

Modified:
  vim/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2014-08-20 01:41:26 UTC (rev 220258)
+++ PKGBUILD2014-08-20 01:58:07 UTC (rev 220259)
@@ -6,11 +6,11 @@
 pkgbase=vim
 pkgname=('vim-minimal' 'vim' 'vim-python3' 'gvim' 'gvim-python3' 'vim-runtime')
 _topver=7.4
-_patchlevel=408
-__hgrev=4c08173b8b95
+_patchlevel=410
+__hgrev=7af530381fec
 _versiondir=vim${_topver//./}
 pkgver=${_topver}.${_patchlevel}
-pkgrel=2
+pkgrel=1
 arch=('i686' 'x86_64')
 license=('custom:vim')
 url=http://www.vim.org;
@@ -20,7 +20,7 @@
 'vimrc'
 'archlinux.vim'
 'gvim.desktop')
-md5sums=('80ab31325318c52c14184a41cb70e99b'
+md5sums=('8e9722fbd9ddc3c05d21210939c23f23'
  'SKIP'
  'b9d4dcb9d3ee2e151dc4be1e94934f6a'
  'f3c8931847a12949bdd14c9d48fdabb3'
@@ -58,6 +58,12 @@
 }
 
 build() {
+  # define the place for the global (g)vimrc file (set to /etc/vimrc)
+  sed -i 's|^.*\(#define SYS_.*VIMRC_FILE.*\) .*$|\1|' \
+${pkgbase}-${pkgver}/src/feature.h
+  sed -i 's|^.*\(#define VIMRC_FILE.*\) .*$|\1|' \
+${pkgbase}-${pkgver}/src/feature.h
+
   for pkg in ${pkgname[@]}
   do
 cp -a ${pkgbase}-${pkgver} ${pkg}-build



[arch-commits] Commit in vim/repos (20 files)

2014-08-19 Thread Thomas Dziedzic
Date: Wednesday, August 20, 2014 @ 04:00:47
  Author: td123
Revision: 220260

archrelease: copy trunk to testing-i686, testing-x86_64

Added:
  vim/repos/testing-i686/PKGBUILD
(from rev 220259, vim/trunk/PKGBUILD)
  vim/repos/testing-i686/archlinux.vim
(from rev 220259, vim/trunk/archlinux.vim)
  vim/repos/testing-i686/gvim.desktop
(from rev 220259, vim/trunk/gvim.desktop)
  vim/repos/testing-i686/gvim.install
(from rev 220259, vim/trunk/gvim.install)
  vim/repos/testing-i686/vimrc
(from rev 220259, vim/trunk/vimrc)
  vim/repos/testing-x86_64/PKGBUILD
(from rev 220259, vim/trunk/PKGBUILD)
  vim/repos/testing-x86_64/archlinux.vim
(from rev 220259, vim/trunk/archlinux.vim)
  vim/repos/testing-x86_64/gvim.desktop
(from rev 220259, vim/trunk/gvim.desktop)
  vim/repos/testing-x86_64/gvim.install
(from rev 220259, vim/trunk/gvim.install)
  vim/repos/testing-x86_64/vimrc
(from rev 220259, vim/trunk/vimrc)
Deleted:
  vim/repos/testing-i686/PKGBUILD
  vim/repos/testing-i686/archlinux.vim
  vim/repos/testing-i686/gvim.desktop
  vim/repos/testing-i686/gvim.install
  vim/repos/testing-i686/vimrc
  vim/repos/testing-x86_64/PKGBUILD
  vim/repos/testing-x86_64/archlinux.vim
  vim/repos/testing-x86_64/gvim.desktop
  vim/repos/testing-x86_64/gvim.install
  vim/repos/testing-x86_64/vimrc

--+
 /PKGBUILD|  770 +
 /archlinux.vim   |   50 ++
 /gvim.desktop|  126 ++
 /gvim.install|   30 +
 /vimrc   |   32 +
 testing-i686/PKGBUILD|  379 
 testing-i686/archlinux.vim   |   25 -
 testing-i686/gvim.desktop|   63 ---
 testing-i686/gvim.install|   15 
 testing-i686/vimrc   |   16 
 testing-x86_64/PKGBUILD  |  379 
 testing-x86_64/archlinux.vim |   25 -
 testing-x86_64/gvim.desktop  |   63 ---
 testing-x86_64/gvim.install  |   15 
 testing-x86_64/vimrc |   16 
 15 files changed, 1008 insertions(+), 996 deletions(-)

The diff is longer than the limit of 200KB.
Use svn diff -r 220259:220260 to see the changes.


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

2014-08-17 Thread Thomas Dziedzic
Date: Sunday, August 17, 2014 @ 08:41:35
  Author: td123
Revision: 220138

upgpkg: vim 7.4.408-1

bump and add a vim-minimal and vim-python3 version

Modified:
  vim/trunk/PKGBUILD

--+
 PKGBUILD |  154 +
 1 file changed, 124 insertions(+), 30 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2014-08-17 06:22:26 UTC (rev 220137)
+++ PKGBUILD2014-08-17 06:41:35 UTC (rev 220138)
@@ -4,10 +4,10 @@
 # Contributor: Daniel J Griffiths ghost1...@archlinux.us
 
 pkgbase=vim
-pkgname=('vim' 'gvim' 'gvim-python3' 'vim-runtime')
+pkgname=('vim-minimal' 'vim' 'vim-python3' 'gvim' 'gvim-python3' 'vim-runtime')
 _topver=7.4
-_patchlevel=404
-__hgrev=18fd959b07ef
+_patchlevel=408
+__hgrev=4c08173b8b95
 _versiondir=vim${_topver//./}
 pkgver=${_topver}.${_patchlevel}
 pkgrel=1
@@ -20,7 +20,7 @@
 'vimrc'
 'archlinux.vim'
 'gvim.desktop')
-md5sums=('cc1ad0cd3399af0a8fe4d5ea6dabf7e2'
+md5sums=('80ab31325318c52c14184a41cb70e99b'
  'SKIP'
  'b9d4dcb9d3ee2e151dc4be1e94934f6a'
  'f3c8931847a12949bdd14c9d48fdabb3'
@@ -43,34 +43,28 @@
   fi
   popd
 
-  mv vim ${pkgname}-${pkgver}
-  find ${pkgname}-${pkgver} -depth -type d -name .hg -exec rm -rf {} \;
-  rm ${pkgname}-${pkgver}/{.hgignore,.hgtags}
-  tar -cJf ${pkgname}-${pkgver}.tar.xz ${pkgname}-${pkgver}/*
-  rm -r ${pkgname}-${pkgver}
+  (cd vim/src  autoconf)
 
-  gpg --detach-sign ${pkgname}-${pkgver}.tar.xz
+  mv vim ${pkgbase}-${pkgver}
+  find ${pkgbase}-${pkgver} -depth -type d -name .hg -exec rm -rf {} \;
+  rm ${pkgbase}-${pkgver}/{.hgignore,.hgtags}
+  tar -cJf ${pkgbase}-${pkgver}.tar.xz ${pkgbase}-${pkgver}/*
+  rm -r ${pkgbase}-${pkgver}
 
-  scp ${pkgname}-${pkgver}.tar.xz nym:/srv/ftp/other/vim/
-  scp ${pkgname}-${pkgver}.tar.xz.sig nym:/srv/ftp/other/vim/
+  gpg --detach-sign ${pkgbase}-${pkgver}.tar.xz
+
+  scp ${pkgbase}-${pkgver}.tar.xz nym:/srv/ftp/other/vim/
+  scp ${pkgbase}-${pkgver}.tar.xz.sig nym:/srv/ftp/other/vim/
 }
 
 build() {
-  cp -a ${pkgname}-${pkgver} vim-build
+  for pkg in ${pkgname[@]}
+  do
+cp -a ${pkgbase}-${pkgver} ${pkg}-build
+  done
 
-  # define the place for the global (g)vimrc file (set to /etc/vimrc)
-  sed -i 's|^.*\(#define SYS_.*VIMRC_FILE.*\) .*$|\1|' \
-vim-build/src/feature.h
-  sed -i 's|^.*\(#define VIMRC_FILE.*\) .*$|\1|' \
-vim-build/src/feature.h
+  cd ${srcdir}/vim-minimal-build
 
-  (cd vim-build/src  autoconf)
-
-  cp -a vim-build gvim-build
-  cp -a vim-build gvim-python3-build
-
-  cd ${srcdir}/vim-build
-
   ./configure \
 --prefix=/usr \
 --localstatedir=/var/lib/vim \
@@ -91,6 +85,50 @@
 
   make
 
+  cd ${srcdir}/vim-build
+
+  ./configure \
+--prefix=/usr \
+--localstatedir=/var/lib/vim \
+--with-features=huge \
+--with-compiledby='Arch Linux' \
+--enable-gpm \
+--enable-acl \
+--with-x=no \
+--disable-gui \
+--enable-multibyte \
+--enable-cscope \
+--enable-netbeans \
+--enable-perlinterp \
+--enable-pythoninterp \
+--disable-python3interp \
+--enable-rubyinterp \
+--enable-luainterp
+
+  make
+
+  cd ${srcdir}/vim-python3-build
+
+  ./configure \
+--prefix=/usr \
+--localstatedir=/var/lib/vim \
+--with-features=huge \
+--with-compiledby='Arch Linux' \
+--enable-gpm \
+--enable-acl \
+--with-x=no \
+--disable-gui \
+--enable-multibyte \
+--enable-cscope \
+--enable-netbeans \
+--enable-perlinterp \
+--disable-pythoninterp \
+--enable-python3interp \
+--enable-rubyinterp \
+--enable-luainterp
+
+  make
+
   cd ${srcdir}/gvim-build
 
   ./configure \
@@ -148,11 +186,39 @@
   #make test
 }
 
-package_vim() {
-  pkgdesc='Vi Improved, a highly configurable, improved version of the vi text 
editor'
+package_vim-minimal() {
+  pkgdesc='Vi Improved, a highly configurable, improved version of the vi text 
editor (with a minimal set of dependencies)'
   depends=(vim-runtime=${pkgver}-${pkgrel} 'gpm')
-  conflicts=('gvim')
+  conflicts=('vim' 'vim-python3' 'gvim' 'gvim-python3')
+  provides=(vim=${pkgver}-${pkgrel})
 
+  cd ${srcdir}/vim-minimal-build
+  make -j1 VIMRCLOC=/etc DESTDIR=${pkgdir} install
+
+  # provided by (n)vi in core
+  rm ${pkgdir}/usr/bin/{ex,view}
+
+  # delete some manpages
+  find ${pkgdir}/usr/share/man -type d -name 'man1' 2/dev/null | \
+while read _mandir; do
+cd ${_mandir}
+rm -f ex.1 view.1 # provided by (n)vi
+rm -f evim.1# this does not make sense if we have no GUI
+  done
+
+  # Runtime provided by runtime package
+  rm -r ${pkgdir}/usr/share/vim
+
+  # license
+  install -Dm644 ${srcdir}/vim-${pkgver}/runtime/doc/uganda.txt \
+${pkgdir}/usr/share/licenses/${pkgname}/license.txt
+}
+
+package_vim() {
+  pkgdesc='Vi Improved, a highly configurable, improved version of the vi text 
editor (with support for additional scripting 

[arch-commits] Commit in vim/repos (12 files)

2014-08-17 Thread Thomas Dziedzic
Date: Sunday, August 17, 2014 @ 08:42:32
  Author: td123
Revision: 220139

archrelease: copy trunk to testing-i686, testing-x86_64

Added:
  vim/repos/testing-i686/
  vim/repos/testing-i686/PKGBUILD
(from rev 220138, vim/trunk/PKGBUILD)
  vim/repos/testing-i686/archlinux.vim
(from rev 220138, vim/trunk/archlinux.vim)
  vim/repos/testing-i686/gvim.desktop
(from rev 220138, vim/trunk/gvim.desktop)
  vim/repos/testing-i686/gvim.install
(from rev 220138, vim/trunk/gvim.install)
  vim/repos/testing-i686/vimrc
(from rev 220138, vim/trunk/vimrc)
  vim/repos/testing-x86_64/
  vim/repos/testing-x86_64/PKGBUILD
(from rev 220138, vim/trunk/PKGBUILD)
  vim/repos/testing-x86_64/archlinux.vim
(from rev 220138, vim/trunk/archlinux.vim)
  vim/repos/testing-x86_64/gvim.desktop
(from rev 220138, vim/trunk/gvim.desktop)
  vim/repos/testing-x86_64/gvim.install
(from rev 220138, vim/trunk/gvim.install)
  vim/repos/testing-x86_64/vimrc
(from rev 220138, vim/trunk/vimrc)

--+
 testing-i686/PKGBUILD|  379 +
 testing-i686/archlinux.vim   |   25 ++
 testing-i686/gvim.desktop|   63 ++
 testing-i686/gvim.install|   15 +
 testing-i686/vimrc   |   16 +
 testing-x86_64/PKGBUILD  |  379 +
 testing-x86_64/archlinux.vim |   25 ++
 testing-x86_64/gvim.desktop  |   63 ++
 testing-x86_64/gvim.install  |   15 +
 testing-x86_64/vimrc |   16 +
 10 files changed, 996 insertions(+)

Copied: vim/repos/testing-i686/PKGBUILD (from rev 220138, vim/trunk/PKGBUILD)
===
--- testing-i686/PKGBUILD   (rev 0)
+++ testing-i686/PKGBUILD   2014-08-17 06:42:32 UTC (rev 220139)
@@ -0,0 +1,379 @@
+# Maintainer: Thomas Dziedzic gos...@gmail.com
+# Contributor: Jan heftig Steffens jan.steff...@gmail.com
+# Contributor: tobias [ tobias at archlinux org ]
+# Contributor: Daniel J Griffiths ghost1...@archlinux.us
+
+pkgbase=vim
+pkgname=('vim-minimal' 'vim' 'vim-python3' 'gvim' 'gvim-python3' 'vim-runtime')
+_topver=7.4
+_patchlevel=408
+__hgrev=4c08173b8b95
+_versiondir=vim${_topver//./}
+pkgver=${_topver}.${_patchlevel}
+pkgrel=1
+arch=('i686' 'x86_64')
+license=('custom:vim')
+url=http://www.vim.org;
+makedepends=('gpm' 'python2' 'python' 'ruby' 'libxt' 'desktop-file-utils' 
'gtk2' 'lua')
+source=(ftp://ftp.archlinux.org/other/vim/vim-${pkgver}.tar.xz;
+ftp://ftp.archlinux.org/other/vim/vim-${pkgver}.tar.xz.sig;
+'vimrc'
+'archlinux.vim'
+'gvim.desktop')
+md5sums=('80ab31325318c52c14184a41cb70e99b'
+ 'SKIP'
+ 'b9d4dcb9d3ee2e151dc4be1e94934f6a'
+ 'f3c8931847a12949bdd14c9d48fdabb3'
+ 'd90413bd21f400313a785bb4010120cd')
+
+# source PKGBUILD  mksource
+mksource() {
+  [[ -x /usr/bin/hg ]] || (echo hg not found. Install mercurial.  return 1)
+
+  __hgroot='http://vim.googlecode.com/hg/'
+  __hgrepo='vim'
+  __hgbranch='default'
+
+  hg clone -b ${__hgbranch} -u ${__hgrev} ${__hgroot}${__hgrepo} ${__hgrepo}
+
+  pushd ${__hgrepo}
+  if (( $(hg id -n)  $(hg id -nr ${__hgbranch}) )); then
+printf 'You are not building the latest revision!\n'
+printf Consider updating __hgrev to $(hg id -r ${__hgbranch}).\n
+  fi
+  popd
+
+  (cd vim/src  autoconf)
+
+  mv vim ${pkgbase}-${pkgver}
+  find ${pkgbase}-${pkgver} -depth -type d -name .hg -exec rm -rf {} \;
+  rm ${pkgbase}-${pkgver}/{.hgignore,.hgtags}
+  tar -cJf ${pkgbase}-${pkgver}.tar.xz ${pkgbase}-${pkgver}/*
+  rm -r ${pkgbase}-${pkgver}
+
+  gpg --detach-sign ${pkgbase}-${pkgver}.tar.xz
+
+  scp ${pkgbase}-${pkgver}.tar.xz nym:/srv/ftp/other/vim/
+  scp ${pkgbase}-${pkgver}.tar.xz.sig nym:/srv/ftp/other/vim/
+}
+
+build() {
+  for pkg in ${pkgname[@]}
+  do
+cp -a ${pkgbase}-${pkgver} ${pkg}-build
+  done
+
+  cd ${srcdir}/vim-minimal-build
+
+  ./configure \
+--prefix=/usr \
+--localstatedir=/var/lib/vim \
+--with-features=huge \
+--with-compiledby='Arch Linux' \
+--enable-gpm \
+--enable-acl \
+--with-x=no \
+--disable-gui \
+--enable-multibyte \
+--enable-cscope \
+--disable-netbeans \
+--enable-perlinterp \
+--disable-pythoninterp \
+--disable-python3interp \
+--disable-rubyinterp \
+--disable-luainterp
+
+  make
+
+  cd ${srcdir}/vim-build
+
+  ./configure \
+--prefix=/usr \
+--localstatedir=/var/lib/vim \
+--with-features=huge \
+--with-compiledby='Arch Linux' \
+--enable-gpm \
+--enable-acl \
+--with-x=no \
+--disable-gui \
+--enable-multibyte \
+--enable-cscope \
+--enable-netbeans \
+--enable-perlinterp \
+--enable-pythoninterp \
+--disable-python3interp \
+--enable-rubyinterp \
+--enable-luainterp
+
+  make
+
+  cd ${srcdir}/vim-python3-build
+
+  ./configure \
+--prefix=/usr \
+--localstatedir=/var/lib/vim

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

2014-08-17 Thread Thomas Dziedzic
Date: Monday, August 18, 2014 @ 06:16:28
  Author: td123
Revision: 220179

upgpkg: vim 7.4.408-2

fix FS#41585 - [vim-python3] Package dependency

Modified:
  vim/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2014-08-17 18:03:02 UTC (rev 220178)
+++ PKGBUILD2014-08-18 04:16:28 UTC (rev 220179)
@@ -10,7 +10,7 @@
 __hgrev=4c08173b8b95
 _versiondir=vim${_topver//./}
 pkgver=${_topver}.${_patchlevel}
-pkgrel=1
+pkgrel=2
 arch=('i686' 'x86_64')
 license=('custom:vim')
 url=http://www.vim.org;
@@ -243,7 +243,7 @@
 
 package_vim-python3() {
   pkgdesc='Vi Improved, a highly configurable, improved version of the vi text 
editor (with support for additional scripting languages)'
-  depends=(vim-runtime=${pkgver}-${pkgrel} 'gpm' 'ruby' 'lua' 'python2')
+  depends=(vim-runtime=${pkgver}-${pkgrel} 'gpm' 'ruby' 'lua' 'python')
   conflicts=('vim-minimal' 'vim' 'gvim' 'gvim-python3')
   provides=(vim=${pkgver}-${pkgrel})
 



[arch-commits] Commit in vim/repos (20 files)

2014-08-17 Thread Thomas Dziedzic
Date: Monday, August 18, 2014 @ 06:17:33
  Author: td123
Revision: 220180

archrelease: copy trunk to testing-i686, testing-x86_64

Added:
  vim/repos/testing-i686/PKGBUILD
(from rev 220179, vim/trunk/PKGBUILD)
  vim/repos/testing-i686/archlinux.vim
(from rev 220179, vim/trunk/archlinux.vim)
  vim/repos/testing-i686/gvim.desktop
(from rev 220179, vim/trunk/gvim.desktop)
  vim/repos/testing-i686/gvim.install
(from rev 220179, vim/trunk/gvim.install)
  vim/repos/testing-i686/vimrc
(from rev 220179, vim/trunk/vimrc)
  vim/repos/testing-x86_64/PKGBUILD
(from rev 220179, vim/trunk/PKGBUILD)
  vim/repos/testing-x86_64/archlinux.vim
(from rev 220179, vim/trunk/archlinux.vim)
  vim/repos/testing-x86_64/gvim.desktop
(from rev 220179, vim/trunk/gvim.desktop)
  vim/repos/testing-x86_64/gvim.install
(from rev 220179, vim/trunk/gvim.install)
  vim/repos/testing-x86_64/vimrc
(from rev 220179, vim/trunk/vimrc)
Deleted:
  vim/repos/testing-i686/PKGBUILD
  vim/repos/testing-i686/archlinux.vim
  vim/repos/testing-i686/gvim.desktop
  vim/repos/testing-i686/gvim.install
  vim/repos/testing-i686/vimrc
  vim/repos/testing-x86_64/PKGBUILD
  vim/repos/testing-x86_64/archlinux.vim
  vim/repos/testing-x86_64/gvim.desktop
  vim/repos/testing-x86_64/gvim.install
  vim/repos/testing-x86_64/vimrc

--+
 /PKGBUILD|  758 +
 /archlinux.vim   |   50 ++
 /gvim.desktop|  126 ++
 /gvim.install|   30 +
 /vimrc   |   32 +
 testing-i686/PKGBUILD|  379 
 testing-i686/archlinux.vim   |   25 -
 testing-i686/gvim.desktop|   63 ---
 testing-i686/gvim.install|   15 
 testing-i686/vimrc   |   16 
 testing-x86_64/PKGBUILD  |  379 
 testing-x86_64/archlinux.vim |   25 -
 testing-x86_64/gvim.desktop  |   63 ---
 testing-x86_64/gvim.install  |   15 
 testing-x86_64/vimrc |   16 
 15 files changed, 996 insertions(+), 996 deletions(-)

The diff is longer than the limit of 200KB.
Use svn diff -r 220179:220180 to see the changes.


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

2014-08-15 Thread Thomas Dziedzic
Date: Friday, August 15, 2014 @ 16:14:59
  Author: td123
Revision: 219748

upgpkg: vim 7.4.404-1

bump

Modified:
  vim/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2014-08-15 08:31:34 UTC (rev 219747)
+++ PKGBUILD2014-08-15 14:14:59 UTC (rev 219748)
@@ -6,8 +6,8 @@
 pkgbase=vim
 pkgname=('vim' 'gvim' 'gvim-python3' 'vim-runtime')
 _topver=7.4
-_patchlevel=383
-__hgrev=7090d7f160f7
+_patchlevel=404
+__hgrev=18fd959b07ef
 _versiondir=vim${_topver//./}
 pkgver=${_topver}.${_patchlevel}
 pkgrel=1
@@ -20,7 +20,7 @@
 'vimrc'
 'archlinux.vim'
 'gvim.desktop')
-md5sums=('43a4cc2905659697550c2fb2b282789e'
+md5sums=('cc1ad0cd3399af0a8fe4d5ea6dabf7e2'
  'SKIP'
  'b9d4dcb9d3ee2e151dc4be1e94934f6a'
  'f3c8931847a12949bdd14c9d48fdabb3'



[arch-commits] Commit in vim/repos (12 files)

2014-08-15 Thread Thomas Dziedzic
Date: Friday, August 15, 2014 @ 16:15:54
  Author: td123
Revision: 219749

archrelease: copy trunk to testing-i686, testing-x86_64

Added:
  vim/repos/testing-i686/
  vim/repos/testing-i686/PKGBUILD
(from rev 219748, vim/trunk/PKGBUILD)
  vim/repos/testing-i686/archlinux.vim
(from rev 219748, vim/trunk/archlinux.vim)
  vim/repos/testing-i686/gvim.desktop
(from rev 219748, vim/trunk/gvim.desktop)
  vim/repos/testing-i686/gvim.install
(from rev 219748, vim/trunk/gvim.install)
  vim/repos/testing-i686/vimrc
(from rev 219748, vim/trunk/vimrc)
  vim/repos/testing-x86_64/
  vim/repos/testing-x86_64/PKGBUILD
(from rev 219748, vim/trunk/PKGBUILD)
  vim/repos/testing-x86_64/archlinux.vim
(from rev 219748, vim/trunk/archlinux.vim)
  vim/repos/testing-x86_64/gvim.desktop
(from rev 219748, vim/trunk/gvim.desktop)
  vim/repos/testing-x86_64/gvim.install
(from rev 219748, vim/trunk/gvim.install)
  vim/repos/testing-x86_64/vimrc
(from rev 219748, vim/trunk/vimrc)

--+
 testing-i686/PKGBUILD|  285 +
 testing-i686/archlinux.vim   |   25 +++
 testing-i686/gvim.desktop|   63 +
 testing-i686/gvim.install|   15 ++
 testing-i686/vimrc   |   16 ++
 testing-x86_64/PKGBUILD  |  285 +
 testing-x86_64/archlinux.vim |   25 +++
 testing-x86_64/gvim.desktop  |   63 +
 testing-x86_64/gvim.install  |   15 ++
 testing-x86_64/vimrc |   16 ++
 10 files changed, 808 insertions(+)

Copied: vim/repos/testing-i686/PKGBUILD (from rev 219748, vim/trunk/PKGBUILD)
===
--- testing-i686/PKGBUILD   (rev 0)
+++ testing-i686/PKGBUILD   2014-08-15 14:15:54 UTC (rev 219749)
@@ -0,0 +1,285 @@
+# Maintainer: Thomas Dziedzic gos...@gmail.com
+# Contributor: Jan heftig Steffens jan.steff...@gmail.com
+# Contributor: tobias [ tobias at archlinux org ]
+# Contributor: Daniel J Griffiths ghost1...@archlinux.us
+
+pkgbase=vim
+pkgname=('vim' 'gvim' 'gvim-python3' 'vim-runtime')
+_topver=7.4
+_patchlevel=404
+__hgrev=18fd959b07ef
+_versiondir=vim${_topver//./}
+pkgver=${_topver}.${_patchlevel}
+pkgrel=1
+arch=('i686' 'x86_64')
+license=('custom:vim')
+url=http://www.vim.org;
+makedepends=('gpm' 'python2' 'python' 'ruby' 'libxt' 'desktop-file-utils' 
'gtk2' 'lua')
+source=(ftp://ftp.archlinux.org/other/vim/vim-${pkgver}.tar.xz;
+ftp://ftp.archlinux.org/other/vim/vim-${pkgver}.tar.xz.sig;
+'vimrc'
+'archlinux.vim'
+'gvim.desktop')
+md5sums=('cc1ad0cd3399af0a8fe4d5ea6dabf7e2'
+ 'SKIP'
+ 'b9d4dcb9d3ee2e151dc4be1e94934f6a'
+ 'f3c8931847a12949bdd14c9d48fdabb3'
+ 'd90413bd21f400313a785bb4010120cd')
+
+# source PKGBUILD  mksource
+mksource() {
+  [[ -x /usr/bin/hg ]] || (echo hg not found. Install mercurial.  return 1)
+
+  __hgroot='http://vim.googlecode.com/hg/'
+  __hgrepo='vim'
+  __hgbranch='default'
+
+  hg clone -b ${__hgbranch} -u ${__hgrev} ${__hgroot}${__hgrepo} ${__hgrepo}
+
+  pushd ${__hgrepo}
+  if (( $(hg id -n)  $(hg id -nr ${__hgbranch}) )); then
+printf 'You are not building the latest revision!\n'
+printf Consider updating __hgrev to $(hg id -r ${__hgbranch}).\n
+  fi
+  popd
+
+  mv vim ${pkgname}-${pkgver}
+  find ${pkgname}-${pkgver} -depth -type d -name .hg -exec rm -rf {} \;
+  rm ${pkgname}-${pkgver}/{.hgignore,.hgtags}
+  tar -cJf ${pkgname}-${pkgver}.tar.xz ${pkgname}-${pkgver}/*
+  rm -r ${pkgname}-${pkgver}
+
+  gpg --detach-sign ${pkgname}-${pkgver}.tar.xz
+
+  scp ${pkgname}-${pkgver}.tar.xz nym:/srv/ftp/other/vim/
+  scp ${pkgname}-${pkgver}.tar.xz.sig nym:/srv/ftp/other/vim/
+}
+
+build() {
+  cp -a ${pkgname}-${pkgver} vim-build
+
+  # define the place for the global (g)vimrc file (set to /etc/vimrc)
+  sed -i 's|^.*\(#define SYS_.*VIMRC_FILE.*\) .*$|\1|' \
+vim-build/src/feature.h
+  sed -i 's|^.*\(#define VIMRC_FILE.*\) .*$|\1|' \
+vim-build/src/feature.h
+
+  (cd vim-build/src  autoconf)
+
+  cp -a vim-build gvim-build
+  cp -a vim-build gvim-python3-build
+
+  cd ${srcdir}/vim-build
+
+  ./configure \
+--prefix=/usr \
+--localstatedir=/var/lib/vim \
+--with-features=huge \
+--with-compiledby='Arch Linux' \
+--enable-gpm \
+--enable-acl \
+--with-x=no \
+--disable-gui \
+--enable-multibyte \
+--enable-cscope \
+--disable-netbeans \
+--enable-perlinterp \
+--disable-pythoninterp \
+--disable-python3interp \
+--disable-rubyinterp \
+--disable-luainterp
+
+  make
+
+  cd ${srcdir}/gvim-build
+
+  ./configure \
+--prefix=/usr \
+--localstatedir=/var/lib/vim \
+--with-features=huge \
+--with-compiledby='Arch Linux' \
+--enable-gpm \
+--enable-acl \
+--with-x=yes \
+--enable-gui=gtk2 \
+--enable-multibyte \
+--enable-cscope \
+--enable-netbeans \
+--enable

[arch-commits] Commit in vim/trunk (PKGBUILD archlinux.vim)

2014-07-29 Thread Thomas Dziedzic
Date: Wednesday, July 30, 2014 @ 04:17:29
  Author: td123
Revision: 218352

upgpkg: vim 7.4.383-1

bump  fix FS#41376 - [vim-runtime] Add .jpg and .png to suffixes

Modified:
  vim/trunk/PKGBUILD
  vim/trunk/archlinux.vim

---+
 PKGBUILD  |8 
 archlinux.vim |5 ++---
 2 files changed, 6 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2014-07-29 23:52:18 UTC (rev 218351)
+++ PKGBUILD2014-07-30 02:17:29 UTC (rev 218352)
@@ -6,8 +6,8 @@
 pkgbase=vim
 pkgname=('vim' 'gvim' 'gvim-python3' 'vim-runtime')
 _topver=7.4
-_patchlevel=373
-__hgrev=32a77cc160d9
+_patchlevel=383
+__hgrev=7090d7f160f7
 _versiondir=vim${_topver//./}
 pkgver=${_topver}.${_patchlevel}
 pkgrel=1
@@ -20,10 +20,10 @@
 'vimrc'
 'archlinux.vim'
 'gvim.desktop')
-md5sums=('74493914d81495f3cc6423d33a3de50d'
+md5sums=('43a4cc2905659697550c2fb2b282789e'
  'SKIP'
  'b9d4dcb9d3ee2e151dc4be1e94934f6a'
- '10353a61aadc3f276692d0e17db1478e'
+ 'f3c8931847a12949bdd14c9d48fdabb3'
  'd90413bd21f400313a785bb4010120cd')
 
 # source PKGBUILD  mksource

Modified: archlinux.vim
===
--- archlinux.vim   2014-07-29 23:52:18 UTC (rev 218351)
+++ archlinux.vim   2014-07-30 02:17:29 UTC (rev 218352)
@@ -1,6 +1,6 @@
  The ArchLinux global vimrc - setting only a few sane defaults
 
- Maintainer:  Tobias Kieslich [tobias funnychar archlinux dot org]
+ Maintainer:  Thomas Dziedzic [gos...@gmail.com]
 
  NEVER EDIT THIS FILE, IT'S OVERWRITTEN UPON UPGRADES, GLOBAL CONFIGURATION
  SHALL BE DONE IN /etc/vimrc, USER SPECIFIC CONFIGURATION IN ~/.vimrc
@@ -16,9 +16,8 @@
 
  Suffixes that get lower priority when doing tab completion for filenames.
  These are files we are not likely to want to edit or read.
-set 
suffixes=.bak,~,.swp,.o,.info,.aux,.log,.dvi,.bbl,.blg,.brf,.cb,.ind,.idx,.ilg,.inx,.out,.toc
+set 
suffixes=.bak,~,.swp,.o,.info,.aux,.log,.dvi,.bbl,.blg,.brf,.cb,.ind,.idx,.ilg,.inx,.out,.toc,.png,.jpg
 
-
 if has('gui_running')
Make shift-insert work like in Xterm
   map S-Insert MiddleMouse



[arch-commits] Commit in vim/repos (12 files)

2014-07-29 Thread Thomas Dziedzic
Date: Wednesday, July 30, 2014 @ 04:18:37
  Author: td123
Revision: 218353

archrelease: copy trunk to testing-i686, testing-x86_64

Added:
  vim/repos/testing-i686/
  vim/repos/testing-i686/PKGBUILD
(from rev 218352, vim/trunk/PKGBUILD)
  vim/repos/testing-i686/archlinux.vim
(from rev 218352, vim/trunk/archlinux.vim)
  vim/repos/testing-i686/gvim.desktop
(from rev 218352, vim/trunk/gvim.desktop)
  vim/repos/testing-i686/gvim.install
(from rev 218352, vim/trunk/gvim.install)
  vim/repos/testing-i686/vimrc
(from rev 218352, vim/trunk/vimrc)
  vim/repos/testing-x86_64/
  vim/repos/testing-x86_64/PKGBUILD
(from rev 218352, vim/trunk/PKGBUILD)
  vim/repos/testing-x86_64/archlinux.vim
(from rev 218352, vim/trunk/archlinux.vim)
  vim/repos/testing-x86_64/gvim.desktop
(from rev 218352, vim/trunk/gvim.desktop)
  vim/repos/testing-x86_64/gvim.install
(from rev 218352, vim/trunk/gvim.install)
  vim/repos/testing-x86_64/vimrc
(from rev 218352, vim/trunk/vimrc)

--+
 testing-i686/PKGBUILD|  285 +
 testing-i686/archlinux.vim   |   25 +++
 testing-i686/gvim.desktop|   63 +
 testing-i686/gvim.install|   15 ++
 testing-i686/vimrc   |   16 ++
 testing-x86_64/PKGBUILD  |  285 +
 testing-x86_64/archlinux.vim |   25 +++
 testing-x86_64/gvim.desktop  |   63 +
 testing-x86_64/gvim.install  |   15 ++
 testing-x86_64/vimrc |   16 ++
 10 files changed, 808 insertions(+)

Copied: vim/repos/testing-i686/PKGBUILD (from rev 218352, vim/trunk/PKGBUILD)
===
--- testing-i686/PKGBUILD   (rev 0)
+++ testing-i686/PKGBUILD   2014-07-30 02:18:37 UTC (rev 218353)
@@ -0,0 +1,285 @@
+# Maintainer: Thomas Dziedzic gos...@gmail.com
+# Contributor: Jan heftig Steffens jan.steff...@gmail.com
+# Contributor: tobias [ tobias at archlinux org ]
+# Contributor: Daniel J Griffiths ghost1...@archlinux.us
+
+pkgbase=vim
+pkgname=('vim' 'gvim' 'gvim-python3' 'vim-runtime')
+_topver=7.4
+_patchlevel=383
+__hgrev=7090d7f160f7
+_versiondir=vim${_topver//./}
+pkgver=${_topver}.${_patchlevel}
+pkgrel=1
+arch=('i686' 'x86_64')
+license=('custom:vim')
+url=http://www.vim.org;
+makedepends=('gpm' 'python2' 'python' 'ruby' 'libxt' 'desktop-file-utils' 
'gtk2' 'lua')
+source=(ftp://ftp.archlinux.org/other/vim/vim-${pkgver}.tar.xz;
+ftp://ftp.archlinux.org/other/vim/vim-${pkgver}.tar.xz.sig;
+'vimrc'
+'archlinux.vim'
+'gvim.desktop')
+md5sums=('43a4cc2905659697550c2fb2b282789e'
+ 'SKIP'
+ 'b9d4dcb9d3ee2e151dc4be1e94934f6a'
+ 'f3c8931847a12949bdd14c9d48fdabb3'
+ 'd90413bd21f400313a785bb4010120cd')
+
+# source PKGBUILD  mksource
+mksource() {
+  [[ -x /usr/bin/hg ]] || (echo hg not found. Install mercurial.  return 1)
+
+  __hgroot='http://vim.googlecode.com/hg/'
+  __hgrepo='vim'
+  __hgbranch='default'
+
+  hg clone -b ${__hgbranch} -u ${__hgrev} ${__hgroot}${__hgrepo} ${__hgrepo}
+
+  pushd ${__hgrepo}
+  if (( $(hg id -n)  $(hg id -nr ${__hgbranch}) )); then
+printf 'You are not building the latest revision!\n'
+printf Consider updating __hgrev to $(hg id -r ${__hgbranch}).\n
+  fi
+  popd
+
+  mv vim ${pkgname}-${pkgver}
+  find ${pkgname}-${pkgver} -depth -type d -name .hg -exec rm -rf {} \;
+  rm ${pkgname}-${pkgver}/{.hgignore,.hgtags}
+  tar -cJf ${pkgname}-${pkgver}.tar.xz ${pkgname}-${pkgver}/*
+  rm -r ${pkgname}-${pkgver}
+
+  gpg --detach-sign ${pkgname}-${pkgver}.tar.xz
+
+  scp ${pkgname}-${pkgver}.tar.xz nym:/srv/ftp/other/vim/
+  scp ${pkgname}-${pkgver}.tar.xz.sig nym:/srv/ftp/other/vim/
+}
+
+build() {
+  cp -a ${pkgname}-${pkgver} vim-build
+
+  # define the place for the global (g)vimrc file (set to /etc/vimrc)
+  sed -i 's|^.*\(#define SYS_.*VIMRC_FILE.*\) .*$|\1|' \
+vim-build/src/feature.h
+  sed -i 's|^.*\(#define VIMRC_FILE.*\) .*$|\1|' \
+vim-build/src/feature.h
+
+  (cd vim-build/src  autoconf)
+
+  cp -a vim-build gvim-build
+  cp -a vim-build gvim-python3-build
+
+  cd ${srcdir}/vim-build
+
+  ./configure \
+--prefix=/usr \
+--localstatedir=/var/lib/vim \
+--with-features=huge \
+--with-compiledby='Arch Linux' \
+--enable-gpm \
+--enable-acl \
+--with-x=no \
+--disable-gui \
+--enable-multibyte \
+--enable-cscope \
+--disable-netbeans \
+--enable-perlinterp \
+--disable-pythoninterp \
+--disable-python3interp \
+--disable-rubyinterp \
+--disable-luainterp
+
+  make
+
+  cd ${srcdir}/gvim-build
+
+  ./configure \
+--prefix=/usr \
+--localstatedir=/var/lib/vim \
+--with-features=huge \
+--with-compiledby='Arch Linux' \
+--enable-gpm \
+--enable-acl \
+--with-x=yes \
+--enable-gui=gtk2 \
+--enable-multibyte \
+--enable-cscope \
+--enable-netbeans \
+--enable

[arch-commits] Commit in (haskell-terminfo haskell-xhtml)

2014-07-22 Thread Thomas Dziedzic
Date: Tuesday, July 22, 2014 @ 15:56:20
  Author: td123
Revision: 116107

remove haskell-xhtml and haskell-terminfo from svn since they are now provided 
by ghc

Deleted:
  haskell-terminfo/
  haskell-xhtml/



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

2014-07-20 Thread Thomas Dziedzic
Date: Sunday, July 20, 2014 @ 16:30:25
  Author: td123
Revision: 217498

upgpkg: vim 7.4.373-1

bump

Modified:
  vim/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2014-07-20 13:34:08 UTC (rev 217497)
+++ PKGBUILD2014-07-20 14:30:25 UTC (rev 217498)
@@ -6,11 +6,11 @@
 pkgbase=vim
 pkgname=('vim' 'gvim' 'gvim-python3' 'vim-runtime')
 _topver=7.4
-_patchlevel=335
-__hgrev=4aa63564dd3f
+_patchlevel=373
+__hgrev=32a77cc160d9
 _versiondir=vim${_topver//./}
 pkgver=${_topver}.${_patchlevel}
-pkgrel=4
+pkgrel=1
 arch=('i686' 'x86_64')
 license=('custom:vim')
 url=http://www.vim.org;
@@ -20,7 +20,7 @@
 'vimrc'
 'archlinux.vim'
 'gvim.desktop')
-md5sums=('e6b40c71599d69acc8f2bbf768242896'
+md5sums=('74493914d81495f3cc6423d33a3de50d'
  'SKIP'
  'b9d4dcb9d3ee2e151dc4be1e94934f6a'
  '10353a61aadc3f276692d0e17db1478e'



[arch-commits] Commit in vim/repos (12 files)

2014-07-20 Thread Thomas Dziedzic
Date: Sunday, July 20, 2014 @ 16:31:22
  Author: td123
Revision: 217499

archrelease: copy trunk to testing-i686, testing-x86_64

Added:
  vim/repos/testing-i686/
  vim/repos/testing-i686/PKGBUILD
(from rev 217498, vim/trunk/PKGBUILD)
  vim/repos/testing-i686/archlinux.vim
(from rev 217498, vim/trunk/archlinux.vim)
  vim/repos/testing-i686/gvim.desktop
(from rev 217498, vim/trunk/gvim.desktop)
  vim/repos/testing-i686/gvim.install
(from rev 217498, vim/trunk/gvim.install)
  vim/repos/testing-i686/vimrc
(from rev 217498, vim/trunk/vimrc)
  vim/repos/testing-x86_64/
  vim/repos/testing-x86_64/PKGBUILD
(from rev 217498, vim/trunk/PKGBUILD)
  vim/repos/testing-x86_64/archlinux.vim
(from rev 217498, vim/trunk/archlinux.vim)
  vim/repos/testing-x86_64/gvim.desktop
(from rev 217498, vim/trunk/gvim.desktop)
  vim/repos/testing-x86_64/gvim.install
(from rev 217498, vim/trunk/gvim.install)
  vim/repos/testing-x86_64/vimrc
(from rev 217498, vim/trunk/vimrc)

--+
 testing-i686/PKGBUILD|  285 +
 testing-i686/archlinux.vim   |   26 +++
 testing-i686/gvim.desktop|   63 +
 testing-i686/gvim.install|   15 ++
 testing-i686/vimrc   |   16 ++
 testing-x86_64/PKGBUILD  |  285 +
 testing-x86_64/archlinux.vim |   26 +++
 testing-x86_64/gvim.desktop  |   63 +
 testing-x86_64/gvim.install  |   15 ++
 testing-x86_64/vimrc |   16 ++
 10 files changed, 810 insertions(+)

Copied: vim/repos/testing-i686/PKGBUILD (from rev 217498, vim/trunk/PKGBUILD)
===
--- testing-i686/PKGBUILD   (rev 0)
+++ testing-i686/PKGBUILD   2014-07-20 14:31:22 UTC (rev 217499)
@@ -0,0 +1,285 @@
+# Maintainer: Thomas Dziedzic gos...@gmail.com
+# Contributor: Jan heftig Steffens jan.steff...@gmail.com
+# Contributor: tobias [ tobias at archlinux org ]
+# Contributor: Daniel J Griffiths ghost1...@archlinux.us
+
+pkgbase=vim
+pkgname=('vim' 'gvim' 'gvim-python3' 'vim-runtime')
+_topver=7.4
+_patchlevel=373
+__hgrev=32a77cc160d9
+_versiondir=vim${_topver//./}
+pkgver=${_topver}.${_patchlevel}
+pkgrel=1
+arch=('i686' 'x86_64')
+license=('custom:vim')
+url=http://www.vim.org;
+makedepends=('gpm' 'python2' 'python' 'ruby' 'libxt' 'desktop-file-utils' 
'gtk2' 'lua')
+source=(ftp://ftp.archlinux.org/other/vim/vim-${pkgver}.tar.xz;
+ftp://ftp.archlinux.org/other/vim/vim-${pkgver}.tar.xz.sig;
+'vimrc'
+'archlinux.vim'
+'gvim.desktop')
+md5sums=('74493914d81495f3cc6423d33a3de50d'
+ 'SKIP'
+ 'b9d4dcb9d3ee2e151dc4be1e94934f6a'
+ '10353a61aadc3f276692d0e17db1478e'
+ 'd90413bd21f400313a785bb4010120cd')
+
+# source PKGBUILD  mksource
+mksource() {
+  [[ -x /usr/bin/hg ]] || (echo hg not found. Install mercurial.  return 1)
+
+  __hgroot='http://vim.googlecode.com/hg/'
+  __hgrepo='vim'
+  __hgbranch='default'
+
+  hg clone -b ${__hgbranch} -u ${__hgrev} ${__hgroot}${__hgrepo} ${__hgrepo}
+
+  pushd ${__hgrepo}
+  if (( $(hg id -n)  $(hg id -nr ${__hgbranch}) )); then
+printf 'You are not building the latest revision!\n'
+printf Consider updating __hgrev to $(hg id -r ${__hgbranch}).\n
+  fi
+  popd
+
+  mv vim ${pkgname}-${pkgver}
+  find ${pkgname}-${pkgver} -depth -type d -name .hg -exec rm -rf {} \;
+  rm ${pkgname}-${pkgver}/{.hgignore,.hgtags}
+  tar -cJf ${pkgname}-${pkgver}.tar.xz ${pkgname}-${pkgver}/*
+  rm -r ${pkgname}-${pkgver}
+
+  gpg --detach-sign ${pkgname}-${pkgver}.tar.xz
+
+  scp ${pkgname}-${pkgver}.tar.xz nym:/srv/ftp/other/vim/
+  scp ${pkgname}-${pkgver}.tar.xz.sig nym:/srv/ftp/other/vim/
+}
+
+build() {
+  cp -a ${pkgname}-${pkgver} vim-build
+
+  # define the place for the global (g)vimrc file (set to /etc/vimrc)
+  sed -i 's|^.*\(#define SYS_.*VIMRC_FILE.*\) .*$|\1|' \
+vim-build/src/feature.h
+  sed -i 's|^.*\(#define VIMRC_FILE.*\) .*$|\1|' \
+vim-build/src/feature.h
+
+  (cd vim-build/src  autoconf)
+
+  cp -a vim-build gvim-build
+  cp -a vim-build gvim-python3-build
+
+  cd ${srcdir}/vim-build
+
+  ./configure \
+--prefix=/usr \
+--localstatedir=/var/lib/vim \
+--with-features=huge \
+--with-compiledby='Arch Linux' \
+--enable-gpm \
+--enable-acl \
+--with-x=no \
+--disable-gui \
+--enable-multibyte \
+--enable-cscope \
+--disable-netbeans \
+--enable-perlinterp \
+--disable-pythoninterp \
+--disable-python3interp \
+--disable-rubyinterp \
+--disable-luainterp
+
+  make
+
+  cd ${srcdir}/gvim-build
+
+  ./configure \
+--prefix=/usr \
+--localstatedir=/var/lib/vim \
+--with-features=huge \
+--with-compiledby='Arch Linux' \
+--enable-gpm \
+--enable-acl \
+--with-x=yes \
+--enable-gui=gtk2 \
+--enable-multibyte \
+--enable-cscope \
+--enable-netbeans \
+--enable

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

2014-07-17 Thread Thomas Dziedzic
Date: Friday, July 18, 2014 @ 03:35:00
  Author: td123
Revision: 115840

upgpkg: haddock 2.14.3-1

bump  rebuild

Modified:
  haddock/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2014-07-17 21:40:50 UTC (rev 115839)
+++ PKGBUILD2014-07-18 01:35:00 UTC (rev 115840)
@@ -4,7 +4,7 @@
 # Contributor: Arch Haskell Team arch-hask...@haskell.org
 
 pkgname=haddock
-pkgver=2.14.2
+pkgver=2.14.3
 pkgrel=1
 pkgdesc='Tool for generating documentation for Haskell libraries'
 url='http://hackage.haskell.org/package/haddock/'
@@ -11,10 +11,10 @@
 license=('custom:BSD3')
 arch=('x86_64' 'i686')
 makedepends=('alex' 'happy')
-depends=('ghc' 'haskell-xhtml' 'haskell-ghc-paths')
+depends=('ghc=7.8.3-2' 'haskell-ghc-paths')
 install=$pkgname.install
 
source=(http://hackage.haskell.org/packages/archive/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz;)
-sha256sums=('33df230cd8baeed87caa31fc13257a921778b6b700c78bd9237024e08d942641')
+sha256sums=('d454f64ed0ea79ec9a94d4d79c8635be74d752d028b737dbe3b5deb9749e310c')
 options=('staticlibs')
 
 build() {



[arch-commits] Commit in haddock/repos (staging-i686 staging-x86_64)

2014-07-17 Thread Thomas Dziedzic
Date: Friday, July 18, 2014 @ 03:39:11
  Author: td123
Revision: 115843

remove accidental commit by stagingpkg since this is a community package, we 
should have used community-stagingpkg

Deleted:
  haddock/repos/staging-i686/
  haddock/repos/staging-x86_64/



[arch-commits] Commit in haddock/repos (6 files)

2014-07-17 Thread Thomas Dziedzic
Date: Friday, July 18, 2014 @ 03:37:55
  Author: td123
Revision: 115842

archrelease: copy trunk to community-staging-x86_64, community-staging-i686

Added:
  haddock/repos/community-staging-i686/
  haddock/repos/community-staging-i686/PKGBUILD
(from rev 115841, haddock/trunk/PKGBUILD)
  haddock/repos/community-staging-i686/haddock.install
(from rev 115841, haddock/trunk/haddock.install)
  haddock/repos/community-staging-x86_64/
  haddock/repos/community-staging-x86_64/PKGBUILD
(from rev 115841, haddock/trunk/PKGBUILD)
  haddock/repos/community-staging-x86_64/haddock.install
(from rev 115841, haddock/trunk/haddock.install)

--+
 community-staging-i686/PKGBUILD  |   48 +
 community-staging-i686/haddock.install   |   25 +++
 community-staging-x86_64/PKGBUILD|   48 +
 community-staging-x86_64/haddock.install |   25 +++
 4 files changed, 146 insertions(+)

Copied: haddock/repos/community-staging-i686/PKGBUILD (from rev 115841, 
haddock/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2014-07-18 01:37:55 UTC (rev 115842)
@@ -0,0 +1,48 @@
+# $Id$
+# Maintainer: Alexander Rødseth rods...@gmail.com
+# Contributor: Vesa Kaihlavirta v...@archlinux.org
+# Contributor: Arch Haskell Team arch-hask...@haskell.org
+
+pkgname=haddock
+pkgver=2.14.3
+pkgrel=1
+pkgdesc='Tool for generating documentation for Haskell libraries'
+url='http://hackage.haskell.org/package/haddock/'
+license=('custom:BSD3')
+arch=('x86_64' 'i686')
+makedepends=('alex' 'happy')
+depends=('ghc=7.8.3-2' 'haskell-ghc-paths')
+install=$pkgname.install
+source=(http://hackage.haskell.org/packages/archive/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz;)
+sha256sums=('d454f64ed0ea79ec9a94d4d79c8635be74d752d028b737dbe3b5deb9749e310c')
+options=('staticlibs')
+
+build() {
+  cd $pkgname-$pkgver
+
+  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
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e s|ghc-pkg.*unregister[^ ]* |'--force' | unregister.sh
+}
+
+package() {
+  cd $pkgname-$pkgver
+  
+  install -Dm744 register.sh $pkgdir/usr/share/haskell/$pkgname/register.sh
+  install -m744 unregister.sh \
+$pkgdir/usr/share/haskell/$pkgname/unregister.sh
+  install -dm755 $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
+  install -Dm644 LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE
+  rm -f $pkgdir/usr/share/doc/$pkgname/LICENSE
+  mv $pkgdir/usr/bin/haddock $pkgdir/usr/bin/haddock-cabal
+}
+
+# vim:set ts=2 sw=2 et:

Copied: haddock/repos/community-staging-i686/haddock.install (from rev 115841, 
haddock/trunk/haddock.install)
===
--- community-staging-i686/haddock.install  (rev 0)
+++ community-staging-i686/haddock.install  2014-07-18 01:37:55 UTC (rev 
115842)
@@ -0,0 +1,25 @@
+pkgname=haddock
+HS_DIR=usr/share/haskell/haddock
+
+post_upgrade() {
+  ${HS_DIR}/register.sh  /dev/null
+  post_remove
+}
+
+post_remove() {
+  (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)  /dev/null
+}
+
+pre_remove() {
+  ${HS_DIR}/unregister.sh  /dev/null
+}
+
+post_install() {
+   post_upgrade
+}
+
+pre_upgrade() {
+   pre_remove
+}
+
+# vim:set ts=2 sw=2 et:

Copied: haddock/repos/community-staging-x86_64/PKGBUILD (from rev 115841, 
haddock/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2014-07-18 01:37:55 UTC (rev 115842)
@@ -0,0 +1,48 @@
+# $Id$
+# Maintainer: Alexander Rødseth rods...@gmail.com
+# Contributor: Vesa Kaihlavirta v...@archlinux.org
+# Contributor: Arch Haskell Team arch-hask...@haskell.org
+
+pkgname=haddock
+pkgver=2.14.3
+pkgrel=1
+pkgdesc='Tool for generating documentation for Haskell libraries'
+url='http://hackage.haskell.org/package/haddock/'
+license=('custom:BSD3')
+arch=('x86_64' 'i686')
+makedepends=('alex' 'happy')
+depends=('ghc=7.8.3-2' 'haskell-ghc-paths')
+install=$pkgname.install
+source=(http://hackage.haskell.org/packages/archive/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz;)
+sha256sums=('d454f64ed0ea79ec9a94d4d79c8635be74d752d028b737dbe3b5deb9749e310c')
+options=('staticlibs')
+
+build() {
+  cd $pkgname-$pkgver
+
+  runhaskell Setup configure -O -p --enable-split-objs --enable-shared \
+--prefix=/usr 

[arch-commits] Commit in haddock/repos (6 files)

2014-07-17 Thread Thomas Dziedzic
Date: Friday, July 18, 2014 @ 03:35:35
  Author: td123
Revision: 115841

archrelease: copy trunk to staging-x86_64, staging-i686

Added:
  haddock/repos/staging-i686/
  haddock/repos/staging-i686/PKGBUILD
(from rev 115840, haddock/trunk/PKGBUILD)
  haddock/repos/staging-i686/haddock.install
(from rev 115840, haddock/trunk/haddock.install)
  haddock/repos/staging-x86_64/
  haddock/repos/staging-x86_64/PKGBUILD
(from rev 115840, haddock/trunk/PKGBUILD)
  haddock/repos/staging-x86_64/haddock.install
(from rev 115840, haddock/trunk/haddock.install)

+
 staging-i686/PKGBUILD  |   48 +++
 staging-i686/haddock.install   |   25 
 staging-x86_64/PKGBUILD|   48 +++
 staging-x86_64/haddock.install |   25 
 4 files changed, 146 insertions(+)

Copied: haddock/repos/staging-i686/PKGBUILD (from rev 115840, 
haddock/trunk/PKGBUILD)
===
--- staging-i686/PKGBUILD   (rev 0)
+++ staging-i686/PKGBUILD   2014-07-18 01:35:35 UTC (rev 115841)
@@ -0,0 +1,48 @@
+# $Id$
+# Maintainer: Alexander Rødseth rods...@gmail.com
+# Contributor: Vesa Kaihlavirta v...@archlinux.org
+# Contributor: Arch Haskell Team arch-hask...@haskell.org
+
+pkgname=haddock
+pkgver=2.14.3
+pkgrel=1
+pkgdesc='Tool for generating documentation for Haskell libraries'
+url='http://hackage.haskell.org/package/haddock/'
+license=('custom:BSD3')
+arch=('x86_64' 'i686')
+makedepends=('alex' 'happy')
+depends=('ghc=7.8.3-2' 'haskell-ghc-paths')
+install=$pkgname.install
+source=(http://hackage.haskell.org/packages/archive/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz;)
+sha256sums=('d454f64ed0ea79ec9a94d4d79c8635be74d752d028b737dbe3b5deb9749e310c')
+options=('staticlibs')
+
+build() {
+  cd $pkgname-$pkgver
+
+  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
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e s|ghc-pkg.*unregister[^ ]* |'--force' | unregister.sh
+}
+
+package() {
+  cd $pkgname-$pkgver
+  
+  install -Dm744 register.sh $pkgdir/usr/share/haskell/$pkgname/register.sh
+  install -m744 unregister.sh \
+$pkgdir/usr/share/haskell/$pkgname/unregister.sh
+  install -dm755 $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
+  install -Dm644 LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE
+  rm -f $pkgdir/usr/share/doc/$pkgname/LICENSE
+  mv $pkgdir/usr/bin/haddock $pkgdir/usr/bin/haddock-cabal
+}
+
+# vim:set ts=2 sw=2 et:

Copied: haddock/repos/staging-i686/haddock.install (from rev 115840, 
haddock/trunk/haddock.install)
===
--- staging-i686/haddock.install(rev 0)
+++ staging-i686/haddock.install2014-07-18 01:35:35 UTC (rev 115841)
@@ -0,0 +1,25 @@
+pkgname=haddock
+HS_DIR=usr/share/haskell/haddock
+
+post_upgrade() {
+  ${HS_DIR}/register.sh  /dev/null
+  post_remove
+}
+
+post_remove() {
+  (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)  /dev/null
+}
+
+pre_remove() {
+  ${HS_DIR}/unregister.sh  /dev/null
+}
+
+post_install() {
+   post_upgrade
+}
+
+pre_upgrade() {
+   pre_remove
+}
+
+# vim:set ts=2 sw=2 et:

Copied: haddock/repos/staging-x86_64/PKGBUILD (from rev 115840, 
haddock/trunk/PKGBUILD)
===
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2014-07-18 01:35:35 UTC (rev 115841)
@@ -0,0 +1,48 @@
+# $Id$
+# Maintainer: Alexander Rødseth rods...@gmail.com
+# Contributor: Vesa Kaihlavirta v...@archlinux.org
+# Contributor: Arch Haskell Team arch-hask...@haskell.org
+
+pkgname=haddock
+pkgver=2.14.3
+pkgrel=1
+pkgdesc='Tool for generating documentation for Haskell libraries'
+url='http://hackage.haskell.org/package/haddock/'
+license=('custom:BSD3')
+arch=('x86_64' 'i686')
+makedepends=('alex' 'happy')
+depends=('ghc=7.8.3-2' 'haskell-ghc-paths')
+install=$pkgname.install
+source=(http://hackage.haskell.org/packages/archive/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz;)
+sha256sums=('d454f64ed0ea79ec9a94d4d79c8635be74d752d028b737dbe3b5deb9749e310c')
+options=('staticlibs')
+
+build() {
+  cd $pkgname-$pkgver
+
+  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
+  runhaskell Setup 

[arch-commits] Commit in ghc/repos (20 files)

2014-07-14 Thread Thomas Dziedzic
Date: Monday, July 14, 2014 @ 08:25:55
  Author: td123
Revision: 216876

archrelease: copy trunk to staging-i686, staging-x86_64

Added:
  ghc/repos/staging-i686/PKGBUILD
(from rev 216874, ghc/trunk/PKGBUILD)
  ghc/repos/staging-i686/build.mk
(from rev 216874, ghc/trunk/build.mk)
  ghc/repos/staging-i686/ghc
(from rev 216874, ghc/trunk/ghc)
  ghc/repos/staging-i686/ghc.install
(from rev 216874, ghc/trunk/ghc.install)
  ghc/repos/staging-i686/print-provides-replaces.sh
(from rev 216874, ghc/trunk/print-provides-replaces.sh)
  ghc/repos/staging-x86_64/PKGBUILD
(from rev 216874, ghc/trunk/PKGBUILD)
  ghc/repos/staging-x86_64/build.mk
(from rev 216874, ghc/trunk/build.mk)
  ghc/repos/staging-x86_64/ghc
(from rev 216875, ghc/trunk/ghc)
  ghc/repos/staging-x86_64/ghc.install
(from rev 216875, ghc/trunk/ghc.install)
  ghc/repos/staging-x86_64/print-provides-replaces.sh
(from rev 216875, ghc/trunk/print-provides-replaces.sh)
Deleted:
  ghc/repos/staging-i686/PKGBUILD
  ghc/repos/staging-i686/build.mk
  ghc/repos/staging-i686/ghc
  ghc/repos/staging-i686/ghc.install
  ghc/repos/staging-i686/print-provides-replaces.sh
  ghc/repos/staging-x86_64/PKGBUILD
  ghc/repos/staging-x86_64/build.mk
  ghc/repos/staging-x86_64/ghc
  ghc/repos/staging-x86_64/ghc.install
  ghc/repos/staging-x86_64/print-provides-replaces.sh

---+
 /PKGBUILD |  298 
 /build.mk |  400 
 /ghc  |   20 +
 /ghc.install  |   20 +
 /print-provides-replaces.sh   |   84 +
 staging-i686/PKGBUILD |  142 -
 staging-i686/build.mk |  200 --
 staging-i686/ghc  |   10 
 staging-i686/ghc.install  |   10 
 staging-i686/print-provides-replaces.sh   |   47 ---
 staging-x86_64/PKGBUILD   |  142 -
 staging-x86_64/build.mk   |  200 --
 staging-x86_64/ghc|   10 
 staging-x86_64/ghc.install|   10 
 staging-x86_64/print-provides-replaces.sh |   47 ---
 15 files changed, 822 insertions(+), 818 deletions(-)

The diff is longer than the limit of 200KB.
Use svn diff -r 216875:216876 to see the changes.


[arch-commits] Commit in ghc/trunk (PKGBUILD print-provides-replaces.sh)

2014-07-14 Thread Thomas Dziedzic
Date: Monday, July 14, 2014 @ 08:24:51
  Author: td123
Revision: 216874

upgpkg: ghc 7.8.3-2

add missing provides due to ticket https://ghc.haskell.org/trac/ghc/ticket/8919 
getting fixed

Modified:
  ghc/trunk/PKGBUILD
  ghc/trunk/print-provides-replaces.sh

+
 PKGBUILD   |9 -
 print-provides-replaces.sh |5 -
 2 files changed, 8 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2014-07-14 04:25:18 UTC (rev 216873)
+++ PKGBUILD2014-07-14 06:24:51 UTC (rev 216874)
@@ -11,7 +11,7 @@
 
 pkgname=ghc
 pkgver=7.8.3
-pkgrel=1
+pkgrel=2
 pkgdesc='The Glasgow Haskell Compiler'
 arch=('i686' 'x86_64')
 url='http://www.haskell.org/ghc/'
@@ -45,6 +45,10 @@
   'haskell-transformers=0.3.0.0'
   'haskell-unix=2.7.0.1'
   'haskell-cabal=1.18.1.3'
+  'ghc=7.8.3-1'
+  'haskell-haskeline=0.7.1.2'
+  'haskell-terminfo=0.4.0.0'
+  'haskell-xhtml=3000.2.1'
  )
 replaces=('haskell-array'
   'haskell-base'
@@ -70,6 +74,9 @@
   'haskell-transformers'
   'haskell-unix'
   'haskell-cabal'
+  'haskell-haskeline'
+  'haskell-terminfo'
+  'haskell-xhtml'
  )
 source=(http://www.haskell.org/ghc/dist/${pkgver}/ghc-${pkgver}-src.tar.xz;
 
http://www.haskell.org/ghc/dist/${pkgver}/ghc-${pkgver}-testsuite.tar.xz;

Modified: print-provides-replaces.sh
===
--- print-provides-replaces.sh  2014-07-14 04:25:18 UTC (rev 216873)
+++ print-provides-replaces.sh  2014-07-14 06:24:51 UTC (rev 216874)
@@ -12,11 +12,6 @@
 exclude['Win32']=1
 # no integer-simple because we use integer-gmp
 exclude['integer-simple']=1
-# the rest are installed as dependencies of ghc and some shouldn't even be 
installed!
-# https://ghc.haskell.org/trac/ghc/ticket/8919
-exclude['haskeline']=1
-exclude['terminfo']=1
-exclude['xhtml']=1
 # extract excluded libraries from ghc.mk
 for exclude_pkg in $(sed 's/PKGS_THAT_ARE_INTREE_ONLY := //p' -n 
src/ghc-${pkgver}/ghc.mk); do
   exclude[${exclude_pkg}]=1



[arch-commits] Commit in ghc/repos (12 files)

2014-07-10 Thread Thomas Dziedzic
Date: Friday, July 11, 2014 @ 01:47:29
  Author: td123
Revision: 216778

archrelease: copy trunk to staging-i686, staging-x86_64

Added:
  ghc/repos/staging-i686/
  ghc/repos/staging-i686/PKGBUILD
(from rev 216777, ghc/trunk/PKGBUILD)
  ghc/repos/staging-i686/build.mk
(from rev 216777, ghc/trunk/build.mk)
  ghc/repos/staging-i686/ghc
(from rev 216777, ghc/trunk/ghc)
  ghc/repos/staging-i686/ghc.install
(from rev 216777, ghc/trunk/ghc.install)
  ghc/repos/staging-i686/print-provides-replaces.sh
(from rev 216777, ghc/trunk/print-provides-replaces.sh)
  ghc/repos/staging-x86_64/
  ghc/repos/staging-x86_64/PKGBUILD
(from rev 216777, ghc/trunk/PKGBUILD)
  ghc/repos/staging-x86_64/build.mk
(from rev 216777, ghc/trunk/build.mk)
  ghc/repos/staging-x86_64/ghc
(from rev 216777, ghc/trunk/ghc)
  ghc/repos/staging-x86_64/ghc.install
(from rev 216777, ghc/trunk/ghc.install)
  ghc/repos/staging-x86_64/print-provides-replaces.sh
(from rev 216777, ghc/trunk/print-provides-replaces.sh)

---+
 staging-i686/PKGBUILD |  142 +++
 staging-i686/build.mk |  200 
 staging-i686/ghc  |   10 +
 staging-i686/ghc.install  |   10 +
 staging-i686/print-provides-replaces.sh   |   47 ++
 staging-x86_64/PKGBUILD   |  142 +++
 staging-x86_64/build.mk   |  200 
 staging-x86_64/ghc|   10 +
 staging-x86_64/ghc.install|   10 +
 staging-x86_64/print-provides-replaces.sh |   47 ++
 10 files changed, 818 insertions(+)

Copied: ghc/repos/staging-i686/PKGBUILD (from rev 216777, ghc/trunk/PKGBUILD)
===
--- staging-i686/PKGBUILD   (rev 0)
+++ staging-i686/PKGBUILD   2014-07-10 23:47:29 UTC (rev 216778)
@@ -0,0 +1,142 @@
+# $Id$
+# Maintainer: Thomas Dziedzic gos...@gmail.com
+# Maintainer: Vesa Kaihlavirta v...@archlinux.org
+# Special note for devs looking to upgrade this package:
+#   ghc places a unique hash for each library when it is built.
+#   Libraries depend on versions specified by those hashes.
+#   This implies that all libraries need to be rebuilt when ghc is rebuilt.
+
+# use the following command to print out packages that need to get rebuilt
+# grep -r ghc /var/abs/ | awk -F '/' '{ print $5; }' | sort -u
+
+pkgname=ghc
+pkgver=7.8.3
+pkgrel=1
+pkgdesc='The Glasgow Haskell Compiler'
+arch=('i686' 'x86_64')
+url='http://www.haskell.org/ghc/'
+license=('custom')
+depends=('perl' 'gmp' 'gcc' 'libffi')
+makedepends=('ghc' 'perl' 'libxslt' 'docbook-xsl')
+checkdepends=('python2')
+install='ghc.install'
+options=('staticlibs')
+provides=('haskell-array=0.5.0.0'
+  'haskell-base=4.7.0.1'
+  'haskell-binary=0.7.1.0'
+  'haskell-bin-package-db=0.0.0.0'
+  'haskell-bytestring=0.10.4.0'
+  'haskell-containers=0.5.5.1'
+  'haskell-deepseq=1.3.0.2'
+  'haskell-directory=1.2.1.0'
+  'haskell-filepath=1.3.0.2'
+  'haskell-ghc-prim=0.3.1.0'
+  'haskell-haskell2010=1.1.2.0'
+  'haskell-haskell98=2.0.0.3'
+  'haskell-hoopl=3.10.0.1'
+  'haskell-hpc=0.6.0.1'
+  'haskell-integer-gmp=0.5.1.0'
+  'haskell-old-locale=1.0.0.6'
+  'haskell-old-time=1.1.0.2'
+  'haskell-pretty=1.1.1.1'
+  'haskell-process=1.2.0.0'
+  'haskell-template-haskell=2.9.0.0'
+  'haskell-time=1.4.2'
+  'haskell-transformers=0.3.0.0'
+  'haskell-unix=2.7.0.1'
+  'haskell-cabal=1.18.1.3'
+ )
+replaces=('haskell-array'
+  'haskell-base'
+  'haskell-binary'
+  'haskell-bin-package-db'
+  'haskell-bytestring'
+  'haskell-containers'
+  'haskell-deepseq'
+  'haskell-directory'
+  'haskell-filepath'
+  'haskell-ghc-prim'
+  'haskell-haskell2010'
+  'haskell-haskell98'
+  'haskell-hoopl'
+  'haskell-hpc'
+  'haskell-integer-gmp'
+  'haskell-old-locale'
+  'haskell-old-time'
+  'haskell-pretty'
+  'haskell-process'
+  'haskell-template-haskell'
+  'haskell-time'
+  'haskell-transformers'
+  'haskell-unix'
+  'haskell-cabal'
+ )
+source=(http://www.haskell.org/ghc/dist/${pkgver}/ghc-${pkgver}-src.tar.xz;
+
http://www.haskell.org/ghc/dist/${pkgver}/ghc-${pkgver}-testsuite.tar.xz;
+'build.mk'
+'ghc')
+md5sums=('5e34b2a29564596c9ed83fb8667b47d4'
+ '7ca72a039d44ca2586c02863392b5dce'
+ 'c367ef26300648ee9b8aca3dee5c9669'
+ 'c1d46d86752c50dd85e7143b029fa07f')
+
+build() {
+  cd ghc-${pkgver}
+
+  cp ${srcdir}/build.mk mk/build.mk
+
+  ./configure

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

2014-07-10 Thread Thomas Dziedzic
Date: Friday, July 11, 2014 @ 01:46:30
  Author: td123
Revision: 216777

upgpkg: ghc 7.8.3-1

bump

Modified:
  ghc/trunk/PKGBUILD

--+
 PKGBUILD |   60 ++--
 1 file changed, 30 insertions(+), 30 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2014-07-10 20:34:58 UTC (rev 216776)
+++ PKGBUILD2014-07-10 23:46:30 UTC (rev 216777)
@@ -10,8 +10,8 @@
 # grep -r ghc /var/abs/ | awk -F '/' '{ print $5; }' | sort -u
 
 pkgname=ghc
-pkgver=7.8.2
-pkgrel=4
+pkgver=7.8.3
+pkgrel=1
 pkgdesc='The Glasgow Haskell Compiler'
 arch=('i686' 'x86_64')
 url='http://www.haskell.org/ghc/'
@@ -22,7 +22,7 @@
 install='ghc.install'
 options=('staticlibs')
 provides=('haskell-array=0.5.0.0'
-  'haskell-base=4.7.0.0'
+  'haskell-base=4.7.0.1'
   'haskell-binary=0.7.1.0'
   'haskell-bin-package-db=0.0.0.0'
   'haskell-bytestring=0.10.4.0'
@@ -46,37 +46,37 @@
   'haskell-unix=2.7.0.1'
   'haskell-cabal=1.18.1.3'
  )
-replaces=('haskell-array0.5.0.0'
-  'haskell-base4.7.0.0'
-  'haskell-binary0.7.1.0'
-  'haskell-bin-package-db0.0.0.0'
-  'haskell-bytestring0.10.4.0'
-  'haskell-containers0.5.5.1'
-  'haskell-deepseq1.3.0.2'
-  'haskell-directory1.2.1.0'
-  'haskell-filepath1.3.0.2'
-  'haskell-ghc-prim0.3.1.0'
-  'haskell-haskell20101.1.2.0'
-  'haskell-haskell982.0.0.3'
-  'haskell-hoopl3.10.0.1'
-  'haskell-hpc0.6.0.1'
-  'haskell-integer-gmp0.5.1.0'
-  'haskell-old-locale1.0.0.6'
-  'haskell-old-time1.1.0.2'
-  'haskell-pretty1.1.1.1'
-  'haskell-process1.2.0.0'
-  'haskell-template-haskell2.9.0.0'
-  'haskell-time1.4.2'
+replaces=('haskell-array'
+  'haskell-base'
+  'haskell-binary'
+  'haskell-bin-package-db'
+  'haskell-bytestring'
+  'haskell-containers'
+  'haskell-deepseq'
+  'haskell-directory'
+  'haskell-filepath'
+  'haskell-ghc-prim'
+  'haskell-haskell2010'
+  'haskell-haskell98'
+  'haskell-hoopl'
+  'haskell-hpc'
+  'haskell-integer-gmp'
+  'haskell-old-locale'
+  'haskell-old-time'
+  'haskell-pretty'
+  'haskell-process'
+  'haskell-template-haskell'
+  'haskell-time'
   'haskell-transformers'
-  'haskell-unix2.7.0.1'
-  'haskell-cabal1.18.1.3'
+  'haskell-unix'
+  'haskell-cabal'
  )
 source=(http://www.haskell.org/ghc/dist/${pkgver}/ghc-${pkgver}-src.tar.xz;
 
http://www.haskell.org/ghc/dist/${pkgver}/ghc-${pkgver}-testsuite.tar.xz;
 'build.mk'
 'ghc')
-md5sums=('97578e0c27574a99e0d5071a7f35d136'
- 'ac54f7fa453010149a573740705ecbfb'
+md5sums=('5e34b2a29564596c9ed83fb8667b47d4'
+ '7ca72a039d44ca2586c02863392b5dce'
  'c367ef26300648ee9b8aca3dee5c9669'
  'c1d46d86752c50dd85e7143b029fa07f')
 
@@ -88,7 +88,7 @@
   ./configure \
 --prefix=/usr \
 --with-system-libffi \
---with-ffi-includes=/usr/lib/libffi-3.0.13/include
+--with-ffi-includes=/usr/lib/libffi-3.1/include
 
   make
 }
@@ -135,7 +135,7 @@
 ${pkgdir}/usr/share/licenses/ghc
 
   # provide non vanilla bash completion since ghc currently doesn't ship with 
any:
-  # https://ghc.haskell.org/trac/ghc/ticket/9006
+  # https://ghc.haskell.org/trac/ghc/ticket/9005
   install -d ${pkgdir}/usr/share/bash-completion/completions
   install -m644 ${srcdir}/ghc \
 ${pkgdir}/usr/share/bash-completion/completions



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

2014-07-10 Thread Thomas Dziedzic
Date: Friday, July 11, 2014 @ 02:44:41
  Author: td123
Revision: 216779

upgpkg: cabal-install 1.20.0.3-2

bump

Modified:
  cabal-install/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2014-07-10 23:47:29 UTC (rev 216778)
+++ PKGBUILD2014-07-11 00:44:41 UTC (rev 216779)
@@ -4,7 +4,7 @@
 
 pkgname=cabal-install
 pkgver=1.20.0.3
-pkgrel=1
+pkgrel=2
 pkgdesc=The command-line interface for Cabal and Hackage.
 url=http://hackage.haskell.org/package/cabal-install;
 license=('custom:BSD3')



[arch-commits] Commit in cabal-install/repos (4 files)

2014-07-10 Thread Thomas Dziedzic
Date: Friday, July 11, 2014 @ 02:45:27
  Author: td123
Revision: 216780

archrelease: copy trunk to staging-i686, staging-x86_64

Added:
  cabal-install/repos/staging-i686/
  cabal-install/repos/staging-i686/PKGBUILD
(from rev 216779, cabal-install/trunk/PKGBUILD)
  cabal-install/repos/staging-x86_64/
  cabal-install/repos/staging-x86_64/PKGBUILD
(from rev 216779, cabal-install/trunk/PKGBUILD)

-+
 staging-i686/PKGBUILD   |   39 +++
 staging-x86_64/PKGBUILD |   39 +++
 2 files changed, 78 insertions(+)

Copied: cabal-install/repos/staging-i686/PKGBUILD (from rev 216779, 
cabal-install/trunk/PKGBUILD)
===
--- staging-i686/PKGBUILD   (rev 0)
+++ staging-i686/PKGBUILD   2014-07-11 00:45:27 UTC (rev 216780)
@@ -0,0 +1,39 @@
+# Maintainer: Thomas Dziedzic gos...@gmail.com
+# Maintainer: Vesa Kaihlavirta v...@archlinux.org
+# Contributor: Arch Haskell Team arch-hask...@haskell.org
+
+pkgname=cabal-install
+pkgver=1.20.0.3
+pkgrel=2
+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')
+depends=('gmp' 'zlib')
+source=(http://hackage.haskell.org/packages/archive/cabal-install/${pkgver}/cabal-install-${pkgver}.tar.gz;)
+md5sums=('e1b382f8b4eae3762622cefc6d91d5f3')
+
+build() {
+  mkdir ${srcdir}/build
+  export PREFIX=${srcdir}/build
+
+  cd cabal-install-${pkgver}
+
+  sh bootstrap.sh --user
+}
+
+package() {
+  install -D -m755 ${srcdir}/build/bin/cabal ${pkgdir}/usr/bin/cabal
+
+  cd cabal-install-${pkgver}
+
+  install -d ${pkgdir}/usr/share/licenses/${pkgname}
+  install -m644 LICENSE \
+${pkgdir}/usr/share/licenses/${pkgname}
+
+  # add bash completion
+  install -d ${pkgdir}/usr/share/bash-completion/completions
+  install -m644 bash-completion/cabal \
+${pkgdir}/usr/share/bash-completion/completions
+}

Copied: cabal-install/repos/staging-x86_64/PKGBUILD (from rev 216779, 
cabal-install/trunk/PKGBUILD)
===
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2014-07-11 00:45:27 UTC (rev 216780)
@@ -0,0 +1,39 @@
+# Maintainer: Thomas Dziedzic gos...@gmail.com
+# Maintainer: Vesa Kaihlavirta v...@archlinux.org
+# Contributor: Arch Haskell Team arch-hask...@haskell.org
+
+pkgname=cabal-install
+pkgver=1.20.0.3
+pkgrel=2
+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')
+depends=('gmp' 'zlib')
+source=(http://hackage.haskell.org/packages/archive/cabal-install/${pkgver}/cabal-install-${pkgver}.tar.gz;)
+md5sums=('e1b382f8b4eae3762622cefc6d91d5f3')
+
+build() {
+  mkdir ${srcdir}/build
+  export PREFIX=${srcdir}/build
+
+  cd cabal-install-${pkgver}
+
+  sh bootstrap.sh --user
+}
+
+package() {
+  install -D -m755 ${srcdir}/build/bin/cabal ${pkgdir}/usr/bin/cabal
+
+  cd cabal-install-${pkgver}
+
+  install -d ${pkgdir}/usr/share/licenses/${pkgname}
+  install -m644 LICENSE \
+${pkgdir}/usr/share/licenses/${pkgname}
+
+  # add bash completion
+  install -d ${pkgdir}/usr/share/bash-completion/completions
+  install -m644 bash-completion/cabal \
+${pkgdir}/usr/share/bash-completion/completions
+}



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

2014-06-30 Thread Thomas Dziedzic
Date: Tuesday, July 1, 2014 @ 01:54:49
  Author: td123
Revision: 215915

upgpkg: cabal-install 1.20.0.3-1

bump

Modified:
  cabal-install/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2014-06-30 23:18:57 UTC (rev 215914)
+++ PKGBUILD2014-06-30 23:54:49 UTC (rev 215915)
@@ -3,7 +3,7 @@
 # Contributor: Arch Haskell Team arch-hask...@haskell.org
 
 pkgname=cabal-install
-pkgver=1.20.0.2
+pkgver=1.20.0.3
 pkgrel=1
 pkgdesc=The command-line interface for Cabal and Hackage.
 url=http://hackage.haskell.org/package/cabal-install;
@@ -12,7 +12,7 @@
 makedepends=('ghc')
 depends=('gmp' 'zlib')
 
source=(http://hackage.haskell.org/packages/archive/cabal-install/${pkgver}/cabal-install-${pkgver}.tar.gz;)
-md5sums=('bda72a81c22bde668244fb3a50a81f7f')
+md5sums=('e1b382f8b4eae3762622cefc6d91d5f3')
 
 build() {
   mkdir ${srcdir}/build



[arch-commits] Commit in cabal-install/repos (4 files)

2014-06-30 Thread Thomas Dziedzic
Date: Tuesday, July 1, 2014 @ 01:55:24
  Author: td123
Revision: 215916

archrelease: copy trunk to testing-i686, testing-x86_64

Added:
  cabal-install/repos/testing-i686/
  cabal-install/repos/testing-i686/PKGBUILD
(from rev 215915, cabal-install/trunk/PKGBUILD)
  cabal-install/repos/testing-x86_64/
  cabal-install/repos/testing-x86_64/PKGBUILD
(from rev 215915, cabal-install/trunk/PKGBUILD)

-+
 testing-i686/PKGBUILD   |   39 +++
 testing-x86_64/PKGBUILD |   39 +++
 2 files changed, 78 insertions(+)

Copied: cabal-install/repos/testing-i686/PKGBUILD (from rev 215915, 
cabal-install/trunk/PKGBUILD)
===
--- testing-i686/PKGBUILD   (rev 0)
+++ testing-i686/PKGBUILD   2014-06-30 23:55:24 UTC (rev 215916)
@@ -0,0 +1,39 @@
+# Maintainer: Thomas Dziedzic gos...@gmail.com
+# Maintainer: Vesa Kaihlavirta v...@archlinux.org
+# Contributor: Arch Haskell Team arch-hask...@haskell.org
+
+pkgname=cabal-install
+pkgver=1.20.0.3
+pkgrel=1
+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')
+depends=('gmp' 'zlib')
+source=(http://hackage.haskell.org/packages/archive/cabal-install/${pkgver}/cabal-install-${pkgver}.tar.gz;)
+md5sums=('e1b382f8b4eae3762622cefc6d91d5f3')
+
+build() {
+  mkdir ${srcdir}/build
+  export PREFIX=${srcdir}/build
+
+  cd cabal-install-${pkgver}
+
+  sh bootstrap.sh --user
+}
+
+package() {
+  install -D -m755 ${srcdir}/build/bin/cabal ${pkgdir}/usr/bin/cabal
+
+  cd cabal-install-${pkgver}
+
+  install -d ${pkgdir}/usr/share/licenses/${pkgname}
+  install -m644 LICENSE \
+${pkgdir}/usr/share/licenses/${pkgname}
+
+  # add bash completion
+  install -d ${pkgdir}/usr/share/bash-completion/completions
+  install -m644 bash-completion/cabal \
+${pkgdir}/usr/share/bash-completion/completions
+}

Copied: cabal-install/repos/testing-x86_64/PKGBUILD (from rev 215915, 
cabal-install/trunk/PKGBUILD)
===
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2014-06-30 23:55:24 UTC (rev 215916)
@@ -0,0 +1,39 @@
+# Maintainer: Thomas Dziedzic gos...@gmail.com
+# Maintainer: Vesa Kaihlavirta v...@archlinux.org
+# Contributor: Arch Haskell Team arch-hask...@haskell.org
+
+pkgname=cabal-install
+pkgver=1.20.0.3
+pkgrel=1
+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')
+depends=('gmp' 'zlib')
+source=(http://hackage.haskell.org/packages/archive/cabal-install/${pkgver}/cabal-install-${pkgver}.tar.gz;)
+md5sums=('e1b382f8b4eae3762622cefc6d91d5f3')
+
+build() {
+  mkdir ${srcdir}/build
+  export PREFIX=${srcdir}/build
+
+  cd cabal-install-${pkgver}
+
+  sh bootstrap.sh --user
+}
+
+package() {
+  install -D -m755 ${srcdir}/build/bin/cabal ${pkgdir}/usr/bin/cabal
+
+  cd cabal-install-${pkgver}
+
+  install -d ${pkgdir}/usr/share/licenses/${pkgname}
+  install -m644 LICENSE \
+${pkgdir}/usr/share/licenses/${pkgname}
+
+  # add bash completion
+  install -d ${pkgdir}/usr/share/bash-completion/completions
+  install -m644 bash-completion/cabal \
+${pkgdir}/usr/share/bash-completion/completions
+}



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

2014-06-21 Thread Thomas Dziedzic
Date: Saturday, June 21, 2014 @ 22:05:48
  Author: td123
Revision: 215336

upgpkg: vim 7.4.335-4

bump

Modified:
  vim/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2014-06-21 16:42:19 UTC (rev 215335)
+++ PKGBUILD2014-06-21 20:05:48 UTC (rev 215336)
@@ -6,8 +6,8 @@
 pkgbase=vim
 pkgname=('vim' 'gvim' 'gvim-python3' 'vim-runtime')
 _topver=7.4
-_patchlevel=307
-__hgrev=54d96e3b2eec
+_patchlevel=335
+__hgrev=4aa63564dd3f
 _versiondir=vim${_topver//./}
 pkgver=${_topver}.${_patchlevel}
 pkgrel=4
@@ -20,7 +20,7 @@
 'vimrc'
 'archlinux.vim'
 'gvim.desktop')
-md5sums=('836c8b5bab883658c07b67cba445b667'
+md5sums=('e6b40c71599d69acc8f2bbf768242896'
  'SKIP'
  'b9d4dcb9d3ee2e151dc4be1e94934f6a'
  '10353a61aadc3f276692d0e17db1478e'



[arch-commits] Commit in vim/repos (12 files)

2014-06-21 Thread Thomas Dziedzic
Date: Saturday, June 21, 2014 @ 22:07:44
  Author: td123
Revision: 215337

archrelease: copy trunk to testing-i686, testing-x86_64

Added:
  vim/repos/testing-i686/
  vim/repos/testing-i686/PKGBUILD
(from rev 215336, vim/trunk/PKGBUILD)
  vim/repos/testing-i686/archlinux.vim
(from rev 215336, vim/trunk/archlinux.vim)
  vim/repos/testing-i686/gvim.desktop
(from rev 215336, vim/trunk/gvim.desktop)
  vim/repos/testing-i686/gvim.install
(from rev 215336, vim/trunk/gvim.install)
  vim/repos/testing-i686/vimrc
(from rev 215336, vim/trunk/vimrc)
  vim/repos/testing-x86_64/
  vim/repos/testing-x86_64/PKGBUILD
(from rev 215336, vim/trunk/PKGBUILD)
  vim/repos/testing-x86_64/archlinux.vim
(from rev 215336, vim/trunk/archlinux.vim)
  vim/repos/testing-x86_64/gvim.desktop
(from rev 215336, vim/trunk/gvim.desktop)
  vim/repos/testing-x86_64/gvim.install
(from rev 215336, vim/trunk/gvim.install)
  vim/repos/testing-x86_64/vimrc
(from rev 215336, vim/trunk/vimrc)

--+
 testing-i686/PKGBUILD|  285 +
 testing-i686/archlinux.vim   |   26 +++
 testing-i686/gvim.desktop|   63 +
 testing-i686/gvim.install|   15 ++
 testing-i686/vimrc   |   16 ++
 testing-x86_64/PKGBUILD  |  285 +
 testing-x86_64/archlinux.vim |   26 +++
 testing-x86_64/gvim.desktop  |   63 +
 testing-x86_64/gvim.install  |   15 ++
 testing-x86_64/vimrc |   16 ++
 10 files changed, 810 insertions(+)

Copied: vim/repos/testing-i686/PKGBUILD (from rev 215336, vim/trunk/PKGBUILD)
===
--- testing-i686/PKGBUILD   (rev 0)
+++ testing-i686/PKGBUILD   2014-06-21 20:07:44 UTC (rev 215337)
@@ -0,0 +1,285 @@
+# Maintainer: Thomas Dziedzic gos...@gmail.com
+# Contributor: Jan heftig Steffens jan.steff...@gmail.com
+# Contributor: tobias [ tobias at archlinux org ]
+# Contributor: Daniel J Griffiths ghost1...@archlinux.us
+
+pkgbase=vim
+pkgname=('vim' 'gvim' 'gvim-python3' 'vim-runtime')
+_topver=7.4
+_patchlevel=335
+__hgrev=4aa63564dd3f
+_versiondir=vim${_topver//./}
+pkgver=${_topver}.${_patchlevel}
+pkgrel=4
+arch=('i686' 'x86_64')
+license=('custom:vim')
+url=http://www.vim.org;
+makedepends=('gpm' 'python2' 'python' 'ruby' 'libxt' 'desktop-file-utils' 
'gtk2' 'lua')
+source=(ftp://ftp.archlinux.org/other/vim/vim-${pkgver}.tar.xz;
+ftp://ftp.archlinux.org/other/vim/vim-${pkgver}.tar.xz.sig;
+'vimrc'
+'archlinux.vim'
+'gvim.desktop')
+md5sums=('e6b40c71599d69acc8f2bbf768242896'
+ 'SKIP'
+ 'b9d4dcb9d3ee2e151dc4be1e94934f6a'
+ '10353a61aadc3f276692d0e17db1478e'
+ 'd90413bd21f400313a785bb4010120cd')
+
+# source PKGBUILD  mksource
+mksource() {
+  [[ -x /usr/bin/hg ]] || (echo hg not found. Install mercurial.  return 1)
+
+  __hgroot='http://vim.googlecode.com/hg/'
+  __hgrepo='vim'
+  __hgbranch='default'
+
+  hg clone -b ${__hgbranch} -u ${__hgrev} ${__hgroot}${__hgrepo} ${__hgrepo}
+
+  pushd ${__hgrepo}
+  if (( $(hg id -n)  $(hg id -nr ${__hgbranch}) )); then
+printf 'You are not building the latest revision!\n'
+printf Consider updating __hgrev to $(hg id -r ${__hgbranch}).\n
+  fi
+  popd
+
+  mv vim ${pkgname}-${pkgver}
+  find ${pkgname}-${pkgver} -depth -type d -name .hg -exec rm -rf {} \;
+  rm ${pkgname}-${pkgver}/{.hgignore,.hgtags}
+  tar -cJf ${pkgname}-${pkgver}.tar.xz ${pkgname}-${pkgver}/*
+  rm -r ${pkgname}-${pkgver}
+
+  gpg --detach-sign ${pkgname}-${pkgver}.tar.xz
+
+  scp ${pkgname}-${pkgver}.tar.xz nym:/srv/ftp/other/vim/
+  scp ${pkgname}-${pkgver}.tar.xz.sig nym:/srv/ftp/other/vim/
+}
+
+build() {
+  cp -a ${pkgname}-${pkgver} vim-build
+
+  # define the place for the global (g)vimrc file (set to /etc/vimrc)
+  sed -i 's|^.*\(#define SYS_.*VIMRC_FILE.*\) .*$|\1|' \
+vim-build/src/feature.h
+  sed -i 's|^.*\(#define VIMRC_FILE.*\) .*$|\1|' \
+vim-build/src/feature.h
+
+  (cd vim-build/src  autoconf)
+
+  cp -a vim-build gvim-build
+  cp -a vim-build gvim-python3-build
+
+  cd ${srcdir}/vim-build
+
+  ./configure \
+--prefix=/usr \
+--localstatedir=/var/lib/vim \
+--with-features=huge \
+--with-compiledby='Arch Linux' \
+--enable-gpm \
+--enable-acl \
+--with-x=no \
+--disable-gui \
+--enable-multibyte \
+--enable-cscope \
+--disable-netbeans \
+--enable-perlinterp \
+--disable-pythoninterp \
+--disable-python3interp \
+--disable-rubyinterp \
+--disable-luainterp
+
+  make
+
+  cd ${srcdir}/gvim-build
+
+  ./configure \
+--prefix=/usr \
+--localstatedir=/var/lib/vim \
+--with-features=huge \
+--with-compiledby='Arch Linux' \
+--enable-gpm \
+--enable-acl \
+--with-x=yes \
+--enable-gui=gtk2 \
+--enable-multibyte \
+--enable-cscope \
+--enable-netbeans \
+--enable

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

2014-06-02 Thread Thomas Dziedzic
Date: Tuesday, June 3, 2014 @ 06:11:50
  Author: td123
Revision: 214045

upgpkg: cabal-install 1.20.0.2-1

bump

Modified:
  cabal-install/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2014-06-02 19:37:47 UTC (rev 214044)
+++ PKGBUILD2014-06-03 04:11:50 UTC (rev 214045)
@@ -3,7 +3,7 @@
 # Contributor: Arch Haskell Team arch-hask...@haskell.org
 
 pkgname=cabal-install
-pkgver=1.20.0.1
+pkgver=1.20.0.2
 pkgrel=1
 pkgdesc=The command-line interface for Cabal and Hackage.
 url=http://hackage.haskell.org/package/cabal-install;
@@ -12,7 +12,7 @@
 makedepends=('ghc')
 depends=('gmp' 'zlib')
 
source=(http://hackage.haskell.org/packages/archive/cabal-install/${pkgver}/cabal-install-${pkgver}.tar.gz;)
-md5sums=('351622588b11ae799e31677666a831f6')
+md5sums=('bda72a81c22bde668244fb3a50a81f7f')
 
 build() {
   mkdir ${srcdir}/build



[arch-commits] Commit in cabal-install/repos (4 files)

2014-06-02 Thread Thomas Dziedzic
Date: Tuesday, June 3, 2014 @ 06:12:30
  Author: td123
Revision: 214046

archrelease: copy trunk to testing-i686, testing-x86_64

Added:
  cabal-install/repos/testing-i686/
  cabal-install/repos/testing-i686/PKGBUILD
(from rev 214045, cabal-install/trunk/PKGBUILD)
  cabal-install/repos/testing-x86_64/
  cabal-install/repos/testing-x86_64/PKGBUILD
(from rev 214045, cabal-install/trunk/PKGBUILD)

-+
 testing-i686/PKGBUILD   |   39 +++
 testing-x86_64/PKGBUILD |   39 +++
 2 files changed, 78 insertions(+)

Copied: cabal-install/repos/testing-i686/PKGBUILD (from rev 214045, 
cabal-install/trunk/PKGBUILD)
===
--- testing-i686/PKGBUILD   (rev 0)
+++ testing-i686/PKGBUILD   2014-06-03 04:12:30 UTC (rev 214046)
@@ -0,0 +1,39 @@
+# Maintainer: Thomas Dziedzic gos...@gmail.com
+# Maintainer: Vesa Kaihlavirta v...@archlinux.org
+# Contributor: Arch Haskell Team arch-hask...@haskell.org
+
+pkgname=cabal-install
+pkgver=1.20.0.2
+pkgrel=1
+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')
+depends=('gmp' 'zlib')
+source=(http://hackage.haskell.org/packages/archive/cabal-install/${pkgver}/cabal-install-${pkgver}.tar.gz;)
+md5sums=('bda72a81c22bde668244fb3a50a81f7f')
+
+build() {
+  mkdir ${srcdir}/build
+  export PREFIX=${srcdir}/build
+
+  cd cabal-install-${pkgver}
+
+  sh bootstrap.sh --user
+}
+
+package() {
+  install -D -m755 ${srcdir}/build/bin/cabal ${pkgdir}/usr/bin/cabal
+
+  cd cabal-install-${pkgver}
+
+  install -d ${pkgdir}/usr/share/licenses/${pkgname}
+  install -m644 LICENSE \
+${pkgdir}/usr/share/licenses/${pkgname}
+
+  # add bash completion
+  install -d ${pkgdir}/usr/share/bash-completion/completions
+  install -m644 bash-completion/cabal \
+${pkgdir}/usr/share/bash-completion/completions
+}

Copied: cabal-install/repos/testing-x86_64/PKGBUILD (from rev 214045, 
cabal-install/trunk/PKGBUILD)
===
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2014-06-03 04:12:30 UTC (rev 214046)
@@ -0,0 +1,39 @@
+# Maintainer: Thomas Dziedzic gos...@gmail.com
+# Maintainer: Vesa Kaihlavirta v...@archlinux.org
+# Contributor: Arch Haskell Team arch-hask...@haskell.org
+
+pkgname=cabal-install
+pkgver=1.20.0.2
+pkgrel=1
+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')
+depends=('gmp' 'zlib')
+source=(http://hackage.haskell.org/packages/archive/cabal-install/${pkgver}/cabal-install-${pkgver}.tar.gz;)
+md5sums=('bda72a81c22bde668244fb3a50a81f7f')
+
+build() {
+  mkdir ${srcdir}/build
+  export PREFIX=${srcdir}/build
+
+  cd cabal-install-${pkgver}
+
+  sh bootstrap.sh --user
+}
+
+package() {
+  install -D -m755 ${srcdir}/build/bin/cabal ${pkgdir}/usr/bin/cabal
+
+  cd cabal-install-${pkgver}
+
+  install -d ${pkgdir}/usr/share/licenses/${pkgname}
+  install -m644 LICENSE \
+${pkgdir}/usr/share/licenses/${pkgname}
+
+  # add bash completion
+  install -d ${pkgdir}/usr/share/bash-completion/completions
+  install -m644 bash-completion/cabal \
+${pkgdir}/usr/share/bash-completion/completions
+}



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

2014-05-28 Thread Thomas Dziedzic
Date: Wednesday, May 28, 2014 @ 15:54:34
  Author: td123
Revision: 213688

upgpkg: vim 7.4.307-2

remove duplicate vim directory in vim-runtime causing it to double in size

Modified:
  vim/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2014-05-28 13:17:39 UTC (rev 213687)
+++ PKGBUILD2014-05-28 13:54:34 UTC (rev 213688)
@@ -10,7 +10,7 @@
 __hgrev=54d96e3b2eec
 _versiondir=vim${_topver//./}
 pkgver=${_topver}.${_patchlevel}
-pkgrel=1
+pkgrel=2
 arch=('i686' 'x86_64')
 license=('custom:vim')
 url=http://www.vim.org;
@@ -230,8 +230,8 @@
 rm -f ex.1 view.1 # provided by (n)vi
   done
 
-  # Move the runtime for later packaging
-  mv ${pkgdir}/usr/share/vim ${srcdir}/runtime-install
+  # need to remove since this is provided by vim-runtime
+  rm -rf ${pkgdir}/usr/share/vim
 
   # freedesktop links
   install -Dm644 ${srcdir}/gvim.desktop \



[arch-commits] Commit in vim/repos (20 files)

2014-05-28 Thread Thomas Dziedzic
Date: Wednesday, May 28, 2014 @ 15:56:21
  Author: td123
Revision: 213689

archrelease: copy trunk to extra-i686, extra-x86_64

Added:
  vim/repos/extra-i686/PKGBUILD
(from rev 213688, vim/trunk/PKGBUILD)
  vim/repos/extra-i686/archlinux.vim
(from rev 213688, vim/trunk/archlinux.vim)
  vim/repos/extra-i686/gvim.desktop
(from rev 213688, vim/trunk/gvim.desktop)
  vim/repos/extra-i686/gvim.install
(from rev 213688, vim/trunk/gvim.install)
  vim/repos/extra-i686/vimrc
(from rev 213688, vim/trunk/vimrc)
  vim/repos/extra-x86_64/PKGBUILD
(from rev 213688, vim/trunk/PKGBUILD)
  vim/repos/extra-x86_64/archlinux.vim
(from rev 213688, vim/trunk/archlinux.vim)
  vim/repos/extra-x86_64/gvim.desktop
(from rev 213688, vim/trunk/gvim.desktop)
  vim/repos/extra-x86_64/gvim.install
(from rev 213688, vim/trunk/gvim.install)
  vim/repos/extra-x86_64/vimrc
(from rev 213688, vim/trunk/vimrc)
Deleted:
  vim/repos/extra-i686/PKGBUILD
  vim/repos/extra-i686/archlinux.vim
  vim/repos/extra-i686/gvim.desktop
  vim/repos/extra-i686/gvim.install
  vim/repos/extra-i686/vimrc
  vim/repos/extra-x86_64/PKGBUILD
  vim/repos/extra-x86_64/archlinux.vim
  vim/repos/extra-x86_64/gvim.desktop
  vim/repos/extra-x86_64/gvim.install
  vim/repos/extra-x86_64/vimrc

+
 /PKGBUILD  |  568 +++
 /archlinux.vim |   52 +++
 /gvim.desktop  |  126 +
 /gvim.install  |   30 ++
 /vimrc |   32 ++
 extra-i686/PKGBUILD|  284 -
 extra-i686/archlinux.vim   |   26 -
 extra-i686/gvim.desktop|   63 
 extra-i686/gvim.install|   15 -
 extra-i686/vimrc   |   16 -
 extra-x86_64/PKGBUILD  |  284 -
 extra-x86_64/archlinux.vim |   26 -
 extra-x86_64/gvim.desktop  |   63 
 extra-x86_64/gvim.install  |   15 -
 extra-x86_64/vimrc |   16 -
 15 files changed, 808 insertions(+), 808 deletions(-)

The diff is longer than the limit of 200KB.
Use svn diff -r 213688:213689 to see the changes.


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

2014-05-28 Thread Thomas Dziedzic
Date: Thursday, May 29, 2014 @ 06:55:35
  Author: td123
Revision: 213791

upgpkg: vim 7.4.307-3

add gvim to gvim-python3 provides

Modified:
  vim/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2014-05-29 04:55:31 UTC (rev 213790)
+++ PKGBUILD2014-05-29 04:55:35 UTC (rev 213791)
@@ -10,7 +10,7 @@
 __hgrev=54d96e3b2eec
 _versiondir=vim${_topver//./}
 pkgver=${_topver}.${_patchlevel}
-pkgrel=2
+pkgrel=3
 arch=('i686' 'x86_64')
 license=('custom:vim')
 url=http://www.vim.org;
@@ -213,7 +213,8 @@
   pkgdesc='Vi Improved, a highly configurable, improved version of the vi text 
editor (with advanced features, such as a GUI) with python 3 support'
   depends=(vim-runtime=${pkgver}-${pkgrel} 'gpm' 'ruby' 'libxt'
'desktop-file-utils' 'gtk2' 'lua' 'python')
-  provides=(vim=${pkgver}-${pkgrel})
+  provides=(vim=${pkgver}-${pkgrel}
+gvim=${pkgver}-${pkgrel})
   conflicts=('vim')
   install=gvim.install
 



[arch-commits] Commit in vim/repos (20 files)

2014-05-28 Thread Thomas Dziedzic
Date: Thursday, May 29, 2014 @ 06:56:47
  Author: td123
Revision: 213792

archrelease: copy trunk to extra-i686, extra-x86_64

Added:
  vim/repos/extra-i686/PKGBUILD
(from rev 213791, vim/trunk/PKGBUILD)
  vim/repos/extra-i686/archlinux.vim
(from rev 213791, vim/trunk/archlinux.vim)
  vim/repos/extra-i686/gvim.desktop
(from rev 213791, vim/trunk/gvim.desktop)
  vim/repos/extra-i686/gvim.install
(from rev 213791, vim/trunk/gvim.install)
  vim/repos/extra-i686/vimrc
(from rev 213791, vim/trunk/vimrc)
  vim/repos/extra-x86_64/PKGBUILD
(from rev 213791, vim/trunk/PKGBUILD)
  vim/repos/extra-x86_64/archlinux.vim
(from rev 213791, vim/trunk/archlinux.vim)
  vim/repos/extra-x86_64/gvim.desktop
(from rev 213791, vim/trunk/gvim.desktop)
  vim/repos/extra-x86_64/gvim.install
(from rev 213791, vim/trunk/gvim.install)
  vim/repos/extra-x86_64/vimrc
(from rev 213791, vim/trunk/vimrc)
Deleted:
  vim/repos/extra-i686/PKGBUILD
  vim/repos/extra-i686/archlinux.vim
  vim/repos/extra-i686/gvim.desktop
  vim/repos/extra-i686/gvim.install
  vim/repos/extra-i686/vimrc
  vim/repos/extra-x86_64/PKGBUILD
  vim/repos/extra-x86_64/archlinux.vim
  vim/repos/extra-x86_64/gvim.desktop
  vim/repos/extra-x86_64/gvim.install
  vim/repos/extra-x86_64/vimrc

+
 /PKGBUILD  |  570 +++
 /archlinux.vim |   52 +++
 /gvim.desktop  |  126 +
 /gvim.install  |   30 ++
 /vimrc |   32 ++
 extra-i686/PKGBUILD|  284 -
 extra-i686/archlinux.vim   |   26 -
 extra-i686/gvim.desktop|   63 
 extra-i686/gvim.install|   15 -
 extra-i686/vimrc   |   16 -
 extra-x86_64/PKGBUILD  |  284 -
 extra-x86_64/archlinux.vim |   26 -
 extra-x86_64/gvim.desktop  |   63 
 extra-x86_64/gvim.install  |   15 -
 extra-x86_64/vimrc |   16 -
 15 files changed, 810 insertions(+), 808 deletions(-)

The diff is longer than the limit of 200KB.
Use svn diff -r 213791:213792 to see the changes.


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

2014-05-24 Thread Thomas Dziedzic
Date: Saturday, May 24, 2014 @ 17:06:38
  Author: td123
Revision: 213545

upgpkg: vim 7.4.307-1

bump and add python3 support

Modified:
  vim/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2014-05-24 11:30:12 UTC (rev 213544)
+++ PKGBUILD2014-05-24 15:06:38 UTC (rev 213545)
@@ -4,10 +4,10 @@
 # Contributor: Daniel J Griffiths ghost1...@archlinux.us
 
 pkgbase=vim
-pkgname=('vim' 'gvim' 'vim-runtime')
+pkgname=('vim' 'gvim' 'gvim-python3' 'vim-runtime')
 _topver=7.4
-_patchlevel=274
-__hgrev=075eea398fff
+_patchlevel=307
+__hgrev=54d96e3b2eec
 _versiondir=vim${_topver//./}
 pkgver=${_topver}.${_patchlevel}
 pkgrel=1
@@ -14,13 +14,13 @@
 arch=('i686' 'x86_64')
 license=('custom:vim')
 url=http://www.vim.org;
-makedepends=('gpm' 'python2' 'ruby' 'libxt' 'desktop-file-utils' 'gtk2' 'lua')
+makedepends=('gpm' 'python2' 'python' 'ruby' 'libxt' 'desktop-file-utils' 
'gtk2' 'lua')
 source=(ftp://ftp.archlinux.org/other/vim/vim-${pkgver}.tar.xz;
 ftp://ftp.archlinux.org/other/vim/vim-${pkgver}.tar.xz.sig;
 'vimrc'
 'archlinux.vim'
 'gvim.desktop')
-md5sums=('98bf9f8d57b95715d08fcc42beae8761'
+md5sums=('836c8b5bab883658c07b67cba445b667'
  'SKIP'
  'b9d4dcb9d3ee2e151dc4be1e94934f6a'
  '10353a61aadc3f276692d0e17db1478e'
@@ -67,6 +67,7 @@
   (cd vim-build/src  autoconf)
 
   cp -a vim-build gvim-build
+  cp -a vim-build gvim-python3-build
 
   cd ${srcdir}/vim-build
 
@@ -111,6 +112,28 @@
 --enable-luainterp
 
   make
+
+  cd ${srcdir}/gvim-python3-build
+
+  ./configure \
+--prefix=/usr \
+--localstatedir=/var/lib/vim \
+--with-features=huge \
+--with-compiledby='Arch Linux' \
+--enable-gpm \
+--enable-acl \
+--with-x=yes \
+--enable-gui=gtk2 \
+--enable-multibyte \
+--enable-cscope \
+--enable-netbeans \
+--enable-perlinterp \
+--disable-pythoninterp \
+--enable-python3interp \
+--enable-rubyinterp \
+--enable-luainterp
+
+  make
 }
 
 check() {
@@ -186,6 +209,40 @@
 ${pkgdir}/usr/share/licenses/${pkgname}/license.txt
 }
 
+package_gvim-python3() {
+  pkgdesc='Vi Improved, a highly configurable, improved version of the vi text 
editor (with advanced features, such as a GUI) with python 3 support'
+  depends=(vim-runtime=${pkgver}-${pkgrel} 'gpm' 'ruby' 'libxt'
+   'desktop-file-utils' 'gtk2' 'lua' 'python')
+  provides=(vim=${pkgver}-${pkgrel})
+  conflicts=('vim')
+  install=gvim.install
+
+  cd ${srcdir}/gvim-python3-build
+  make -j1 VIMRCLOC=/etc DESTDIR=${pkgdir} install
+
+  # provided by (n)vi in core
+  rm ${pkgdir}/usr/bin/{ex,view}
+
+  # delete some manpages
+  find ${pkgdir}/usr/share/man -type d -name 'man1' 2/dev/null | \
+while read _mandir; do
+cd ${_mandir}
+rm -f ex.1 view.1 # provided by (n)vi
+  done
+
+  # Move the runtime for later packaging
+  mv ${pkgdir}/usr/share/vim ${srcdir}/runtime-install
+
+  # freedesktop links
+  install -Dm644 ${srcdir}/gvim.desktop \
+${pkgdir}/usr/share/applications/gvim.desktop
+  install -Dm644 runtime/vim48x48.png ${pkgdir}/usr/share/pixmaps/gvim.png
+
+  # license
+   install -Dm644 ${srcdir}/vim-${pkgver}/runtime/doc/uganda.txt \
+${pkgdir}/usr/share/licenses/${pkgname}/license.txt
+}
+
 package_vim-runtime() {
   pkgdesc='Runtime for vim and gvim'
   depends=('perl' 'gawk')



[arch-commits] Commit in vim/repos (12 files)

2014-05-24 Thread Thomas Dziedzic
Date: Saturday, May 24, 2014 @ 17:07:38
  Author: td123
Revision: 213546

archrelease: copy trunk to testing-i686, testing-x86_64

Added:
  vim/repos/testing-i686/
  vim/repos/testing-i686/PKGBUILD
(from rev 213545, vim/trunk/PKGBUILD)
  vim/repos/testing-i686/archlinux.vim
(from rev 213545, vim/trunk/archlinux.vim)
  vim/repos/testing-i686/gvim.desktop
(from rev 213545, vim/trunk/gvim.desktop)
  vim/repos/testing-i686/gvim.install
(from rev 213545, vim/trunk/gvim.install)
  vim/repos/testing-i686/vimrc
(from rev 213545, vim/trunk/vimrc)
  vim/repos/testing-x86_64/
  vim/repos/testing-x86_64/PKGBUILD
(from rev 213545, vim/trunk/PKGBUILD)
  vim/repos/testing-x86_64/archlinux.vim
(from rev 213545, vim/trunk/archlinux.vim)
  vim/repos/testing-x86_64/gvim.desktop
(from rev 213545, vim/trunk/gvim.desktop)
  vim/repos/testing-x86_64/gvim.install
(from rev 213545, vim/trunk/gvim.install)
  vim/repos/testing-x86_64/vimrc
(from rev 213545, vim/trunk/vimrc)

--+
 testing-i686/PKGBUILD|  284 +
 testing-i686/archlinux.vim   |   26 +++
 testing-i686/gvim.desktop|   63 +
 testing-i686/gvim.install|   15 ++
 testing-i686/vimrc   |   16 ++
 testing-x86_64/PKGBUILD  |  284 +
 testing-x86_64/archlinux.vim |   26 +++
 testing-x86_64/gvim.desktop  |   63 +
 testing-x86_64/gvim.install  |   15 ++
 testing-x86_64/vimrc |   16 ++
 10 files changed, 808 insertions(+)

Copied: vim/repos/testing-i686/PKGBUILD (from rev 213545, vim/trunk/PKGBUILD)
===
--- testing-i686/PKGBUILD   (rev 0)
+++ testing-i686/PKGBUILD   2014-05-24 15:07:38 UTC (rev 213546)
@@ -0,0 +1,284 @@
+# Maintainer: Thomas Dziedzic gos...@gmail.com
+# Contributor: Jan heftig Steffens jan.steff...@gmail.com
+# Contributor: tobias [ tobias at archlinux org ]
+# Contributor: Daniel J Griffiths ghost1...@archlinux.us
+
+pkgbase=vim
+pkgname=('vim' 'gvim' 'gvim-python3' 'vim-runtime')
+_topver=7.4
+_patchlevel=307
+__hgrev=54d96e3b2eec
+_versiondir=vim${_topver//./}
+pkgver=${_topver}.${_patchlevel}
+pkgrel=1
+arch=('i686' 'x86_64')
+license=('custom:vim')
+url=http://www.vim.org;
+makedepends=('gpm' 'python2' 'python' 'ruby' 'libxt' 'desktop-file-utils' 
'gtk2' 'lua')
+source=(ftp://ftp.archlinux.org/other/vim/vim-${pkgver}.tar.xz;
+ftp://ftp.archlinux.org/other/vim/vim-${pkgver}.tar.xz.sig;
+'vimrc'
+'archlinux.vim'
+'gvim.desktop')
+md5sums=('836c8b5bab883658c07b67cba445b667'
+ 'SKIP'
+ 'b9d4dcb9d3ee2e151dc4be1e94934f6a'
+ '10353a61aadc3f276692d0e17db1478e'
+ 'd90413bd21f400313a785bb4010120cd')
+
+# source PKGBUILD  mksource
+mksource() {
+  [[ -x /usr/bin/hg ]] || (echo hg not found. Install mercurial.  return 1)
+
+  __hgroot='http://vim.googlecode.com/hg/'
+  __hgrepo='vim'
+  __hgbranch='default'
+
+  hg clone -b ${__hgbranch} -u ${__hgrev} ${__hgroot}${__hgrepo} ${__hgrepo}
+
+  pushd ${__hgrepo}
+  if (( $(hg id -n)  $(hg id -nr ${__hgbranch}) )); then
+printf 'You are not building the latest revision!\n'
+printf Consider updating __hgrev to $(hg id -r ${__hgbranch}).\n
+  fi
+  popd
+
+  mv vim ${pkgname}-${pkgver}
+  find ${pkgname}-${pkgver} -depth -type d -name .hg -exec rm -rf {} \;
+  rm ${pkgname}-${pkgver}/{.hgignore,.hgtags}
+  tar -cJf ${pkgname}-${pkgver}.tar.xz ${pkgname}-${pkgver}/*
+  rm -r ${pkgname}-${pkgver}
+
+  gpg --detach-sign ${pkgname}-${pkgver}.tar.xz
+
+  scp ${pkgname}-${pkgver}.tar.xz nym:/srv/ftp/other/vim/
+  scp ${pkgname}-${pkgver}.tar.xz.sig nym:/srv/ftp/other/vim/
+}
+
+build() {
+  cp -a ${pkgname}-${pkgver} vim-build
+
+  # define the place for the global (g)vimrc file (set to /etc/vimrc)
+  sed -i 's|^.*\(#define SYS_.*VIMRC_FILE.*\) .*$|\1|' \
+vim-build/src/feature.h
+  sed -i 's|^.*\(#define VIMRC_FILE.*\) .*$|\1|' \
+vim-build/src/feature.h
+
+  (cd vim-build/src  autoconf)
+
+  cp -a vim-build gvim-build
+  cp -a vim-build gvim-python3-build
+
+  cd ${srcdir}/vim-build
+
+  ./configure \
+--prefix=/usr \
+--localstatedir=/var/lib/vim \
+--with-features=huge \
+--with-compiledby='Arch Linux' \
+--enable-gpm \
+--enable-acl \
+--with-x=no \
+--disable-gui \
+--enable-multibyte \
+--enable-cscope \
+--disable-netbeans \
+--enable-perlinterp \
+--disable-pythoninterp \
+--disable-python3interp \
+--disable-rubyinterp \
+--disable-luainterp
+
+  make
+
+  cd ${srcdir}/gvim-build
+
+  ./configure \
+--prefix=/usr \
+--localstatedir=/var/lib/vim \
+--with-features=huge \
+--with-compiledby='Arch Linux' \
+--enable-gpm \
+--enable-acl \
+--with-x=yes \
+--enable-gui=gtk2 \
+--enable-multibyte \
+--enable-cscope \
+--enable-netbeans \
+--enable

[arch-commits] Commit in vim/trunk (gvim.install)

2014-05-15 Thread Thomas Dziedzic
Date: Friday, May 16, 2014 @ 04:24:38
  Author: td123
Revision: 212873

clean up gvim install to use a dedicated function to updating the desktop 
database

Modified:
  vim/trunk/gvim.install

--+
 gvim.install |   10 +++---
 1 file changed, 7 insertions(+), 3 deletions(-)

Modified: gvim.install
===
--- gvim.install2014-05-16 02:13:32 UTC (rev 212872)
+++ gvim.install2014-05-16 02:24:38 UTC (rev 212873)
@@ -1,11 +1,15 @@
+update_desktop_database() {
+  update-desktop-database --quiet
+}
+
 post_install() {
-  update-desktop-database -q
+  update_desktop_database
 }
 
 post_upgrade() {
-  post_install $1
+  update_desktop_database
 }
 
 post_remove() {
-  post_install $1
+  update_desktop_database
 }



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

2014-05-14 Thread Thomas Dziedzic
Date: Thursday, May 15, 2014 @ 06:26:13
  Author: td123
Revision: 212770

upgpkg: ghc 7.8.2-4

fix fs #40252 - [ghc] /usr/lib/ghc-7.8.2 and files beneath are owned by 
1000.100 rather than root.root

Modified:
  ghc/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2014-05-15 03:25:47 UTC (rev 212769)
+++ PKGBUILD2014-05-15 04:26:13 UTC (rev 212770)
@@ -11,7 +11,7 @@
 
 pkgname=ghc
 pkgver=7.8.2
-pkgrel=3
+pkgrel=4
 pkgdesc='The Glasgow Haskell Compiler'
 arch=('i686' 'x86_64')
 url='http://www.haskell.org/ghc/'



[arch-commits] Commit in ghc/repos (20 files)

2014-05-14 Thread Thomas Dziedzic
Date: Thursday, May 15, 2014 @ 06:27:19
  Author: td123
Revision: 212771

archrelease: copy trunk to extra-i686, extra-x86_64

Added:
  ghc/repos/extra-i686/PKGBUILD
(from rev 212770, ghc/trunk/PKGBUILD)
  ghc/repos/extra-i686/build.mk
(from rev 212770, ghc/trunk/build.mk)
  ghc/repos/extra-i686/ghc
(from rev 212770, ghc/trunk/ghc)
  ghc/repos/extra-i686/ghc.install
(from rev 212770, ghc/trunk/ghc.install)
  ghc/repos/extra-i686/print-provides-replaces.sh
(from rev 212770, ghc/trunk/print-provides-replaces.sh)
  ghc/repos/extra-x86_64/PKGBUILD
(from rev 212770, ghc/trunk/PKGBUILD)
  ghc/repos/extra-x86_64/build.mk
(from rev 212770, ghc/trunk/build.mk)
  ghc/repos/extra-x86_64/ghc
(from rev 212770, ghc/trunk/ghc)
  ghc/repos/extra-x86_64/ghc.install
(from rev 212770, ghc/trunk/ghc.install)
  ghc/repos/extra-x86_64/print-provides-replaces.sh
(from rev 212770, ghc/trunk/print-provides-replaces.sh)
Deleted:
  ghc/repos/extra-i686/PKGBUILD
  ghc/repos/extra-i686/build.mk
  ghc/repos/extra-i686/ghc
  ghc/repos/extra-i686/ghc.install
  ghc/repos/extra-i686/print-provides-replaces.sh
  ghc/repos/extra-x86_64/PKGBUILD
  ghc/repos/extra-x86_64/build.mk
  ghc/repos/extra-x86_64/ghc
  ghc/repos/extra-x86_64/ghc.install
  ghc/repos/extra-x86_64/print-provides-replaces.sh

-+
 /PKGBUILD   |  284 +
 /build.mk   |  400 ++
 /ghc|   20 +
 /ghc.install|   20 +
 /print-provides-replaces.sh |   94 +++
 extra-i686/PKGBUILD |  142 --
 extra-i686/build.mk |  200 ---
 extra-i686/ghc  |   10 
 extra-i686/ghc.install  |   10 
 extra-i686/print-provides-replaces.sh   |   47 ---
 extra-x86_64/PKGBUILD   |  142 --
 extra-x86_64/build.mk   |  200 ---
 extra-x86_64/ghc|   10 
 extra-x86_64/ghc.install|   10 
 extra-x86_64/print-provides-replaces.sh |   47 ---
 15 files changed, 818 insertions(+), 818 deletions(-)

The diff is longer than the limit of 200KB.
Use svn diff -r 212770:212771 to see the changes.


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

2014-05-14 Thread Thomas Dziedzic
Date: Thursday, May 15, 2014 @ 06:29:54
  Author: td123
Revision: 212772

upgpkg: cabal-install 1.20.0.1-1

bump

Modified:
  cabal-install/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2014-05-15 04:27:19 UTC (rev 212771)
+++ PKGBUILD2014-05-15 04:29:54 UTC (rev 212772)
@@ -3,8 +3,8 @@
 # Contributor: Arch Haskell Team arch-hask...@haskell.org
 
 pkgname=cabal-install
-pkgver=1.18.0.3
-pkgrel=3
+pkgver=1.20.0.1
+pkgrel=1
 pkgdesc=The command-line interface for Cabal and Hackage.
 url=http://hackage.haskell.org/package/cabal-install;
 license=('custom:BSD3')
@@ -12,7 +12,7 @@
 makedepends=('ghc')
 depends=('gmp' 'zlib')
 
source=(http://hackage.haskell.org/packages/archive/cabal-install/${pkgver}/cabal-install-${pkgver}.tar.gz;)
-md5sums=('f7823387c21b4969e64238f63bb25740')
+md5sums=('351622588b11ae799e31677666a831f6')
 
 build() {
   mkdir ${srcdir}/build



[arch-commits] Commit in cabal-install/repos (4 files)

2014-05-14 Thread Thomas Dziedzic
Date: Thursday, May 15, 2014 @ 06:30:31
  Author: td123
Revision: 212773

archrelease: copy trunk to testing-i686, testing-x86_64

Added:
  cabal-install/repos/testing-i686/
  cabal-install/repos/testing-i686/PKGBUILD
(from rev 212772, cabal-install/trunk/PKGBUILD)
  cabal-install/repos/testing-x86_64/
  cabal-install/repos/testing-x86_64/PKGBUILD
(from rev 212772, cabal-install/trunk/PKGBUILD)

-+
 testing-i686/PKGBUILD   |   39 +++
 testing-x86_64/PKGBUILD |   39 +++
 2 files changed, 78 insertions(+)

Copied: cabal-install/repos/testing-i686/PKGBUILD (from rev 212772, 
cabal-install/trunk/PKGBUILD)
===
--- testing-i686/PKGBUILD   (rev 0)
+++ testing-i686/PKGBUILD   2014-05-15 04:30:31 UTC (rev 212773)
@@ -0,0 +1,39 @@
+# Maintainer: Thomas Dziedzic gos...@gmail.com
+# Maintainer: Vesa Kaihlavirta v...@archlinux.org
+# Contributor: Arch Haskell Team arch-hask...@haskell.org
+
+pkgname=cabal-install
+pkgver=1.20.0.1
+pkgrel=1
+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')
+depends=('gmp' 'zlib')
+source=(http://hackage.haskell.org/packages/archive/cabal-install/${pkgver}/cabal-install-${pkgver}.tar.gz;)
+md5sums=('351622588b11ae799e31677666a831f6')
+
+build() {
+  mkdir ${srcdir}/build
+  export PREFIX=${srcdir}/build
+
+  cd cabal-install-${pkgver}
+
+  sh bootstrap.sh --user
+}
+
+package() {
+  install -D -m755 ${srcdir}/build/bin/cabal ${pkgdir}/usr/bin/cabal
+
+  cd cabal-install-${pkgver}
+
+  install -d ${pkgdir}/usr/share/licenses/${pkgname}
+  install -m644 LICENSE \
+${pkgdir}/usr/share/licenses/${pkgname}
+
+  # add bash completion
+  install -d ${pkgdir}/usr/share/bash-completion/completions
+  install -m644 bash-completion/cabal \
+${pkgdir}/usr/share/bash-completion/completions
+}

Copied: cabal-install/repos/testing-x86_64/PKGBUILD (from rev 212772, 
cabal-install/trunk/PKGBUILD)
===
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2014-05-15 04:30:31 UTC (rev 212773)
@@ -0,0 +1,39 @@
+# Maintainer: Thomas Dziedzic gos...@gmail.com
+# Maintainer: Vesa Kaihlavirta v...@archlinux.org
+# Contributor: Arch Haskell Team arch-hask...@haskell.org
+
+pkgname=cabal-install
+pkgver=1.20.0.1
+pkgrel=1
+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')
+depends=('gmp' 'zlib')
+source=(http://hackage.haskell.org/packages/archive/cabal-install/${pkgver}/cabal-install-${pkgver}.tar.gz;)
+md5sums=('351622588b11ae799e31677666a831f6')
+
+build() {
+  mkdir ${srcdir}/build
+  export PREFIX=${srcdir}/build
+
+  cd cabal-install-${pkgver}
+
+  sh bootstrap.sh --user
+}
+
+package() {
+  install -D -m755 ${srcdir}/build/bin/cabal ${pkgdir}/usr/bin/cabal
+
+  cd cabal-install-${pkgver}
+
+  install -d ${pkgdir}/usr/share/licenses/${pkgname}
+  install -m644 LICENSE \
+${pkgdir}/usr/share/licenses/${pkgname}
+
+  # add bash completion
+  install -d ${pkgdir}/usr/share/bash-completion/completions
+  install -m644 bash-completion/cabal \
+${pkgdir}/usr/share/bash-completion/completions
+}



[arch-commits] Commit in (haskell-transformers)

2014-05-04 Thread Thomas Dziedzic
Date: Sunday, May 4, 2014 @ 16:02:08
  Author: td123
Revision: 212014

remove haskell-transformers since ghc 7.8.2 provides it

Deleted:
  haskell-transformers/



[arch-commits] Commit in (6 files)

2014-05-04 Thread Thomas Dziedzic
Date: Sunday, May 4, 2014 @ 16:11:31
  Author: td123
Revision: 110647

extra2community: Moving haskell-http from extra to community

Added:
  haskell-http/
  haskell-http/repos/
  haskell-http/trunk/
  haskell-http/trunk/0001-relax-upper-bound-on-network.patch
  haskell-http/trunk/PKGBUILD
  haskell-http/trunk/haskell-http.install

-+
 0001-relax-upper-bound-on-network.patch |   25 +
 PKGBUILD|   54 ++
 haskell-http.install|   35 +++
 3 files changed, 114 insertions(+)

Added: haskell-http/trunk/0001-relax-upper-bound-on-network.patch
===
--- haskell-http/trunk/0001-relax-upper-bound-on-network.patch  
(rev 0)
+++ haskell-http/trunk/0001-relax-upper-bound-on-network.patch  2014-05-04 
14:11:31 UTC (rev 110647)
@@ -0,0 +1,25 @@
+From 48063198a77c0274ae7d9ba2f50dc4c25ddba99f Mon Sep 17 00:00:00 2001
+From: Thomas Dziedzic gos...@gmail.com
+Date: Fri, 18 Apr 2014 09:40:01 -0700
+Subject: [PATCH] relax upper bound on network
+
+---
+ HTTP.cabal | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/HTTP.cabal b/HTTP.cabal
+index 594e22d..a1b5578 100644
+--- a/HTTP.cabal
 b/HTTP.cabal
+@@ -85,7 +85,7 @@ Library
+  Network.HTTP.Utils
+  Paths_HTTP
+   GHC-options: -fwarn-missing-signatures -Wall
+-  Build-depends: base = 2   4.8, network  2.5, parsec
++  Build-depends: base = 2   4.8, network  2.6, parsec
+   Extensions: FlexibleInstances
+   if flag(old-base)
+ Build-depends: base  3
+-- 
+1.9.2
+

Added: haskell-http/trunk/PKGBUILD
===
--- haskell-http/trunk/PKGBUILD (rev 0)
+++ haskell-http/trunk/PKGBUILD 2014-05-04 14:11:31 UTC (rev 110647)
@@ -0,0 +1,54 @@
+# Maintainer: Thomas Dziedzic gos...@gmail.com
+
+_hkgname=HTTP
+pkgname=haskell-http
+pkgver=4000.2.12
+pkgrel=2
+pkgdesc=A library for client-side HTTP
+url=http://hackage.haskell.org/package/${_hkgname};
+license=('custom:BSD3')
+arch=('i686' 'x86_64')
+options=('staticlibs')
+depends=('ghc=7.8.2-2' 'sh' 'haskell-network=2.5.0.0-1' 
'haskell-parsec=3.1.5-2' 'haskell-mtl=2.1.3.1-2')
+source=(http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;
+'0001-relax-upper-bound-on-network.patch')
+install=${pkgname}.install
+md5sums=('cd69429866439890353ec98100e3ba32'
+ '490004d105b18535bb6c77ec2566053e')
+
+build() {
+  cd ${_hkgname}-${pkgver}
+
+  # fixes https://github.com/haskell/HTTP/issues/55
+  patch -Np1 -i ${srcdir}/0001-relax-upper-bound-on-network.patch
+
+  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
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e s|ghc-pkg.*unregister[^ ]* |'--force' | unregister.sh
+}
+
+package() {
+  cd ${_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/${_hkgname}
+
+  runhaskell Setup copy --destdir=${pkgdir}
+
+  install -D -m644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
+  rm -f ${pkgdir}/usr/share/doc/${pkgname}/LICENSE
+}


Property changes on: haskell-http/trunk/PKGBUILD
___
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
Added: haskell-http/trunk/haskell-http.install
===
--- haskell-http/trunk/haskell-http.install (rev 0)
+++ haskell-http/trunk/haskell-http.install 2014-05-04 14:11:31 UTC (rev 
110647)
@@ -0,0 +1,35 @@
+pkgname=haskell-http
+
+_register() {
+  usr/share/haskell/${pkgname}/register.sh
+}
+
+_unregister() {
+  usr/share/haskell/${pkgname}/unregister.sh
+}
+
+_gen_contents() {
+  (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
+}
+
+post_install() {
+  _register
+  _gen_contents
+}
+
+pre_upgrade() {
+  _unregister
+}
+
+post_upgrade() {
+  _register
+  _gen_contents
+}
+
+pre_remove() {
+  _unregister
+}
+
+post_remove() {
+  _gen_contents
+}



[arch-commits] Commit in haskell-http/repos (8 files)

2014-05-04 Thread Thomas Dziedzic
Date: Sunday, May 4, 2014 @ 16:12:07
  Author: td123
Revision: 110648

archrelease: copy trunk to community-i686, community-x86_64

Added:
  haskell-http/repos/community-i686/
  haskell-http/repos/community-i686/0001-relax-upper-bound-on-network.patch
(from rev 110647, 
haskell-http/trunk/0001-relax-upper-bound-on-network.patch)
  haskell-http/repos/community-i686/PKGBUILD
(from rev 110647, haskell-http/trunk/PKGBUILD)
  haskell-http/repos/community-i686/haskell-http.install
(from rev 110647, haskell-http/trunk/haskell-http.install)
  haskell-http/repos/community-x86_64/
  haskell-http/repos/community-x86_64/0001-relax-upper-bound-on-network.patch
(from rev 110647, 
haskell-http/trunk/0001-relax-upper-bound-on-network.patch)
  haskell-http/repos/community-x86_64/PKGBUILD
(from rev 110647, haskell-http/trunk/PKGBUILD)
  haskell-http/repos/community-x86_64/haskell-http.install
(from rev 110647, haskell-http/trunk/haskell-http.install)

--+
 community-i686/0001-relax-upper-bound-on-network.patch   |   25 ++
 community-i686/PKGBUILD  |   54 +
 community-i686/haskell-http.install  |   35 
 community-x86_64/0001-relax-upper-bound-on-network.patch |   25 ++
 community-x86_64/PKGBUILD|   54 +
 community-x86_64/haskell-http.install|   35 
 6 files changed, 228 insertions(+)

Copied: 
haskell-http/repos/community-i686/0001-relax-upper-bound-on-network.patch (from 
rev 110647, haskell-http/trunk/0001-relax-upper-bound-on-network.patch)
===
--- community-i686/0001-relax-upper-bound-on-network.patch  
(rev 0)
+++ community-i686/0001-relax-upper-bound-on-network.patch  2014-05-04 
14:12:07 UTC (rev 110648)
@@ -0,0 +1,25 @@
+From 48063198a77c0274ae7d9ba2f50dc4c25ddba99f Mon Sep 17 00:00:00 2001
+From: Thomas Dziedzic gos...@gmail.com
+Date: Fri, 18 Apr 2014 09:40:01 -0700
+Subject: [PATCH] relax upper bound on network
+
+---
+ HTTP.cabal | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/HTTP.cabal b/HTTP.cabal
+index 594e22d..a1b5578 100644
+--- a/HTTP.cabal
 b/HTTP.cabal
+@@ -85,7 +85,7 @@ Library
+  Network.HTTP.Utils
+  Paths_HTTP
+   GHC-options: -fwarn-missing-signatures -Wall
+-  Build-depends: base = 2   4.8, network  2.5, parsec
++  Build-depends: base = 2   4.8, network  2.6, parsec
+   Extensions: FlexibleInstances
+   if flag(old-base)
+ Build-depends: base  3
+-- 
+1.9.2
+

Copied: haskell-http/repos/community-i686/PKGBUILD (from rev 110647, 
haskell-http/trunk/PKGBUILD)
===
--- community-i686/PKGBUILD (rev 0)
+++ community-i686/PKGBUILD 2014-05-04 14:12:07 UTC (rev 110648)
@@ -0,0 +1,54 @@
+# Maintainer: Thomas Dziedzic gos...@gmail.com
+
+_hkgname=HTTP
+pkgname=haskell-http
+pkgver=4000.2.12
+pkgrel=2
+pkgdesc=A library for client-side HTTP
+url=http://hackage.haskell.org/package/${_hkgname};
+license=('custom:BSD3')
+arch=('i686' 'x86_64')
+options=('staticlibs')
+depends=('ghc=7.8.2-2' 'sh' 'haskell-network=2.5.0.0-1' 
'haskell-parsec=3.1.5-2' 'haskell-mtl=2.1.3.1-2')
+source=(http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;
+'0001-relax-upper-bound-on-network.patch')
+install=${pkgname}.install
+md5sums=('cd69429866439890353ec98100e3ba32'
+ '490004d105b18535bb6c77ec2566053e')
+
+build() {
+  cd ${_hkgname}-${pkgver}
+
+  # fixes https://github.com/haskell/HTTP/issues/55
+  patch -Np1 -i ${srcdir}/0001-relax-upper-bound-on-network.patch
+
+  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
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e s|ghc-pkg.*unregister[^ ]* |'--force' | unregister.sh
+}
+
+package() {
+  cd ${_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/${_hkgname}
+
+  runhaskell Setup copy --destdir=${pkgdir}
+
+  install -D -m644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
+  rm -f ${pkgdir}/usr/share/doc/${pkgname}/LICENSE
+}

Copied: haskell-http/repos/community-i686/haskell-http.install (from rev 
110647, haskell-http/trunk/haskell-http.install

[arch-commits] Commit in (haskell-http)

2014-05-04 Thread Thomas Dziedzic
Date: Sunday, May 4, 2014 @ 16:12:43
  Author: td123
Revision: 212017

extra2community: Moving haskell-http from extra to community

Deleted:
  haskell-http/



[arch-commits] Commit in (5 files)

2014-05-04 Thread Thomas Dziedzic
Date: Sunday, May 4, 2014 @ 16:13:08
  Author: td123
Revision: 110649

extra2community: Moving haskell-mtl from extra to community

Added:
  haskell-mtl/
  haskell-mtl/repos/
  haskell-mtl/trunk/
  haskell-mtl/trunk/PKGBUILD
  haskell-mtl/trunk/haskell-mtl.install

-+
 PKGBUILD|   50 ++
 haskell-mtl.install |   35 +++
 2 files changed, 85 insertions(+)

Added: haskell-mtl/trunk/PKGBUILD
===
--- haskell-mtl/trunk/PKGBUILD  (rev 0)
+++ haskell-mtl/trunk/PKGBUILD  2014-05-04 14:13:08 UTC (rev 110649)
@@ -0,0 +1,50 @@
+# Maintainer: Thomas Dziedzic gos...@gmail.com
+
+_hkgname=mtl
+pkgname=haskell-mtl
+pkgver=2.1.3.1
+pkgrel=2
+pkgdesc=Monad classes, using functional dependencies
+url=http://hackage.haskell.org/package/${_hkgname};
+license=('custom:BSD3')
+arch=('i686' 'x86_64')
+options=('staticlibs')
+depends=('ghc=7.8.2-2' 'sh')
+source=(http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+install=${pkgname}.install
+md5sums=('8f3927677bf3e0efb6fcce08b1be2eac')
+
+build() {
+  cd ${_hkgname}-${pkgver}
+
+  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
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e s|ghc-pkg.*unregister[^ ]* |'--force' | unregister.sh
+}
+
+package() {
+  cd ${_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/${_hkgname}
+
+  runhaskell Setup copy --destdir=${pkgdir}
+
+  install -D -m644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
+  rm -f ${pkgdir}/usr/share/doc/${pkgname}/LICENSE
+}
+


Property changes on: haskell-mtl/trunk/PKGBUILD
___
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
Added: haskell-mtl/trunk/haskell-mtl.install
===
--- haskell-mtl/trunk/haskell-mtl.install   (rev 0)
+++ haskell-mtl/trunk/haskell-mtl.install   2014-05-04 14:13:08 UTC (rev 
110649)
@@ -0,0 +1,35 @@
+pkgname=haskell-mtl
+
+_register() {
+  usr/share/haskell/${pkgname}/register.sh
+}
+
+_unregister() {
+  usr/share/haskell/${pkgname}/unregister.sh
+}
+
+_gen_contents() {
+  (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
+}
+
+post_install() {
+  _register
+  _gen_contents
+}
+
+pre_upgrade() {
+  _unregister
+}
+
+post_upgrade() {
+  _register
+  _gen_contents
+}
+
+pre_remove() {
+  _unregister
+}
+
+post_remove() {
+  _gen_contents
+}



[arch-commits] Commit in haskell-mtl/repos (6 files)

2014-05-04 Thread Thomas Dziedzic
Date: Sunday, May 4, 2014 @ 16:13:36
  Author: td123
Revision: 110650

archrelease: copy trunk to community-i686, community-x86_64

Added:
  haskell-mtl/repos/community-i686/
  haskell-mtl/repos/community-i686/PKGBUILD
(from rev 110649, haskell-mtl/trunk/PKGBUILD)
  haskell-mtl/repos/community-i686/haskell-mtl.install
(from rev 110649, haskell-mtl/trunk/haskell-mtl.install)
  haskell-mtl/repos/community-x86_64/
  haskell-mtl/repos/community-x86_64/PKGBUILD
(from rev 110649, haskell-mtl/trunk/PKGBUILD)
  haskell-mtl/repos/community-x86_64/haskell-mtl.install
(from rev 110649, haskell-mtl/trunk/haskell-mtl.install)

--+
 community-i686/PKGBUILD  |   50 +
 community-i686/haskell-mtl.install   |   35 +++
 community-x86_64/PKGBUILD|   50 +
 community-x86_64/haskell-mtl.install |   35 +++
 4 files changed, 170 insertions(+)

Copied: haskell-mtl/repos/community-i686/PKGBUILD (from rev 110649, 
haskell-mtl/trunk/PKGBUILD)
===
--- community-i686/PKGBUILD (rev 0)
+++ community-i686/PKGBUILD 2014-05-04 14:13:36 UTC (rev 110650)
@@ -0,0 +1,50 @@
+# Maintainer: Thomas Dziedzic gos...@gmail.com
+
+_hkgname=mtl
+pkgname=haskell-mtl
+pkgver=2.1.3.1
+pkgrel=2
+pkgdesc=Monad classes, using functional dependencies
+url=http://hackage.haskell.org/package/${_hkgname};
+license=('custom:BSD3')
+arch=('i686' 'x86_64')
+options=('staticlibs')
+depends=('ghc=7.8.2-2' 'sh')
+source=(http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+install=${pkgname}.install
+md5sums=('8f3927677bf3e0efb6fcce08b1be2eac')
+
+build() {
+  cd ${_hkgname}-${pkgver}
+
+  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
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e s|ghc-pkg.*unregister[^ ]* |'--force' | unregister.sh
+}
+
+package() {
+  cd ${_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/${_hkgname}
+
+  runhaskell Setup copy --destdir=${pkgdir}
+
+  install -D -m644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
+  rm -f ${pkgdir}/usr/share/doc/${pkgname}/LICENSE
+}
+

Copied: haskell-mtl/repos/community-i686/haskell-mtl.install (from rev 110649, 
haskell-mtl/trunk/haskell-mtl.install)
===
--- community-i686/haskell-mtl.install  (rev 0)
+++ community-i686/haskell-mtl.install  2014-05-04 14:13:36 UTC (rev 110650)
@@ -0,0 +1,35 @@
+pkgname=haskell-mtl
+
+_register() {
+  usr/share/haskell/${pkgname}/register.sh
+}
+
+_unregister() {
+  usr/share/haskell/${pkgname}/unregister.sh
+}
+
+_gen_contents() {
+  (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
+}
+
+post_install() {
+  _register
+  _gen_contents
+}
+
+pre_upgrade() {
+  _unregister
+}
+
+post_upgrade() {
+  _register
+  _gen_contents
+}
+
+pre_remove() {
+  _unregister
+}
+
+post_remove() {
+  _gen_contents
+}

Copied: haskell-mtl/repos/community-x86_64/PKGBUILD (from rev 110649, 
haskell-mtl/trunk/PKGBUILD)
===
--- community-x86_64/PKGBUILD   (rev 0)
+++ community-x86_64/PKGBUILD   2014-05-04 14:13:36 UTC (rev 110650)
@@ -0,0 +1,50 @@
+# Maintainer: Thomas Dziedzic gos...@gmail.com
+
+_hkgname=mtl
+pkgname=haskell-mtl
+pkgver=2.1.3.1
+pkgrel=2
+pkgdesc=Monad classes, using functional dependencies
+url=http://hackage.haskell.org/package/${_hkgname};
+license=('custom:BSD3')
+arch=('i686' 'x86_64')
+options=('staticlibs')
+depends=('ghc=7.8.2-2' 'sh')
+source=(http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+install=${pkgname}.install
+md5sums=('8f3927677bf3e0efb6fcce08b1be2eac')
+
+build() {
+  cd ${_hkgname}-${pkgver}
+
+  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
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e s|ghc-pkg.*unregister[^ ]* |'--force' | unregister.sh
+}
+
+package() {
+  cd ${_hkgname}-${pkgver

[arch-commits] Commit in (haskell-mtl)

2014-05-04 Thread Thomas Dziedzic
Date: Sunday, May 4, 2014 @ 16:14:16
  Author: td123
Revision: 212020

extra2community: Moving haskell-mtl from extra to community

Deleted:
  haskell-mtl/



[arch-commits] Commit in (5 files)

2014-05-04 Thread Thomas Dziedzic
Date: Sunday, May 4, 2014 @ 16:14:35
  Author: td123
Revision: 110651

extra2community: Moving haskell-network from extra to community

Added:
  haskell-network/
  haskell-network/repos/
  haskell-network/trunk/
  haskell-network/trunk/PKGBUILD
  haskell-network/trunk/haskell-network.install

-+
 PKGBUILD|   50 ++
 haskell-network.install |   35 
 2 files changed, 85 insertions(+)

Added: haskell-network/trunk/PKGBUILD
===
--- haskell-network/trunk/PKGBUILD  (rev 0)
+++ haskell-network/trunk/PKGBUILD  2014-05-04 14:14:35 UTC (rev 110651)
@@ -0,0 +1,50 @@
+# Maintainer: Thomas Dziedzic gos...@gmail.com
+
+_hkgname=network
+pkgname=haskell-network
+pkgver=2.5.0.0
+pkgrel=1
+pkgdesc=Low-level networking interface
+url=http://hackage.haskell.org/package/${_hkgname};
+license=('custom:BSD3')
+arch=('i686' 'x86_64')
+options=('staticlibs')
+depends=('ghc=7.8.2-2' 'sh' 'haskell-parsec=3.1.5-2')
+source=(http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+install=${pkgname}.install
+md5sums=('ce4a584d3c04905b88275a156273dac6')
+
+build() {
+  cd ${_hkgname}-${pkgver}
+
+  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
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e s|ghc-pkg.*unregister[^ ]* |'--force' | unregister.sh
+}
+
+package() {
+  cd ${_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/${_hkgname}
+
+  runhaskell Setup copy --destdir=${pkgdir}
+
+  install -D -m644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
+  rm -f ${pkgdir}/usr/share/doc/${pkgname}/LICENSE
+}
+


Property changes on: haskell-network/trunk/PKGBUILD
___
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
Added: haskell-network/trunk/haskell-network.install
===
--- haskell-network/trunk/haskell-network.install   
(rev 0)
+++ haskell-network/trunk/haskell-network.install   2014-05-04 14:14:35 UTC 
(rev 110651)
@@ -0,0 +1,35 @@
+pkgname=haskell-network
+
+_register() {
+  usr/share/haskell/${pkgname}/register.sh
+}
+
+_unregister() {
+  usr/share/haskell/${pkgname}/unregister.sh
+}
+
+_gen_contents() {
+  (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
+}
+
+post_install() {
+  _register
+  _gen_contents
+}
+
+pre_upgrade() {
+  _unregister
+}
+
+post_upgrade() {
+  _register
+  _gen_contents
+}
+
+pre_remove() {
+  _unregister
+}
+
+post_remove() {
+  _gen_contents
+}



[arch-commits] Commit in haskell-network/repos (6 files)

2014-05-04 Thread Thomas Dziedzic
Date: Sunday, May 4, 2014 @ 16:15:20
  Author: td123
Revision: 110652

archrelease: copy trunk to community-i686, community-x86_64

Added:
  haskell-network/repos/community-i686/
  haskell-network/repos/community-i686/PKGBUILD
(from rev 110651, haskell-network/trunk/PKGBUILD)
  haskell-network/repos/community-i686/haskell-network.install
(from rev 110651, haskell-network/trunk/haskell-network.install)
  haskell-network/repos/community-x86_64/
  haskell-network/repos/community-x86_64/PKGBUILD
(from rev 110651, haskell-network/trunk/PKGBUILD)
  haskell-network/repos/community-x86_64/haskell-network.install
(from rev 110651, haskell-network/trunk/haskell-network.install)

--+
 community-i686/PKGBUILD  |   50 +
 community-i686/haskell-network.install   |   35 
 community-x86_64/PKGBUILD|   50 +
 community-x86_64/haskell-network.install |   35 
 4 files changed, 170 insertions(+)

Copied: haskell-network/repos/community-i686/PKGBUILD (from rev 110651, 
haskell-network/trunk/PKGBUILD)
===
--- community-i686/PKGBUILD (rev 0)
+++ community-i686/PKGBUILD 2014-05-04 14:15:20 UTC (rev 110652)
@@ -0,0 +1,50 @@
+# Maintainer: Thomas Dziedzic gos...@gmail.com
+
+_hkgname=network
+pkgname=haskell-network
+pkgver=2.5.0.0
+pkgrel=1
+pkgdesc=Low-level networking interface
+url=http://hackage.haskell.org/package/${_hkgname};
+license=('custom:BSD3')
+arch=('i686' 'x86_64')
+options=('staticlibs')
+depends=('ghc=7.8.2-2' 'sh' 'haskell-parsec=3.1.5-2')
+source=(http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+install=${pkgname}.install
+md5sums=('ce4a584d3c04905b88275a156273dac6')
+
+build() {
+  cd ${_hkgname}-${pkgver}
+
+  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
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e s|ghc-pkg.*unregister[^ ]* |'--force' | unregister.sh
+}
+
+package() {
+  cd ${_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/${_hkgname}
+
+  runhaskell Setup copy --destdir=${pkgdir}
+
+  install -D -m644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
+  rm -f ${pkgdir}/usr/share/doc/${pkgname}/LICENSE
+}
+

Copied: haskell-network/repos/community-i686/haskell-network.install (from rev 
110651, haskell-network/trunk/haskell-network.install)
===
--- community-i686/haskell-network.install  (rev 0)
+++ community-i686/haskell-network.install  2014-05-04 14:15:20 UTC (rev 
110652)
@@ -0,0 +1,35 @@
+pkgname=haskell-network
+
+_register() {
+  usr/share/haskell/${pkgname}/register.sh
+}
+
+_unregister() {
+  usr/share/haskell/${pkgname}/unregister.sh
+}
+
+_gen_contents() {
+  (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
+}
+
+post_install() {
+  _register
+  _gen_contents
+}
+
+pre_upgrade() {
+  _unregister
+}
+
+post_upgrade() {
+  _register
+  _gen_contents
+}
+
+pre_remove() {
+  _unregister
+}
+
+post_remove() {
+  _gen_contents
+}

Copied: haskell-network/repos/community-x86_64/PKGBUILD (from rev 110651, 
haskell-network/trunk/PKGBUILD)
===
--- community-x86_64/PKGBUILD   (rev 0)
+++ community-x86_64/PKGBUILD   2014-05-04 14:15:20 UTC (rev 110652)
@@ -0,0 +1,50 @@
+# Maintainer: Thomas Dziedzic gos...@gmail.com
+
+_hkgname=network
+pkgname=haskell-network
+pkgver=2.5.0.0
+pkgrel=1
+pkgdesc=Low-level networking interface
+url=http://hackage.haskell.org/package/${_hkgname};
+license=('custom:BSD3')
+arch=('i686' 'x86_64')
+options=('staticlibs')
+depends=('ghc=7.8.2-2' 'sh' 'haskell-parsec=3.1.5-2')
+source=(http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+install=${pkgname}.install
+md5sums=('ce4a584d3c04905b88275a156273dac6')
+
+build() {
+  cd ${_hkgname}-${pkgver}
+
+  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
+  runhaskell

[arch-commits] Commit in (5 files)

2014-05-04 Thread Thomas Dziedzic
Date: Sunday, May 4, 2014 @ 16:16:21
  Author: td123
Revision: 110653

extra2community: Moving haskell-parsec from extra to community

Added:
  haskell-parsec/
  haskell-parsec/repos/
  haskell-parsec/trunk/
  haskell-parsec/trunk/PKGBUILD
  haskell-parsec/trunk/haskell-parsec.install

+
 PKGBUILD   |   50 +++
 haskell-parsec.install |   35 
 2 files changed, 85 insertions(+)

Added: haskell-parsec/trunk/PKGBUILD
===
--- haskell-parsec/trunk/PKGBUILD   (rev 0)
+++ haskell-parsec/trunk/PKGBUILD   2014-05-04 14:16:21 UTC (rev 110653)
@@ -0,0 +1,50 @@
+# Maintainer: Thomas Dziedzic gos...@gmail.com
+
+_hkgname=parsec
+pkgname=haskell-parsec
+pkgver=3.1.5
+pkgrel=2
+pkgdesc=Monadic parser combinators
+url=http://hackage.haskell.org/package/${_hkgname};
+license=('custom:BSD3')
+arch=('i686' 'x86_64')
+options=('staticlibs')
+depends=('ghc=7.8.2-2' 'sh' 'haskell-mtl=2.1.3.1-2' 'haskell-text=1.1.0.1-2')
+source=(http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+install=${pkgname}.install
+md5sums=('00e822decff17a034a68c462d2a3e099')
+
+build() {
+  cd ${_hkgname}-${pkgver}
+
+  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
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e s|ghc-pkg.*unregister[^ ]* |'--force' | unregister.sh
+}
+
+package() {
+  cd ${_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/${_hkgname}
+
+  runhaskell Setup copy --destdir=${pkgdir}
+
+  install -D -m644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
+  rm -f ${pkgdir}/usr/share/doc/${pkgname}/LICENSE
+}
+


Property changes on: haskell-parsec/trunk/PKGBUILD
___
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
Added: haskell-parsec/trunk/haskell-parsec.install
===
--- haskell-parsec/trunk/haskell-parsec.install (rev 0)
+++ haskell-parsec/trunk/haskell-parsec.install 2014-05-04 14:16:21 UTC (rev 
110653)
@@ -0,0 +1,35 @@
+pkgname=haskell-parsec
+
+_register() {
+  usr/share/haskell/${pkgname}/register.sh
+}
+
+_unregister() {
+  usr/share/haskell/${pkgname}/unregister.sh
+}
+
+_gen_contents() {
+  (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
+}
+
+post_install() {
+  _register
+  _gen_contents
+}
+
+pre_upgrade() {
+  _unregister
+}
+
+post_upgrade() {
+  _register
+  _gen_contents
+}
+
+pre_remove() {
+  _unregister
+}
+
+post_remove() {
+  _gen_contents
+}



[arch-commits] Commit in (haskell-network)

2014-05-04 Thread Thomas Dziedzic
Date: Sunday, May 4, 2014 @ 16:15:56
  Author: td123
Revision: 212023

extra2community: Moving haskell-network from extra to community

Deleted:
  haskell-network/



[arch-commits] Commit in (haskell-parsec)

2014-05-04 Thread Thomas Dziedzic
Date: Sunday, May 4, 2014 @ 16:17:25
  Author: td123
Revision: 212026

extra2community: Moving haskell-parsec from extra to community

Deleted:
  haskell-parsec/



[arch-commits] Commit in haskell-parsec/repos (6 files)

2014-05-04 Thread Thomas Dziedzic
Date: Sunday, May 4, 2014 @ 16:16:49
  Author: td123
Revision: 110654

archrelease: copy trunk to community-i686, community-x86_64

Added:
  haskell-parsec/repos/community-i686/
  haskell-parsec/repos/community-i686/PKGBUILD
(from rev 110653, haskell-parsec/trunk/PKGBUILD)
  haskell-parsec/repos/community-i686/haskell-parsec.install
(from rev 110653, haskell-parsec/trunk/haskell-parsec.install)
  haskell-parsec/repos/community-x86_64/
  haskell-parsec/repos/community-x86_64/PKGBUILD
(from rev 110653, haskell-parsec/trunk/PKGBUILD)
  haskell-parsec/repos/community-x86_64/haskell-parsec.install
(from rev 110653, haskell-parsec/trunk/haskell-parsec.install)

-+
 community-i686/PKGBUILD |   50 ++
 community-i686/haskell-parsec.install   |   35 +
 community-x86_64/PKGBUILD   |   50 ++
 community-x86_64/haskell-parsec.install |   35 +
 4 files changed, 170 insertions(+)

Copied: haskell-parsec/repos/community-i686/PKGBUILD (from rev 110653, 
haskell-parsec/trunk/PKGBUILD)
===
--- community-i686/PKGBUILD (rev 0)
+++ community-i686/PKGBUILD 2014-05-04 14:16:49 UTC (rev 110654)
@@ -0,0 +1,50 @@
+# Maintainer: Thomas Dziedzic gos...@gmail.com
+
+_hkgname=parsec
+pkgname=haskell-parsec
+pkgver=3.1.5
+pkgrel=2
+pkgdesc=Monadic parser combinators
+url=http://hackage.haskell.org/package/${_hkgname};
+license=('custom:BSD3')
+arch=('i686' 'x86_64')
+options=('staticlibs')
+depends=('ghc=7.8.2-2' 'sh' 'haskell-mtl=2.1.3.1-2' 'haskell-text=1.1.0.1-2')
+source=(http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+install=${pkgname}.install
+md5sums=('00e822decff17a034a68c462d2a3e099')
+
+build() {
+  cd ${_hkgname}-${pkgver}
+
+  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
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e s|ghc-pkg.*unregister[^ ]* |'--force' | unregister.sh
+}
+
+package() {
+  cd ${_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/${_hkgname}
+
+  runhaskell Setup copy --destdir=${pkgdir}
+
+  install -D -m644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
+  rm -f ${pkgdir}/usr/share/doc/${pkgname}/LICENSE
+}
+

Copied: haskell-parsec/repos/community-i686/haskell-parsec.install (from rev 
110653, haskell-parsec/trunk/haskell-parsec.install)
===
--- community-i686/haskell-parsec.install   (rev 0)
+++ community-i686/haskell-parsec.install   2014-05-04 14:16:49 UTC (rev 
110654)
@@ -0,0 +1,35 @@
+pkgname=haskell-parsec
+
+_register() {
+  usr/share/haskell/${pkgname}/register.sh
+}
+
+_unregister() {
+  usr/share/haskell/${pkgname}/unregister.sh
+}
+
+_gen_contents() {
+  (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
+}
+
+post_install() {
+  _register
+  _gen_contents
+}
+
+pre_upgrade() {
+  _unregister
+}
+
+post_upgrade() {
+  _register
+  _gen_contents
+}
+
+pre_remove() {
+  _unregister
+}
+
+post_remove() {
+  _gen_contents
+}

Copied: haskell-parsec/repos/community-x86_64/PKGBUILD (from rev 110653, 
haskell-parsec/trunk/PKGBUILD)
===
--- community-x86_64/PKGBUILD   (rev 0)
+++ community-x86_64/PKGBUILD   2014-05-04 14:16:49 UTC (rev 110654)
@@ -0,0 +1,50 @@
+# Maintainer: Thomas Dziedzic gos...@gmail.com
+
+_hkgname=parsec
+pkgname=haskell-parsec
+pkgver=3.1.5
+pkgrel=2
+pkgdesc=Monadic parser combinators
+url=http://hackage.haskell.org/package/${_hkgname};
+license=('custom:BSD3')
+arch=('i686' 'x86_64')
+options=('staticlibs')
+depends=('ghc=7.8.2-2' 'sh' 'haskell-mtl=2.1.3.1-2' 'haskell-text=1.1.0.1-2')
+source=(http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+install=${pkgname}.install
+md5sums=('00e822decff17a034a68c462d2a3e099')
+
+build() {
+  cd ${_hkgname}-${pkgver}
+
+  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 (5 files)

2014-05-04 Thread Thomas Dziedzic
Date: Sunday, May 4, 2014 @ 16:17:43
  Author: td123
Revision: 110655

extra2community: Moving haskell-random from extra to community

Added:
  haskell-random/
  haskell-random/repos/
  haskell-random/trunk/
  haskell-random/trunk/PKGBUILD
  haskell-random/trunk/haskell-random.install

+
 PKGBUILD   |   50 +++
 haskell-random.install |   35 
 2 files changed, 85 insertions(+)

Added: haskell-random/trunk/PKGBUILD
===
--- haskell-random/trunk/PKGBUILD   (rev 0)
+++ haskell-random/trunk/PKGBUILD   2014-05-04 14:17:43 UTC (rev 110655)
@@ -0,0 +1,50 @@
+# Maintainer: Thomas Dziedzic gos...@gmail.com
+
+_hkgname=random
+pkgname=haskell-random
+pkgver=1.0.1.1
+pkgrel=7
+pkgdesc=random number library
+url=http://hackage.haskell.org/package/${_hkgname};
+license=('custom:BSD3')
+arch=('i686' 'x86_64')
+options=('staticlibs')
+depends=('ghc=7.8.2-2' 'sh')
+source=(http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+install=${pkgname}.install
+md5sums=('9a249cfa7ff6793cbf2be06e9fcd7538')
+
+build() {
+  cd ${_hkgname}-${pkgver}
+
+  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
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e s|ghc-pkg.*unregister[^ ]* |'--force' | unregister.sh
+}
+
+package() {
+  cd ${_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/${_hkgname}
+
+  runhaskell Setup copy --destdir=${pkgdir}
+
+  install -D -m644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
+  rm -f ${pkgdir}/usr/share/doc/${pkgname}/LICENSE
+}
+


Property changes on: haskell-random/trunk/PKGBUILD
___
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
Added: haskell-random/trunk/haskell-random.install
===
--- haskell-random/trunk/haskell-random.install (rev 0)
+++ haskell-random/trunk/haskell-random.install 2014-05-04 14:17:43 UTC (rev 
110655)
@@ -0,0 +1,35 @@
+pkgname=haskell-random
+
+_register() {
+  usr/share/haskell/${pkgname}/register.sh
+}
+
+_unregister() {
+  usr/share/haskell/${pkgname}/unregister.sh
+}
+
+_gen_contents() {
+  (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
+}
+
+post_install() {
+  _register
+  _gen_contents
+}
+
+pre_upgrade() {
+  _unregister
+}
+
+post_upgrade() {
+  _register
+  _gen_contents
+}
+
+pre_remove() {
+  _unregister
+}
+
+post_remove() {
+  _gen_contents
+}



[arch-commits] Commit in haskell-random/repos (6 files)

2014-05-04 Thread Thomas Dziedzic
Date: Sunday, May 4, 2014 @ 16:18:13
  Author: td123
Revision: 110656

archrelease: copy trunk to community-i686, community-x86_64

Added:
  haskell-random/repos/community-i686/
  haskell-random/repos/community-i686/PKGBUILD
(from rev 110655, haskell-random/trunk/PKGBUILD)
  haskell-random/repos/community-i686/haskell-random.install
(from rev 110655, haskell-random/trunk/haskell-random.install)
  haskell-random/repos/community-x86_64/
  haskell-random/repos/community-x86_64/PKGBUILD
(from rev 110655, haskell-random/trunk/PKGBUILD)
  haskell-random/repos/community-x86_64/haskell-random.install
(from rev 110655, haskell-random/trunk/haskell-random.install)

-+
 community-i686/PKGBUILD |   50 ++
 community-i686/haskell-random.install   |   35 +
 community-x86_64/PKGBUILD   |   50 ++
 community-x86_64/haskell-random.install |   35 +
 4 files changed, 170 insertions(+)

Copied: haskell-random/repos/community-i686/PKGBUILD (from rev 110655, 
haskell-random/trunk/PKGBUILD)
===
--- community-i686/PKGBUILD (rev 0)
+++ community-i686/PKGBUILD 2014-05-04 14:18:13 UTC (rev 110656)
@@ -0,0 +1,50 @@
+# Maintainer: Thomas Dziedzic gos...@gmail.com
+
+_hkgname=random
+pkgname=haskell-random
+pkgver=1.0.1.1
+pkgrel=7
+pkgdesc=random number library
+url=http://hackage.haskell.org/package/${_hkgname};
+license=('custom:BSD3')
+arch=('i686' 'x86_64')
+options=('staticlibs')
+depends=('ghc=7.8.2-2' 'sh')
+source=(http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+install=${pkgname}.install
+md5sums=('9a249cfa7ff6793cbf2be06e9fcd7538')
+
+build() {
+  cd ${_hkgname}-${pkgver}
+
+  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
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e s|ghc-pkg.*unregister[^ ]* |'--force' | unregister.sh
+}
+
+package() {
+  cd ${_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/${_hkgname}
+
+  runhaskell Setup copy --destdir=${pkgdir}
+
+  install -D -m644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
+  rm -f ${pkgdir}/usr/share/doc/${pkgname}/LICENSE
+}
+

Copied: haskell-random/repos/community-i686/haskell-random.install (from rev 
110655, haskell-random/trunk/haskell-random.install)
===
--- community-i686/haskell-random.install   (rev 0)
+++ community-i686/haskell-random.install   2014-05-04 14:18:13 UTC (rev 
110656)
@@ -0,0 +1,35 @@
+pkgname=haskell-random
+
+_register() {
+  usr/share/haskell/${pkgname}/register.sh
+}
+
+_unregister() {
+  usr/share/haskell/${pkgname}/unregister.sh
+}
+
+_gen_contents() {
+  (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
+}
+
+post_install() {
+  _register
+  _gen_contents
+}
+
+pre_upgrade() {
+  _unregister
+}
+
+post_upgrade() {
+  _register
+  _gen_contents
+}
+
+pre_remove() {
+  _unregister
+}
+
+post_remove() {
+  _gen_contents
+}

Copied: haskell-random/repos/community-x86_64/PKGBUILD (from rev 110655, 
haskell-random/trunk/PKGBUILD)
===
--- community-x86_64/PKGBUILD   (rev 0)
+++ community-x86_64/PKGBUILD   2014-05-04 14:18:13 UTC (rev 110656)
@@ -0,0 +1,50 @@
+# Maintainer: Thomas Dziedzic gos...@gmail.com
+
+_hkgname=random
+pkgname=haskell-random
+pkgver=1.0.1.1
+pkgrel=7
+pkgdesc=random number library
+url=http://hackage.haskell.org/package/${_hkgname};
+license=('custom:BSD3')
+arch=('i686' 'x86_64')
+options=('staticlibs')
+depends=('ghc=7.8.2-2' 'sh')
+source=(http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+install=${pkgname}.install
+md5sums=('9a249cfa7ff6793cbf2be06e9fcd7538')
+
+build() {
+  cd ${_hkgname}-${pkgver}
+
+  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
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e s|ghc-pkg.*unregister[^ ]* |'--force

[arch-commits] Commit in (haskell-random)

2014-05-04 Thread Thomas Dziedzic
Date: Sunday, May 4, 2014 @ 16:18:48
  Author: td123
Revision: 212031

extra2community: Moving haskell-random from extra to community

Deleted:
  haskell-random/



[arch-commits] Commit in (5 files)

2014-05-04 Thread Thomas Dziedzic
Date: Sunday, May 4, 2014 @ 16:19:08
  Author: td123
Revision: 110657

extra2community: Moving haskell-text from extra to community

Added:
  haskell-text/
  haskell-text/repos/
  haskell-text/trunk/
  haskell-text/trunk/PKGBUILD
  haskell-text/trunk/haskell-text.install

--+
 PKGBUILD |   50 +
 haskell-text.install |   35 ++
 2 files changed, 85 insertions(+)

Added: haskell-text/trunk/PKGBUILD
===
--- haskell-text/trunk/PKGBUILD (rev 0)
+++ haskell-text/trunk/PKGBUILD 2014-05-04 14:19:08 UTC (rev 110657)
@@ -0,0 +1,50 @@
+# Maintainer: Thomas Dziedzic gos...@gmail.com
+
+_hkgname=text
+pkgname=haskell-text
+pkgver=1.1.0.1
+pkgrel=2
+pkgdesc=An efficient packed Unicode text type.
+url=http://hackage.haskell.org/package/${_hkgname};
+license=('custom:BSD3')
+arch=('i686' 'x86_64')
+options=('staticlibs')
+depends=('ghc=7.8.2-2' 'sh')
+source=(http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+install=${pkgname}.install
+md5sums=('e8e1017ed0f0fef2a872569d8f31883e')
+
+build() {
+  cd ${_hkgname}-${pkgver}
+
+  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
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e s|ghc-pkg.*unregister[^ ]* |'--force' | unregister.sh
+}
+
+package() {
+  cd ${_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/${_hkgname}
+
+  runhaskell Setup copy --destdir=${pkgdir}
+
+  install -D -m644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
+  rm -f ${pkgdir}/usr/share/doc/${pkgname}/LICENSE
+}
+


Property changes on: haskell-text/trunk/PKGBUILD
___
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
Added: haskell-text/trunk/haskell-text.install
===
--- haskell-text/trunk/haskell-text.install (rev 0)
+++ haskell-text/trunk/haskell-text.install 2014-05-04 14:19:08 UTC (rev 
110657)
@@ -0,0 +1,35 @@
+pkgname=haskell-text
+
+_register() {
+  usr/share/haskell/${pkgname}/register.sh
+}
+
+_unregister() {
+  usr/share/haskell/${pkgname}/unregister.sh
+}
+
+_gen_contents() {
+  (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
+}
+
+post_install() {
+  _register
+  _gen_contents
+}
+
+pre_upgrade() {
+  _unregister
+}
+
+post_upgrade() {
+  _register
+  _gen_contents
+}
+
+pre_remove() {
+  _unregister
+}
+
+post_remove() {
+  _gen_contents
+}



[arch-commits] Commit in haskell-text/repos (6 files)

2014-05-04 Thread Thomas Dziedzic
Date: Sunday, May 4, 2014 @ 16:19:36
  Author: td123
Revision: 110658

archrelease: copy trunk to community-i686, community-x86_64

Added:
  haskell-text/repos/community-i686/
  haskell-text/repos/community-i686/PKGBUILD
(from rev 110657, haskell-text/trunk/PKGBUILD)
  haskell-text/repos/community-i686/haskell-text.install
(from rev 110657, haskell-text/trunk/haskell-text.install)
  haskell-text/repos/community-x86_64/
  haskell-text/repos/community-x86_64/PKGBUILD
(from rev 110657, haskell-text/trunk/PKGBUILD)
  haskell-text/repos/community-x86_64/haskell-text.install
(from rev 110657, haskell-text/trunk/haskell-text.install)

---+
 community-i686/PKGBUILD   |   50 
 community-i686/haskell-text.install   |   35 ++
 community-x86_64/PKGBUILD |   50 
 community-x86_64/haskell-text.install |   35 ++
 4 files changed, 170 insertions(+)

Copied: haskell-text/repos/community-i686/PKGBUILD (from rev 110657, 
haskell-text/trunk/PKGBUILD)
===
--- community-i686/PKGBUILD (rev 0)
+++ community-i686/PKGBUILD 2014-05-04 14:19:36 UTC (rev 110658)
@@ -0,0 +1,50 @@
+# Maintainer: Thomas Dziedzic gos...@gmail.com
+
+_hkgname=text
+pkgname=haskell-text
+pkgver=1.1.0.1
+pkgrel=2
+pkgdesc=An efficient packed Unicode text type.
+url=http://hackage.haskell.org/package/${_hkgname};
+license=('custom:BSD3')
+arch=('i686' 'x86_64')
+options=('staticlibs')
+depends=('ghc=7.8.2-2' 'sh')
+source=(http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+install=${pkgname}.install
+md5sums=('e8e1017ed0f0fef2a872569d8f31883e')
+
+build() {
+  cd ${_hkgname}-${pkgver}
+
+  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
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e s|ghc-pkg.*unregister[^ ]* |'--force' | unregister.sh
+}
+
+package() {
+  cd ${_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/${_hkgname}
+
+  runhaskell Setup copy --destdir=${pkgdir}
+
+  install -D -m644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
+  rm -f ${pkgdir}/usr/share/doc/${pkgname}/LICENSE
+}
+

Copied: haskell-text/repos/community-i686/haskell-text.install (from rev 
110657, haskell-text/trunk/haskell-text.install)
===
--- community-i686/haskell-text.install (rev 0)
+++ community-i686/haskell-text.install 2014-05-04 14:19:36 UTC (rev 110658)
@@ -0,0 +1,35 @@
+pkgname=haskell-text
+
+_register() {
+  usr/share/haskell/${pkgname}/register.sh
+}
+
+_unregister() {
+  usr/share/haskell/${pkgname}/unregister.sh
+}
+
+_gen_contents() {
+  (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
+}
+
+post_install() {
+  _register
+  _gen_contents
+}
+
+pre_upgrade() {
+  _unregister
+}
+
+post_upgrade() {
+  _register
+  _gen_contents
+}
+
+pre_remove() {
+  _unregister
+}
+
+post_remove() {
+  _gen_contents
+}

Copied: haskell-text/repos/community-x86_64/PKGBUILD (from rev 110657, 
haskell-text/trunk/PKGBUILD)
===
--- community-x86_64/PKGBUILD   (rev 0)
+++ community-x86_64/PKGBUILD   2014-05-04 14:19:36 UTC (rev 110658)
@@ -0,0 +1,50 @@
+# Maintainer: Thomas Dziedzic gos...@gmail.com
+
+_hkgname=text
+pkgname=haskell-text
+pkgver=1.1.0.1
+pkgrel=2
+pkgdesc=An efficient packed Unicode text type.
+url=http://hackage.haskell.org/package/${_hkgname};
+license=('custom:BSD3')
+arch=('i686' 'x86_64')
+options=('staticlibs')
+depends=('ghc=7.8.2-2' 'sh')
+source=(http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+install=${pkgname}.install
+md5sums=('e8e1017ed0f0fef2a872569d8f31883e')
+
+build() {
+  cd ${_hkgname}-${pkgver}
+
+  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
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e s|ghc-pkg.*unregister[^ ]* |'--force' | unregister.sh
+}
+
+package() {
+  cd ${_hkgname

[arch-commits] Commit in (haskell-text)

2014-05-04 Thread Thomas Dziedzic
Date: Sunday, May 4, 2014 @ 16:20:17
  Author: td123
Revision: 212034

extra2community: Moving haskell-text from extra to community

Deleted:
  haskell-text/



[arch-commits] Commit in (5 files)

2014-05-04 Thread Thomas Dziedzic
Date: Sunday, May 4, 2014 @ 16:20:36
  Author: td123
Revision: 110659

extra2community: Moving haskell-zlib from extra to community

Added:
  haskell-zlib/
  haskell-zlib/repos/
  haskell-zlib/trunk/
  haskell-zlib/trunk/PKGBUILD
  haskell-zlib/trunk/haskell-zlib.install

--+
 PKGBUILD |   50 +
 haskell-zlib.install |   35 ++
 2 files changed, 85 insertions(+)

Added: haskell-zlib/trunk/PKGBUILD
===
--- haskell-zlib/trunk/PKGBUILD (rev 0)
+++ haskell-zlib/trunk/PKGBUILD 2014-05-04 14:20:36 UTC (rev 110659)
@@ -0,0 +1,50 @@
+# Maintainer: Thomas Dziedzic gos...@gmail.com
+
+_hkgname=zlib
+pkgname=haskell-zlib
+pkgver=0.5.4.1
+pkgrel=3
+pkgdesc=Compression and decompression in the gzip and zlib formats
+url=http://hackage.haskell.org/package/${_hkgname};
+license=('custom:BSD3')
+arch=('i686' 'x86_64')
+options=('staticlibs')
+depends=('ghc=7.8.2-2' 'sh' 'zlib')
+source=(http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+install=${pkgname}.install
+md5sums=('d0d10786d2bbd1d401a8b28a83e88475')
+
+build() {
+  cd ${_hkgname}-${pkgver}
+
+  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
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e s|ghc-pkg.*unregister[^ ]* |'--force' | unregister.sh
+}
+
+package() {
+  cd ${_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/${_hkgname}
+
+  runhaskell Setup copy --destdir=${pkgdir}
+
+  install -D -m644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
+  rm -f ${pkgdir}/usr/share/doc/${pkgname}/LICENSE
+}
+


Property changes on: haskell-zlib/trunk/PKGBUILD
___
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
Added: haskell-zlib/trunk/haskell-zlib.install
===
--- haskell-zlib/trunk/haskell-zlib.install (rev 0)
+++ haskell-zlib/trunk/haskell-zlib.install 2014-05-04 14:20:36 UTC (rev 
110659)
@@ -0,0 +1,35 @@
+pkgname=haskell-zlib
+
+_register() {
+  usr/share/haskell/${pkgname}/register.sh
+}
+
+_unregister() {
+  usr/share/haskell/${pkgname}/unregister.sh
+}
+
+_gen_contents() {
+  (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
+}
+
+post_install() {
+  _register
+  _gen_contents
+}
+
+pre_upgrade() {
+  _unregister
+}
+
+post_upgrade() {
+  _register
+  _gen_contents
+}
+
+pre_remove() {
+  _unregister
+}
+
+post_remove() {
+  _gen_contents
+}



[arch-commits] Commit in haskell-zlib/repos (6 files)

2014-05-04 Thread Thomas Dziedzic
Date: Sunday, May 4, 2014 @ 16:21:04
  Author: td123
Revision: 110660

archrelease: copy trunk to community-i686, community-x86_64

Added:
  haskell-zlib/repos/community-i686/
  haskell-zlib/repos/community-i686/PKGBUILD
(from rev 110659, haskell-zlib/trunk/PKGBUILD)
  haskell-zlib/repos/community-i686/haskell-zlib.install
(from rev 110659, haskell-zlib/trunk/haskell-zlib.install)
  haskell-zlib/repos/community-x86_64/
  haskell-zlib/repos/community-x86_64/PKGBUILD
(from rev 110659, haskell-zlib/trunk/PKGBUILD)
  haskell-zlib/repos/community-x86_64/haskell-zlib.install
(from rev 110659, haskell-zlib/trunk/haskell-zlib.install)

---+
 community-i686/PKGBUILD   |   50 
 community-i686/haskell-zlib.install   |   35 ++
 community-x86_64/PKGBUILD |   50 
 community-x86_64/haskell-zlib.install |   35 ++
 4 files changed, 170 insertions(+)

Copied: haskell-zlib/repos/community-i686/PKGBUILD (from rev 110659, 
haskell-zlib/trunk/PKGBUILD)
===
--- community-i686/PKGBUILD (rev 0)
+++ community-i686/PKGBUILD 2014-05-04 14:21:04 UTC (rev 110660)
@@ -0,0 +1,50 @@
+# Maintainer: Thomas Dziedzic gos...@gmail.com
+
+_hkgname=zlib
+pkgname=haskell-zlib
+pkgver=0.5.4.1
+pkgrel=3
+pkgdesc=Compression and decompression in the gzip and zlib formats
+url=http://hackage.haskell.org/package/${_hkgname};
+license=('custom:BSD3')
+arch=('i686' 'x86_64')
+options=('staticlibs')
+depends=('ghc=7.8.2-2' 'sh' 'zlib')
+source=(http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+install=${pkgname}.install
+md5sums=('d0d10786d2bbd1d401a8b28a83e88475')
+
+build() {
+  cd ${_hkgname}-${pkgver}
+
+  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
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e s|ghc-pkg.*unregister[^ ]* |'--force' | unregister.sh
+}
+
+package() {
+  cd ${_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/${_hkgname}
+
+  runhaskell Setup copy --destdir=${pkgdir}
+
+  install -D -m644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
+  rm -f ${pkgdir}/usr/share/doc/${pkgname}/LICENSE
+}
+

Copied: haskell-zlib/repos/community-i686/haskell-zlib.install (from rev 
110659, haskell-zlib/trunk/haskell-zlib.install)
===
--- community-i686/haskell-zlib.install (rev 0)
+++ community-i686/haskell-zlib.install 2014-05-04 14:21:04 UTC (rev 110660)
@@ -0,0 +1,35 @@
+pkgname=haskell-zlib
+
+_register() {
+  usr/share/haskell/${pkgname}/register.sh
+}
+
+_unregister() {
+  usr/share/haskell/${pkgname}/unregister.sh
+}
+
+_gen_contents() {
+  (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
+}
+
+post_install() {
+  _register
+  _gen_contents
+}
+
+pre_upgrade() {
+  _unregister
+}
+
+post_upgrade() {
+  _register
+  _gen_contents
+}
+
+pre_remove() {
+  _unregister
+}
+
+post_remove() {
+  _gen_contents
+}

Copied: haskell-zlib/repos/community-x86_64/PKGBUILD (from rev 110659, 
haskell-zlib/trunk/PKGBUILD)
===
--- community-x86_64/PKGBUILD   (rev 0)
+++ community-x86_64/PKGBUILD   2014-05-04 14:21:04 UTC (rev 110660)
@@ -0,0 +1,50 @@
+# Maintainer: Thomas Dziedzic gos...@gmail.com
+
+_hkgname=zlib
+pkgname=haskell-zlib
+pkgver=0.5.4.1
+pkgrel=3
+pkgdesc=Compression and decompression in the gzip and zlib formats
+url=http://hackage.haskell.org/package/${_hkgname};
+license=('custom:BSD3')
+arch=('i686' 'x86_64')
+options=('staticlibs')
+depends=('ghc=7.8.2-2' 'sh' 'zlib')
+source=(http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+install=${pkgname}.install
+md5sums=('d0d10786d2bbd1d401a8b28a83e88475')
+
+build() {
+  cd ${_hkgname}-${pkgver}
+
+  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
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e s|ghc-pkg.*unregister[^ ]* |'--force

[arch-commits] Commit in (haskell-zlib)

2014-05-04 Thread Thomas Dziedzic
Date: Sunday, May 4, 2014 @ 16:21:38
  Author: td123
Revision: 212037

extra2community: Moving haskell-zlib from extra to community

Deleted:
  haskell-zlib/



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

2014-05-04 Thread Thomas Dziedzic
Date: Sunday, May 4, 2014 @ 16:42:48
  Author: td123
Revision: 212038

upgpkg: vim 7.4.274-1

bump

Modified:
  vim/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2014-05-04 14:21:38 UTC (rev 212037)
+++ PKGBUILD2014-05-04 14:42:48 UTC (rev 212038)
@@ -6,8 +6,8 @@
 pkgbase=vim
 pkgname=('vim' 'gvim' 'vim-runtime')
 _topver=7.4
-_patchlevel=214
-__hgrev=d2ef98a43b5d
+_patchlevel=274
+__hgrev=075eea398fff
 _versiondir=vim${_topver//./}
 pkgver=${_topver}.${_patchlevel}
 pkgrel=1
@@ -20,7 +20,7 @@
 'vimrc'
 'archlinux.vim'
 'gvim.desktop')
-md5sums=('5ec7d7f84955dacfef88e52ebc79b267'
+md5sums=('98bf9f8d57b95715d08fcc42beae8761'
  'SKIP'
  'b9d4dcb9d3ee2e151dc4be1e94934f6a'
  '10353a61aadc3f276692d0e17db1478e'



[arch-commits] Commit in vim/repos (12 files)

2014-05-04 Thread Thomas Dziedzic
Date: Sunday, May 4, 2014 @ 16:43:45
  Author: td123
Revision: 212039

archrelease: copy trunk to testing-i686, testing-x86_64

Added:
  vim/repos/testing-i686/
  vim/repos/testing-i686/PKGBUILD
(from rev 212038, vim/trunk/PKGBUILD)
  vim/repos/testing-i686/archlinux.vim
(from rev 212038, vim/trunk/archlinux.vim)
  vim/repos/testing-i686/gvim.desktop
(from rev 212038, vim/trunk/gvim.desktop)
  vim/repos/testing-i686/gvim.install
(from rev 212038, vim/trunk/gvim.install)
  vim/repos/testing-i686/vimrc
(from rev 212038, vim/trunk/vimrc)
  vim/repos/testing-x86_64/
  vim/repos/testing-x86_64/PKGBUILD
(from rev 212038, vim/trunk/PKGBUILD)
  vim/repos/testing-x86_64/archlinux.vim
(from rev 212038, vim/trunk/archlinux.vim)
  vim/repos/testing-x86_64/gvim.desktop
(from rev 212038, vim/trunk/gvim.desktop)
  vim/repos/testing-x86_64/gvim.install
(from rev 212038, vim/trunk/gvim.install)
  vim/repos/testing-x86_64/vimrc
(from rev 212038, vim/trunk/vimrc)

--+
 testing-i686/PKGBUILD|  227 +
 testing-i686/archlinux.vim   |   26 
 testing-i686/gvim.desktop|   63 +++
 testing-i686/gvim.install|   11 +
 testing-i686/vimrc   |   16 ++
 testing-x86_64/PKGBUILD  |  227 +
 testing-x86_64/archlinux.vim |   26 
 testing-x86_64/gvim.desktop  |   63 +++
 testing-x86_64/gvim.install  |   11 +
 testing-x86_64/vimrc |   16 ++
 10 files changed, 686 insertions(+)

Copied: vim/repos/testing-i686/PKGBUILD (from rev 212038, vim/trunk/PKGBUILD)
===
--- testing-i686/PKGBUILD   (rev 0)
+++ testing-i686/PKGBUILD   2014-05-04 14:43:45 UTC (rev 212039)
@@ -0,0 +1,227 @@
+# Maintainer: Thomas Dziedzic gos...@gmail.com
+# Contributor: Jan heftig Steffens jan.steff...@gmail.com
+# Contributor: tobias [ tobias at archlinux org ]
+# Contributor: Daniel J Griffiths ghost1...@archlinux.us
+
+pkgbase=vim
+pkgname=('vim' 'gvim' 'vim-runtime')
+_topver=7.4
+_patchlevel=274
+__hgrev=075eea398fff
+_versiondir=vim${_topver//./}
+pkgver=${_topver}.${_patchlevel}
+pkgrel=1
+arch=('i686' 'x86_64')
+license=('custom:vim')
+url=http://www.vim.org;
+makedepends=('gpm' 'python2' 'ruby' 'libxt' 'desktop-file-utils' 'gtk2' 'lua')
+source=(ftp://ftp.archlinux.org/other/vim/vim-${pkgver}.tar.xz;
+ftp://ftp.archlinux.org/other/vim/vim-${pkgver}.tar.xz.sig;
+'vimrc'
+'archlinux.vim'
+'gvim.desktop')
+md5sums=('98bf9f8d57b95715d08fcc42beae8761'
+ 'SKIP'
+ 'b9d4dcb9d3ee2e151dc4be1e94934f6a'
+ '10353a61aadc3f276692d0e17db1478e'
+ 'd90413bd21f400313a785bb4010120cd')
+
+# source PKGBUILD  mksource
+mksource() {
+  [[ -x /usr/bin/hg ]] || (echo hg not found. Install mercurial.  return 1)
+
+  __hgroot='http://vim.googlecode.com/hg/'
+  __hgrepo='vim'
+  __hgbranch='default'
+
+  hg clone -b ${__hgbranch} -u ${__hgrev} ${__hgroot}${__hgrepo} ${__hgrepo}
+
+  pushd ${__hgrepo}
+  if (( $(hg id -n)  $(hg id -nr ${__hgbranch}) )); then
+printf 'You are not building the latest revision!\n'
+printf Consider updating __hgrev to $(hg id -r ${__hgbranch}).\n
+  fi
+  popd
+
+  mv vim ${pkgname}-${pkgver}
+  find ${pkgname}-${pkgver} -depth -type d -name .hg -exec rm -rf {} \;
+  rm ${pkgname}-${pkgver}/{.hgignore,.hgtags}
+  tar -cJf ${pkgname}-${pkgver}.tar.xz ${pkgname}-${pkgver}/*
+  rm -r ${pkgname}-${pkgver}
+
+  gpg --detach-sign ${pkgname}-${pkgver}.tar.xz
+
+  scp ${pkgname}-${pkgver}.tar.xz nym:/srv/ftp/other/vim/
+  scp ${pkgname}-${pkgver}.tar.xz.sig nym:/srv/ftp/other/vim/
+}
+
+build() {
+  cp -a ${pkgname}-${pkgver} vim-build
+
+  # define the place for the global (g)vimrc file (set to /etc/vimrc)
+  sed -i 's|^.*\(#define SYS_.*VIMRC_FILE.*\) .*$|\1|' \
+vim-build/src/feature.h
+  sed -i 's|^.*\(#define VIMRC_FILE.*\) .*$|\1|' \
+vim-build/src/feature.h
+
+  (cd vim-build/src  autoconf)
+
+  cp -a vim-build gvim-build
+
+  cd ${srcdir}/vim-build
+
+  ./configure \
+--prefix=/usr \
+--localstatedir=/var/lib/vim \
+--with-features=huge \
+--with-compiledby='Arch Linux' \
+--enable-gpm \
+--enable-acl \
+--with-x=no \
+--disable-gui \
+--enable-multibyte \
+--enable-cscope \
+--disable-netbeans \
+--enable-perlinterp \
+--disable-pythoninterp \
+--disable-python3interp \
+--disable-rubyinterp \
+--disable-luainterp
+
+  make
+
+  cd ${srcdir}/gvim-build
+
+  ./configure \
+--prefix=/usr \
+--localstatedir=/var/lib/vim \
+--with-features=huge \
+--with-compiledby='Arch Linux' \
+--enable-gpm \
+--enable-acl \
+--with-x=yes \
+--enable-gui=gtk2 \
+--enable-multibyte \
+--enable-cscope \
+--enable-netbeans \
+--enable-perlinterp \
+--enable-pythoninterp \
+--disable

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

2014-05-01 Thread Thomas Dziedzic
Date: Friday, May 2, 2014 @ 06:41:08
  Author: td123
Revision: 211949

upgpkg: ghc 7.8.2-3

fix replaces

Modified:
  ghc/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2014-05-02 02:38:12 UTC (rev 211948)
+++ PKGBUILD2014-05-02 04:41:08 UTC (rev 211949)
@@ -11,7 +11,7 @@
 
 pkgname=ghc
 pkgver=7.8.2
-pkgrel=2
+pkgrel=3
 pkgdesc='The Glasgow Haskell Compiler'
 arch=('i686' 'x86_64')
 url='http://www.haskell.org/ghc/'
@@ -67,7 +67,7 @@
   'haskell-process1.2.0.0'
   'haskell-template-haskell2.9.0.0'
   'haskell-time1.4.2'
-  'haskell-transformers0.3.0.0'
+  'haskell-transformers'
   'haskell-unix2.7.0.1'
   'haskell-cabal1.18.1.3'
  )



[arch-commits] Commit in ghc/repos (20 files)

2014-05-01 Thread Thomas Dziedzic
Date: Friday, May 2, 2014 @ 06:42:12
  Author: td123
Revision: 211950

archrelease: copy trunk to testing-i686, testing-x86_64

Added:
  ghc/repos/testing-i686/PKGBUILD
(from rev 211949, ghc/trunk/PKGBUILD)
  ghc/repos/testing-i686/build.mk
(from rev 211949, ghc/trunk/build.mk)
  ghc/repos/testing-i686/ghc
(from rev 211949, ghc/trunk/ghc)
  ghc/repos/testing-i686/ghc.install
(from rev 211949, ghc/trunk/ghc.install)
  ghc/repos/testing-i686/print-provides-replaces.sh
(from rev 211949, ghc/trunk/print-provides-replaces.sh)
  ghc/repos/testing-x86_64/PKGBUILD
(from rev 211949, ghc/trunk/PKGBUILD)
  ghc/repos/testing-x86_64/build.mk
(from rev 211949, ghc/trunk/build.mk)
  ghc/repos/testing-x86_64/ghc
(from rev 211949, ghc/trunk/ghc)
  ghc/repos/testing-x86_64/ghc.install
(from rev 211949, ghc/trunk/ghc.install)
  ghc/repos/testing-x86_64/print-provides-replaces.sh
(from rev 211949, ghc/trunk/print-provides-replaces.sh)
Deleted:
  ghc/repos/testing-i686/PKGBUILD
  ghc/repos/testing-i686/build.mk
  ghc/repos/testing-i686/ghc
  ghc/repos/testing-i686/ghc.install
  ghc/repos/testing-i686/print-provides-replaces.sh
  ghc/repos/testing-x86_64/PKGBUILD
  ghc/repos/testing-x86_64/build.mk
  ghc/repos/testing-x86_64/ghc
  ghc/repos/testing-x86_64/ghc.install
  ghc/repos/testing-x86_64/print-provides-replaces.sh

---+
 /PKGBUILD |  284 +++
 /build.mk |  400 
 /ghc  |   20 +
 /ghc.install  |   20 +
 /print-provides-replaces.sh   |   94 ++
 testing-i686/PKGBUILD |  142 -
 testing-i686/build.mk |  200 --
 testing-i686/ghc  |   10 
 testing-i686/ghc.install  |   10 
 testing-i686/print-provides-replaces.sh   |   43 ---
 testing-x86_64/PKGBUILD   |  142 -
 testing-x86_64/build.mk   |  200 --
 testing-x86_64/ghc|   10 
 testing-x86_64/ghc.install|   10 
 testing-x86_64/print-provides-replaces.sh |   43 ---
 15 files changed, 818 insertions(+), 810 deletions(-)

The diff is longer than the limit of 200KB.
Use svn diff -r 211949:211950 to see the changes.


[arch-commits] Commit in ghc/trunk (print-provides-replaces.sh)

2014-04-30 Thread Thomas Dziedzic
Date: Thursday, May 1, 2014 @ 03:24:11
  Author: td123
Revision: 211924

do not print versions for replaces

Modified:
  ghc/trunk/print-provides-replaces.sh

+
 print-provides-replaces.sh |   10 +++---
 1 file changed, 7 insertions(+), 3 deletions(-)

Modified: print-provides-replaces.sh
===
--- print-provides-replaces.sh  2014-04-30 20:25:03 UTC (rev 211923)
+++ print-provides-replaces.sh  2014-05-01 01:24:11 UTC (rev 211924)
@@ -31,13 +31,17 @@
   for pkg in $(ls ./*/*.cabal | awk -F '/' '{ print $2 }'); do
 [[ ${exclude[${pkg}]} ]]  continue
 version=$(awk 'tolower($0) ~ /^version:/ {print $2 }' $pkg/$pkg.cabal)
-printf 'haskell-$pkg$2$version'\n  
+printf 'haskell-$pkg
+[[ -n $2 ]]  printf $2$version
+printf '\n  
   done
   # also add cabal
   version=$(awk 'tolower($0) ~ /^version:/ { print $2 }' 
Cabal/Cabal/Cabal.cabal)
-  printf 'haskell-cabal$2$version'\n  
+  printf 'haskell-cabal
+  [[ -n $2 ]]  printf $2$version
+  printf '\n  
   echo -e '\b)'
 }
 
 print_var 'provides' '='
-print_var 'replaces' ''
+print_var 'replaces'



[arch-commits] Commit in (4 files)

2014-04-27 Thread Thomas Dziedzic
Date: Monday, April 28, 2014 @ 03:27:33
  Author: td123
Revision: 110268

initial commit for haskell-hashable

Added:
  haskell-hashable/
  haskell-hashable/trunk/
  haskell-hashable/trunk/PKGBUILD
  haskell-hashable/trunk/haskell-hashable.install

--+
 PKGBUILD |   47 +
 haskell-hashable.install |   35 +
 2 files changed, 82 insertions(+)

Added: haskell-hashable/trunk/PKGBUILD
===
--- haskell-hashable/trunk/PKGBUILD (rev 0)
+++ haskell-hashable/trunk/PKGBUILD 2014-04-28 01:27:33 UTC (rev 110268)
@@ -0,0 +1,47 @@
+_hkgname=hashable
+pkgname=haskell-hashable
+pkgver=1.2.1.0
+pkgrel=1
+pkgdesc=Mutable hash tables in the ST monad
+url=http://hackage.haskell.org/package/${_hkgname};
+license=('custom:BSD3')
+arch=('i686' 'x86_64')
+options=('staticlibs')
+depends=('ghc=7.8.2-2' 'sh' 'haskell-text')
+source=(http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+install=${pkgname}.install
+md5sums=('74f7cadb836e63f4d4b1a24be401228d')
+
+build() {
+  cd ${_hkgname}-${pkgver}
+
+  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
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e s|ghc-pkg.*unregister[^ ]* |'--force' | unregister.sh
+}
+
+package() {
+  cd ${_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/${_hkgname}
+
+  runhaskell Setup copy --destdir=${pkgdir}
+
+  install -D -m644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
+  rm -f ${pkgdir}/usr/share/doc/${pkgname}/LICENSE
+}

Added: haskell-hashable/trunk/haskell-hashable.install
===
--- haskell-hashable/trunk/haskell-hashable.install 
(rev 0)
+++ haskell-hashable/trunk/haskell-hashable.install 2014-04-28 01:27:33 UTC 
(rev 110268)
@@ -0,0 +1,35 @@
+pkgname=haskell-hashable
+
+_register() {
+  usr/share/haskell/${pkgname}/register.sh
+}
+
+_unregister() {
+  usr/share/haskell/${pkgname}/unregister.sh
+}
+
+_gen_contents() {
+  (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
+}
+
+post_install() {
+  _register
+  _gen_contents
+}
+
+pre_upgrade() {
+  _unregister
+}
+
+post_upgrade() {
+  _register
+  _gen_contents
+}
+
+pre_remove() {
+  _unregister
+}
+
+post_remove() {
+  _gen_contents
+}



[arch-commits] Commit in haskell-hashable (7 files)

2014-04-27 Thread Thomas Dziedzic
Date: Monday, April 28, 2014 @ 03:28:18
  Author: td123
Revision: 110269

archrelease: copy trunk to community-staging-i686, community-staging-x86_64

Added:
  haskell-hashable/repos/
  haskell-hashable/repos/community-staging-i686/
  haskell-hashable/repos/community-staging-i686/PKGBUILD
(from rev 110268, haskell-hashable/trunk/PKGBUILD)
  haskell-hashable/repos/community-staging-i686/haskell-hashable.install
(from rev 110268, haskell-hashable/trunk/haskell-hashable.install)
  haskell-hashable/repos/community-staging-x86_64/
  haskell-hashable/repos/community-staging-x86_64/PKGBUILD
(from rev 110268, haskell-hashable/trunk/PKGBUILD)
  haskell-hashable/repos/community-staging-x86_64/haskell-hashable.install
(from rev 110268, haskell-hashable/trunk/haskell-hashable.install)

---+
 community-staging-i686/PKGBUILD   |   47 
 community-staging-i686/haskell-hashable.install   |   35 ++
 community-staging-x86_64/PKGBUILD |   47 
 community-staging-x86_64/haskell-hashable.install |   35 ++
 4 files changed, 164 insertions(+)

Copied: haskell-hashable/repos/community-staging-i686/PKGBUILD (from rev 
110268, haskell-hashable/trunk/PKGBUILD)
===
--- repos/community-staging-i686/PKGBUILD   (rev 0)
+++ repos/community-staging-i686/PKGBUILD   2014-04-28 01:28:18 UTC (rev 
110269)
@@ -0,0 +1,47 @@
+_hkgname=hashable
+pkgname=haskell-hashable
+pkgver=1.2.1.0
+pkgrel=1
+pkgdesc=Mutable hash tables in the ST monad
+url=http://hackage.haskell.org/package/${_hkgname};
+license=('custom:BSD3')
+arch=('i686' 'x86_64')
+options=('staticlibs')
+depends=('ghc=7.8.2-2' 'sh' 'haskell-text')
+source=(http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+install=${pkgname}.install
+md5sums=('74f7cadb836e63f4d4b1a24be401228d')
+
+build() {
+  cd ${_hkgname}-${pkgver}
+
+  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
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e s|ghc-pkg.*unregister[^ ]* |'--force' | unregister.sh
+}
+
+package() {
+  cd ${_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/${_hkgname}
+
+  runhaskell Setup copy --destdir=${pkgdir}
+
+  install -D -m644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
+  rm -f ${pkgdir}/usr/share/doc/${pkgname}/LICENSE
+}

Copied: haskell-hashable/repos/community-staging-i686/haskell-hashable.install 
(from rev 110268, haskell-hashable/trunk/haskell-hashable.install)
===
--- repos/community-staging-i686/haskell-hashable.install   
(rev 0)
+++ repos/community-staging-i686/haskell-hashable.install   2014-04-28 
01:28:18 UTC (rev 110269)
@@ -0,0 +1,35 @@
+pkgname=haskell-hashable
+
+_register() {
+  usr/share/haskell/${pkgname}/register.sh
+}
+
+_unregister() {
+  usr/share/haskell/${pkgname}/unregister.sh
+}
+
+_gen_contents() {
+  (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
+}
+
+post_install() {
+  _register
+  _gen_contents
+}
+
+pre_upgrade() {
+  _unregister
+}
+
+post_upgrade() {
+  _register
+  _gen_contents
+}
+
+pre_remove() {
+  _unregister
+}
+
+post_remove() {
+  _gen_contents
+}

Copied: haskell-hashable/repos/community-staging-x86_64/PKGBUILD (from rev 
110268, haskell-hashable/trunk/PKGBUILD)
===
--- repos/community-staging-x86_64/PKGBUILD (rev 0)
+++ repos/community-staging-x86_64/PKGBUILD 2014-04-28 01:28:18 UTC (rev 
110269)
@@ -0,0 +1,47 @@
+_hkgname=hashable
+pkgname=haskell-hashable
+pkgver=1.2.1.0
+pkgrel=1
+pkgdesc=Mutable hash tables in the ST monad
+url=http://hackage.haskell.org/package/${_hkgname};
+license=('custom:BSD3')
+arch=('i686' 'x86_64')
+options=('staticlibs')
+depends=('ghc=7.8.2-2' 'sh' 'haskell-text')
+source=(http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+install=${pkgname}.install
+md5sums=('74f7cadb836e63f4d4b1a24be401228d')
+
+build() {
+  cd ${_hkgname}-${pkgver}
+
+  runhaskell Setup configure -O -p \
+--enable-split-objs \
+--enable-shared \
+--prefix=/usr \
+--docdir=/usr/share/doc/${pkgname} \
+

[arch-commits] Commit in (5 files)

2014-04-27 Thread Thomas Dziedzic
Date: Monday, April 28, 2014 @ 03:32:01
  Author: td123
Revision: 110270

initial commit for haskell-hashtables

Added:
  haskell-hashtables/
  haskell-hashtables/trunk/
  haskell-hashtables/trunk/PKGBUILD
  haskell-hashtables/trunk/haskell-hashtables.install
Modified:
  gtk2hs-buildtools/trunk/PKGBUILD

-+
 gtk2hs-buildtools/trunk/PKGBUILD|7 +-
 haskell-hashtables/trunk/PKGBUILD   |   47 ++
 haskell-hashtables/trunk/haskell-hashtables.install |   35 +
 3 files changed, 85 insertions(+), 4 deletions(-)

Modified: gtk2hs-buildtools/trunk/PKGBUILD
===
--- gtk2hs-buildtools/trunk/PKGBUILD2014-04-28 01:28:18 UTC (rev 110269)
+++ gtk2hs-buildtools/trunk/PKGBUILD2014-04-28 01:32:01 UTC (rev 110270)
@@ -2,7 +2,7 @@
 # Maintainer: Sergej Pupykin pupykin.s+a...@gmail.com
 
 pkgname=gtk2hs-buildtools
-pkgver=0.12.5.1
+pkgver=0.12.5.2
 pkgrel=1
 pkgdesc=Tools to build the Gtk2Hs suite of User Interface libraries.
 url=http://hackage.haskell.org/package/gtk2hs-buildtools;
@@ -10,10 +10,9 @@
 arch=('i686' 'x86_64')
 makedepends=('ghc' 'alex' 'happy' 'haskell-random')
 depends=('gmp')
-options=('strip')
 provides=('haskell-gtk2hs-buildtools')
-source=(http://hackage.haskell.org/packages/archive/gtk2hs-buildtools/$pkgver/gtk2hs-buildtools-$pkgver.tar.gz)
-md5sums=('2f8f761559185c7375b0b31354d791c8')
+source=(http://hackage.haskell.org/packages/archive/gtk2hs-buildtools/$pkgver/gtk2hs-buildtools-$pkgver.tar.gz;)
+md5sums=('dd39243ae579ab32236fbc17dbeec107')
 
 build() {
 cd ${srcdir}/gtk2hs-buildtools-$pkgver

Added: haskell-hashtables/trunk/PKGBUILD
===
--- haskell-hashtables/trunk/PKGBUILD   (rev 0)
+++ haskell-hashtables/trunk/PKGBUILD   2014-04-28 01:32:01 UTC (rev 110270)
@@ -0,0 +1,47 @@
+_hkgname=hashtables
+pkgname=haskell-hashtables
+pkgver=1.1.2.1
+pkgrel=1
+pkgdesc=Mutable hash tables in the ST monad
+url=http://hackage.haskell.org/package/${_hkgname};
+license=('custom:BSD3')
+arch=('i686' 'x86_64')
+options=('staticlibs')
+depends=('ghc=7.8.2-2' 'sh' 'haskell-hashable')
+source=(http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+install=${pkgname}.install
+md5sums=('e8880201938b78ba26ef33370912aeff')
+
+build() {
+  cd ${_hkgname}-${pkgver}
+
+  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
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e s|ghc-pkg.*unregister[^ ]* |'--force' | unregister.sh
+}
+
+package() {
+  cd ${_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/${_hkgname}
+
+  runhaskell Setup copy --destdir=${pkgdir}
+
+  install -D -m644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
+  rm -f ${pkgdir}/usr/share/doc/${pkgname}/LICENSE
+}

Added: haskell-hashtables/trunk/haskell-hashtables.install
===
--- haskell-hashtables/trunk/haskell-hashtables.install 
(rev 0)
+++ haskell-hashtables/trunk/haskell-hashtables.install 2014-04-28 01:32:01 UTC 
(rev 110270)
@@ -0,0 +1,35 @@
+pkgname=haskell-hashtables
+
+_register() {
+  usr/share/haskell/${pkgname}/register.sh
+}
+
+_unregister() {
+  usr/share/haskell/${pkgname}/unregister.sh
+}
+
+_gen_contents() {
+  (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
+}
+
+post_install() {
+  _register
+  _gen_contents
+}
+
+pre_upgrade() {
+  _unregister
+}
+
+post_upgrade() {
+  _register
+  _gen_contents
+}
+
+pre_remove() {
+  _unregister
+}
+
+post_remove() {
+  _gen_contents
+}



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

2014-04-27 Thread Thomas Dziedzic
Date: Monday, April 28, 2014 @ 03:38:27
  Author: td123
Revision: 110271

upgpkg: haskell-hashtables 1.1.2.1-1

add haskell-hashtables as a dependency for gtk2hs-buildtools

Modified:
  haskell-hashtables/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2014-04-28 01:32:01 UTC (rev 110270)
+++ PKGBUILD2014-04-28 01:38:27 UTC (rev 110271)
@@ -7,7 +7,7 @@
 license=('custom:BSD3')
 arch=('i686' 'x86_64')
 options=('staticlibs')
-depends=('ghc=7.8.2-2' 'sh' 'haskell-hashable')
+depends=('ghc=7.8.2-2' 'sh' 'haskell-hashable' 'haskell-primitive' 
'haskell-vector')
 
source=(http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
 install=${pkgname}.install
 md5sums=('e8880201938b78ba26ef33370912aeff')



[arch-commits] Commit in haskell-hashtables (7 files)

2014-04-27 Thread Thomas Dziedzic
Date: Monday, April 28, 2014 @ 03:39:17
  Author: td123
Revision: 110272

archrelease: copy trunk to community-staging-i686, community-staging-x86_64

Added:
  haskell-hashtables/repos/
  haskell-hashtables/repos/community-staging-i686/
  haskell-hashtables/repos/community-staging-i686/PKGBUILD
(from rev 110271, haskell-hashtables/trunk/PKGBUILD)
  haskell-hashtables/repos/community-staging-i686/haskell-hashtables.install
(from rev 110271, haskell-hashtables/trunk/haskell-hashtables.install)
  haskell-hashtables/repos/community-staging-x86_64/
  haskell-hashtables/repos/community-staging-x86_64/PKGBUILD
(from rev 110271, haskell-hashtables/trunk/PKGBUILD)
  haskell-hashtables/repos/community-staging-x86_64/haskell-hashtables.install
(from rev 110271, haskell-hashtables/trunk/haskell-hashtables.install)

-+
 community-staging-i686/PKGBUILD |   47 ++
 community-staging-i686/haskell-hashtables.install   |   35 +
 community-staging-x86_64/PKGBUILD   |   47 ++
 community-staging-x86_64/haskell-hashtables.install |   35 +
 4 files changed, 164 insertions(+)

Copied: haskell-hashtables/repos/community-staging-i686/PKGBUILD (from rev 
110271, haskell-hashtables/trunk/PKGBUILD)
===
--- repos/community-staging-i686/PKGBUILD   (rev 0)
+++ repos/community-staging-i686/PKGBUILD   2014-04-28 01:39:17 UTC (rev 
110272)
@@ -0,0 +1,47 @@
+_hkgname=hashtables
+pkgname=haskell-hashtables
+pkgver=1.1.2.1
+pkgrel=1
+pkgdesc=Mutable hash tables in the ST monad
+url=http://hackage.haskell.org/package/${_hkgname};
+license=('custom:BSD3')
+arch=('i686' 'x86_64')
+options=('staticlibs')
+depends=('ghc=7.8.2-2' 'sh' 'haskell-hashable' 'haskell-primitive' 
'haskell-vector')
+source=(http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+install=${pkgname}.install
+md5sums=('e8880201938b78ba26ef33370912aeff')
+
+build() {
+  cd ${_hkgname}-${pkgver}
+
+  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
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e s|ghc-pkg.*unregister[^ ]* |'--force' | unregister.sh
+}
+
+package() {
+  cd ${_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/${_hkgname}
+
+  runhaskell Setup copy --destdir=${pkgdir}
+
+  install -D -m644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
+  rm -f ${pkgdir}/usr/share/doc/${pkgname}/LICENSE
+}

Copied: 
haskell-hashtables/repos/community-staging-i686/haskell-hashtables.install 
(from rev 110271, haskell-hashtables/trunk/haskell-hashtables.install)
===
--- repos/community-staging-i686/haskell-hashtables.install 
(rev 0)
+++ repos/community-staging-i686/haskell-hashtables.install 2014-04-28 
01:39:17 UTC (rev 110272)
@@ -0,0 +1,35 @@
+pkgname=haskell-hashtables
+
+_register() {
+  usr/share/haskell/${pkgname}/register.sh
+}
+
+_unregister() {
+  usr/share/haskell/${pkgname}/unregister.sh
+}
+
+_gen_contents() {
+  (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
+}
+
+post_install() {
+  _register
+  _gen_contents
+}
+
+pre_upgrade() {
+  _unregister
+}
+
+post_upgrade() {
+  _register
+  _gen_contents
+}
+
+pre_remove() {
+  _unregister
+}
+
+post_remove() {
+  _gen_contents
+}

Copied: haskell-hashtables/repos/community-staging-x86_64/PKGBUILD (from rev 
110271, haskell-hashtables/trunk/PKGBUILD)
===
--- repos/community-staging-x86_64/PKGBUILD (rev 0)
+++ repos/community-staging-x86_64/PKGBUILD 2014-04-28 01:39:17 UTC (rev 
110272)
@@ -0,0 +1,47 @@
+_hkgname=hashtables
+pkgname=haskell-hashtables
+pkgver=1.1.2.1
+pkgrel=1
+pkgdesc=Mutable hash tables in the ST monad
+url=http://hackage.haskell.org/package/${_hkgname};
+license=('custom:BSD3')
+arch=('i686' 'x86_64')
+options=('staticlibs')
+depends=('ghc=7.8.2-2' 'sh' 'haskell-hashable' 'haskell-primitive' 
'haskell-vector')
+source=(http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+install=${pkgname}.install
+md5sums=('e8880201938b78ba26ef33370912aeff')
+
+build() {
+  cd ${_hkgname}-${pkgver}
+
+  runhaskell Setup 

[arch-commits] Commit in gtk2hs-buildtools/repos (6 files)

2014-04-27 Thread Thomas Dziedzic
Date: Monday, April 28, 2014 @ 03:44:43
  Author: td123
Revision: 110274

archrelease: copy trunk to community-staging-i686, community-staging-x86_64

Added:
  gtk2hs-buildtools/repos/community-staging-i686/
  
gtk2hs-buildtools/repos/community-staging-i686/0001-fix-for-ghc-7.6.1-changes.patch
(from rev 110273, 
gtk2hs-buildtools/trunk/0001-fix-for-ghc-7.6.1-changes.patch)
  gtk2hs-buildtools/repos/community-staging-i686/PKGBUILD
(from rev 110273, gtk2hs-buildtools/trunk/PKGBUILD)
  gtk2hs-buildtools/repos/community-staging-x86_64/
  
gtk2hs-buildtools/repos/community-staging-x86_64/0001-fix-for-ghc-7.6.1-changes.patch
(from rev 110273, 
gtk2hs-buildtools/trunk/0001-fix-for-ghc-7.6.1-changes.patch)
  gtk2hs-buildtools/repos/community-staging-x86_64/PKGBUILD
(from rev 110273, gtk2hs-buildtools/trunk/PKGBUILD)

---+
 community-staging-i686/0001-fix-for-ghc-7.6.1-changes.patch   |   69 ++
 community-staging-i686/PKGBUILD   |   27 +++
 community-staging-x86_64/0001-fix-for-ghc-7.6.1-changes.patch |   69 ++
 community-staging-x86_64/PKGBUILD |   27 +++
 4 files changed, 192 insertions(+)

Copied: 
gtk2hs-buildtools/repos/community-staging-i686/0001-fix-for-ghc-7.6.1-changes.patch
 (from rev 110273, gtk2hs-buildtools/trunk/0001-fix-for-ghc-7.6.1-changes.patch)
===
--- community-staging-i686/0001-fix-for-ghc-7.6.1-changes.patch 
(rev 0)
+++ community-staging-i686/0001-fix-for-ghc-7.6.1-changes.patch 2014-04-28 
01:44:43 UTC (rev 110274)
@@ -0,0 +1,69 @@
+From 7d94bcd36eb1d5a2feae182fcb74f9d6ca439a80 Mon Sep 17 00:00:00 2001
+From: Thomas Dziedzic gos...@gmail.com
+Date: Wed, 12 Sep 2012 03:29:46 -0700
+Subject: [PATCH] fix for ghc 7.6.1 changes
+
+---
+ c2hs/base/general/FileOps.hs  | 3 ++-
+ c2hs/base/state/StateTrans.hs | 3 ++-
+ c2hs/toplevel/C2HSConfig.hs   | 2 +-
+ 3 files changed, 5 insertions(+), 3 deletions(-)
+
+diff --git a/c2hs/base/general/FileOps.hs b/c2hs/base/general/FileOps.hs
+index 83ac70c..4914c4b 100644
+--- a/c2hs/base/general/FileOps.hs
 b/c2hs/base/general/FileOps.hs
+@@ -39,6 +39,7 @@ import Control.Monad  (liftM)
+ import System.Random(newStdGen, randomRs)
+ 
+ import FNameOps  (dirname, stripDirname, addPath)
++import System.IO.Error (catchIOError)
+ 
+ 
+ -- search for the given file in the given list of directories (EXPORTED)
+@@ -89,7 +90,7 @@ mktemp pre post =
+in do
+  h - openFile fname ReadWriteMode
+  return (h, fname)
+-   `catch` \_ - createLoop (attempts - 1) rs'
++   `catchIOError` \_ - createLoop (attempts - 1) rs'
+ --
+ sixChars :: [Int] - ([Int], String)
+ sixChars is = 
+diff --git a/c2hs/base/state/StateTrans.hs b/c2hs/base/state/StateTrans.hs
+index ada62f4..2ab0ad1 100644
+--- a/c2hs/base/state/StateTrans.hs
 b/c2hs/base/state/StateTrans.hs
+@@ -84,6 +84,7 @@ import System.IO  (fixIO)
+ import Data.IORef (IORef, newIORef, readIORef, writeIORef)
+ 
+ import Errors (interr)
++import System.IO.Error (catchIOError)
+ 
+ infixr 1 +=, +
+ 
+@@ -337,7 +338,7 @@ fatalsHandledBy m handler  =
+ ioError err
+ Right a  - return state
+   )
+-  `catch` (\err - let
++  `catchIOError` (\err - let
+  STB handler' = handler err
+in
+handler' bs gs)
+diff --git a/c2hs/toplevel/C2HSConfig.hs b/c2hs/toplevel/C2HSConfig.hs
+index e8deddf..af32886 100644
+--- a/c2hs/toplevel/C2HSConfig.hs
 b/c2hs/toplevel/C2HSConfig.hs
+@@ -46,7 +46,7 @@ import Data.Array (Array, array)
+ 
+ import Foreign (Ptr, FunPtr)
+ import Foreign  (Storable(sizeOf, alignment), toBool)
+-import Foreign.C (CInt)
++import Foreign.C (CInt(..))
+ import System.Info (os)
+ 
+ -- program settings
+-- 
+1.7.12
+

Copied: gtk2hs-buildtools/repos/community-staging-i686/PKGBUILD (from rev 
110273, gtk2hs-buildtools/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2014-04-28 01:44:43 UTC (rev 110274)
@@ -0,0 +1,27 @@
+# $Id$
+# Maintainer: Sergej Pupykin pupykin.s+a...@gmail.com
+
+pkgname=gtk2hs-buildtools
+pkgver=0.12.5.2
+pkgrel=1
+pkgdesc=Tools to build the Gtk2Hs suite of User Interface libraries.
+url=http://hackage.haskell.org/package/gtk2hs-buildtools;
+license=('GPL2')
+arch=('i686' 'x86_64')
+options=('staticlibs')
+makedepends=('ghc=7.8.2-2' 'alex' 'happy' 'haskell-random')
+depends=('gmp')
+provides=('haskell-gtk2hs-buildtools')
+source=(http://hackage.haskell.org/packages/archive/gtk2hs-buildtools/$pkgver/gtk2hs

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

2014-04-27 Thread Thomas Dziedzic
Date: Monday, April 28, 2014 @ 03:44:09
  Author: td123
Revision: 110273

upgpkg: gtk2hs-buildtools 0.12.5.2-1

rebuild gtk2hs-buildtools for ghc 7.8.2-2

Modified:
  gtk2hs-buildtools/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2014-04-28 01:39:17 UTC (rev 110272)
+++ PKGBUILD2014-04-28 01:44:09 UTC (rev 110273)
@@ -8,7 +8,8 @@
 url=http://hackage.haskell.org/package/gtk2hs-buildtools;
 license=('GPL2')
 arch=('i686' 'x86_64')
-makedepends=('ghc' 'alex' 'happy' 'haskell-random')
+options=('staticlibs')
+makedepends=('ghc=7.8.2-2' 'alex' 'happy' 'haskell-random')
 depends=('gmp')
 provides=('haskell-gtk2hs-buildtools')
 
source=(http://hackage.haskell.org/packages/archive/gtk2hs-buildtools/$pkgver/gtk2hs-buildtools-$pkgver.tar.gz;)



[arch-commits] Commit in gtk2hs-buildtools/trunk (2 files)

2014-04-27 Thread Thomas Dziedzic
Date: Monday, April 28, 2014 @ 03:49:47
  Author: td123
Revision: 110275

upgpkg: gtk2hs-buildtools 0.12.5.2-2

add missing dependency on haskell-hashtables

Modified:
  gtk2hs-buildtools/trunk/PKGBUILD
Deleted:
  gtk2hs-buildtools/trunk/0001-fix-for-ghc-7.6.1-changes.patch

--+
 0001-fix-for-ghc-7.6.1-changes.patch |   69 -
 PKGBUILD |4 -
 2 files changed, 2 insertions(+), 71 deletions(-)

Deleted: 0001-fix-for-ghc-7.6.1-changes.patch
===
--- 0001-fix-for-ghc-7.6.1-changes.patch2014-04-28 01:44:43 UTC (rev 
110274)
+++ 0001-fix-for-ghc-7.6.1-changes.patch2014-04-28 01:49:47 UTC (rev 
110275)
@@ -1,69 +0,0 @@
-From 7d94bcd36eb1d5a2feae182fcb74f9d6ca439a80 Mon Sep 17 00:00:00 2001
-From: Thomas Dziedzic gos...@gmail.com
-Date: Wed, 12 Sep 2012 03:29:46 -0700
-Subject: [PATCH] fix for ghc 7.6.1 changes
-

- c2hs/base/general/FileOps.hs  | 3 ++-
- c2hs/base/state/StateTrans.hs | 3 ++-
- c2hs/toplevel/C2HSConfig.hs   | 2 +-
- 3 files changed, 5 insertions(+), 3 deletions(-)
-
-diff --git a/c2hs/base/general/FileOps.hs b/c2hs/base/general/FileOps.hs
-index 83ac70c..4914c4b 100644
 a/c2hs/base/general/FileOps.hs
-+++ b/c2hs/base/general/FileOps.hs
-@@ -39,6 +39,7 @@ import Control.Monad  (liftM)
- import System.Random(newStdGen, randomRs)
- 
- import FNameOps  (dirname, stripDirname, addPath)
-+import System.IO.Error (catchIOError)
- 
- 
- -- search for the given file in the given list of directories (EXPORTED)
-@@ -89,7 +90,7 @@ mktemp pre post =
-in do
-  h - openFile fname ReadWriteMode
-  return (h, fname)
--   `catch` \_ - createLoop (attempts - 1) rs'
-+   `catchIOError` \_ - createLoop (attempts - 1) rs'
- --
- sixChars :: [Int] - ([Int], String)
- sixChars is = 
-diff --git a/c2hs/base/state/StateTrans.hs b/c2hs/base/state/StateTrans.hs
-index ada62f4..2ab0ad1 100644
 a/c2hs/base/state/StateTrans.hs
-+++ b/c2hs/base/state/StateTrans.hs
-@@ -84,6 +84,7 @@ import System.IO  (fixIO)
- import Data.IORef (IORef, newIORef, readIORef, writeIORef)
- 
- import Errors (interr)
-+import System.IO.Error (catchIOError)
- 
- infixr 1 +=, +
- 
-@@ -337,7 +338,7 @@ fatalsHandledBy m handler  =
- ioError err
- Right a  - return state
-   )
--  `catch` (\err - let
-+  `catchIOError` (\err - let
-  STB handler' = handler err
-in
-handler' bs gs)
-diff --git a/c2hs/toplevel/C2HSConfig.hs b/c2hs/toplevel/C2HSConfig.hs
-index e8deddf..af32886 100644
 a/c2hs/toplevel/C2HSConfig.hs
-+++ b/c2hs/toplevel/C2HSConfig.hs
-@@ -46,7 +46,7 @@ import Data.Array (Array, array)
- 
- import Foreign (Ptr, FunPtr)
- import Foreign  (Storable(sizeOf, alignment), toBool)
--import Foreign.C (CInt)
-+import Foreign.C (CInt(..))
- import System.Info (os)
- 
- -- program settings
--- 
-1.7.12
-

Modified: PKGBUILD
===
--- PKGBUILD2014-04-28 01:44:43 UTC (rev 110274)
+++ PKGBUILD2014-04-28 01:49:47 UTC (rev 110275)
@@ -3,13 +3,13 @@
 
 pkgname=gtk2hs-buildtools
 pkgver=0.12.5.2
-pkgrel=1
+pkgrel=2
 pkgdesc=Tools to build the Gtk2Hs suite of User Interface libraries.
 url=http://hackage.haskell.org/package/gtk2hs-buildtools;
 license=('GPL2')
 arch=('i686' 'x86_64')
 options=('staticlibs')
-makedepends=('ghc=7.8.2-2' 'alex' 'happy' 'haskell-random')
+makedepends=('ghc=7.8.2-2' 'alex' 'happy' 'haskell-random' 
'haskell-hashtables')
 depends=('gmp')
 provides=('haskell-gtk2hs-buildtools')
 
source=(http://hackage.haskell.org/packages/archive/gtk2hs-buildtools/$pkgver/gtk2hs-buildtools-$pkgver.tar.gz;)



[arch-commits] Commit in gtk2hs-buildtools/repos (6 files)

2014-04-27 Thread Thomas Dziedzic
Date: Monday, April 28, 2014 @ 03:50:50
  Author: td123
Revision: 110276

archrelease: copy trunk to community-staging-i686, community-staging-x86_64

Added:
  gtk2hs-buildtools/repos/community-staging-i686/PKGBUILD
(from rev 110275, gtk2hs-buildtools/trunk/PKGBUILD)
  gtk2hs-buildtools/repos/community-staging-x86_64/PKGBUILD
(from rev 110275, gtk2hs-buildtools/trunk/PKGBUILD)
Deleted:
  
gtk2hs-buildtools/repos/community-staging-i686/0001-fix-for-ghc-7.6.1-changes.patch
  gtk2hs-buildtools/repos/community-staging-i686/PKGBUILD
  
gtk2hs-buildtools/repos/community-staging-x86_64/0001-fix-for-ghc-7.6.1-changes.patch
  gtk2hs-buildtools/repos/community-staging-x86_64/PKGBUILD

---+
 /PKGBUILD |   54 +++
 community-staging-i686/0001-fix-for-ghc-7.6.1-changes.patch   |   69 --
 community-staging-i686/PKGBUILD   |   27 ---
 community-staging-x86_64/0001-fix-for-ghc-7.6.1-changes.patch |   69 --
 community-staging-x86_64/PKGBUILD |   27 ---
 5 files changed, 54 insertions(+), 192 deletions(-)

Deleted: community-staging-i686/0001-fix-for-ghc-7.6.1-changes.patch
===
--- community-staging-i686/0001-fix-for-ghc-7.6.1-changes.patch 2014-04-28 
01:49:47 UTC (rev 110275)
+++ community-staging-i686/0001-fix-for-ghc-7.6.1-changes.patch 2014-04-28 
01:50:50 UTC (rev 110276)
@@ -1,69 +0,0 @@
-From 7d94bcd36eb1d5a2feae182fcb74f9d6ca439a80 Mon Sep 17 00:00:00 2001
-From: Thomas Dziedzic gos...@gmail.com
-Date: Wed, 12 Sep 2012 03:29:46 -0700
-Subject: [PATCH] fix for ghc 7.6.1 changes
-

- c2hs/base/general/FileOps.hs  | 3 ++-
- c2hs/base/state/StateTrans.hs | 3 ++-
- c2hs/toplevel/C2HSConfig.hs   | 2 +-
- 3 files changed, 5 insertions(+), 3 deletions(-)
-
-diff --git a/c2hs/base/general/FileOps.hs b/c2hs/base/general/FileOps.hs
-index 83ac70c..4914c4b 100644
 a/c2hs/base/general/FileOps.hs
-+++ b/c2hs/base/general/FileOps.hs
-@@ -39,6 +39,7 @@ import Control.Monad  (liftM)
- import System.Random(newStdGen, randomRs)
- 
- import FNameOps  (dirname, stripDirname, addPath)
-+import System.IO.Error (catchIOError)
- 
- 
- -- search for the given file in the given list of directories (EXPORTED)
-@@ -89,7 +90,7 @@ mktemp pre post =
-in do
-  h - openFile fname ReadWriteMode
-  return (h, fname)
--   `catch` \_ - createLoop (attempts - 1) rs'
-+   `catchIOError` \_ - createLoop (attempts - 1) rs'
- --
- sixChars :: [Int] - ([Int], String)
- sixChars is = 
-diff --git a/c2hs/base/state/StateTrans.hs b/c2hs/base/state/StateTrans.hs
-index ada62f4..2ab0ad1 100644
 a/c2hs/base/state/StateTrans.hs
-+++ b/c2hs/base/state/StateTrans.hs
-@@ -84,6 +84,7 @@ import System.IO  (fixIO)
- import Data.IORef (IORef, newIORef, readIORef, writeIORef)
- 
- import Errors (interr)
-+import System.IO.Error (catchIOError)
- 
- infixr 1 +=, +
- 
-@@ -337,7 +338,7 @@ fatalsHandledBy m handler  =
- ioError err
- Right a  - return state
-   )
--  `catch` (\err - let
-+  `catchIOError` (\err - let
-  STB handler' = handler err
-in
-handler' bs gs)
-diff --git a/c2hs/toplevel/C2HSConfig.hs b/c2hs/toplevel/C2HSConfig.hs
-index e8deddf..af32886 100644
 a/c2hs/toplevel/C2HSConfig.hs
-+++ b/c2hs/toplevel/C2HSConfig.hs
-@@ -46,7 +46,7 @@ import Data.Array (Array, array)
- 
- import Foreign (Ptr, FunPtr)
- import Foreign  (Storable(sizeOf, alignment), toBool)
--import Foreign.C (CInt)
-+import Foreign.C (CInt(..))
- import System.Info (os)
- 
- -- program settings
--- 
-1.7.12
-

Deleted: community-staging-i686/PKGBUILD
===
--- community-staging-i686/PKGBUILD 2014-04-28 01:49:47 UTC (rev 110275)
+++ community-staging-i686/PKGBUILD 2014-04-28 01:50:50 UTC (rev 110276)
@@ -1,27 +0,0 @@
-# $Id$
-# Maintainer: Sergej Pupykin pupykin.s+a...@gmail.com
-
-pkgname=gtk2hs-buildtools
-pkgver=0.12.5.2
-pkgrel=1
-pkgdesc=Tools to build the Gtk2Hs suite of User Interface libraries.
-url=http://hackage.haskell.org/package/gtk2hs-buildtools;
-license=('GPL2')
-arch=('i686' 'x86_64')
-options=('staticlibs')
-makedepends=('ghc=7.8.2-2' 'alex' 'happy' 'haskell-random')
-depends=('gmp')
-provides=('haskell-gtk2hs-buildtools')
-source=(http://hackage.haskell.org/packages/archive/gtk2hs-buildtools/$pkgver/gtk2hs-buildtools-$pkgver.tar.gz;)
-md5sums=('dd39243ae579ab32236fbc17dbeec107')
-
-build() {
-cd ${srcdir}/gtk2hs-buildtools-$pkgver
-runhaskell Setup configure --prefix=/usr --docdir=/usr/share/doc/${pkgname}
-runhaskell

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

2014-04-27 Thread Thomas Dziedzic
Date: Monday, April 28, 2014 @ 03:58:48
  Author: td123
Revision: 110277

upgpkg: haskell-cairo 0.12.5.3-2

rebuild haskell-cairo for ghc 7.8.2-2

Modified:
  haskell-cairo/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2014-04-28 01:50:50 UTC (rev 110276)
+++ PKGBUILD2014-04-28 01:58:48 UTC (rev 110277)
@@ -3,7 +3,7 @@
 
 pkgname=haskell-cairo
 pkgver=0.12.5.3
-pkgrel=1
+pkgrel=2
 pkgdesc=Binding to the cairo library for Gtk2Hs.
 url=http://hackage.haskell.org/package/cairo;
 license=('LGPL2.1')



[arch-commits] Commit in haskell-cairo/repos (6 files)

2014-04-27 Thread Thomas Dziedzic
Date: Monday, April 28, 2014 @ 03:59:29
  Author: td123
Revision: 110278

archrelease: copy trunk to community-staging-i686, community-staging-x86_64

Added:
  haskell-cairo/repos/community-staging-i686/
  haskell-cairo/repos/community-staging-i686/PKGBUILD
(from rev 110277, haskell-cairo/trunk/PKGBUILD)
  haskell-cairo/repos/community-staging-i686/gtk2hs-cairo.install
(from rev 110277, haskell-cairo/trunk/gtk2hs-cairo.install)
  haskell-cairo/repos/community-staging-x86_64/
  haskell-cairo/repos/community-staging-x86_64/PKGBUILD
(from rev 110277, haskell-cairo/trunk/PKGBUILD)
  haskell-cairo/repos/community-staging-x86_64/gtk2hs-cairo.install
(from rev 110277, haskell-cairo/trunk/gtk2hs-cairo.install)

---+
 community-staging-i686/PKGBUILD   |   45 
 community-staging-i686/gtk2hs-cairo.install   |   18 +
 community-staging-x86_64/PKGBUILD |   45 
 community-staging-x86_64/gtk2hs-cairo.install |   18 +
 4 files changed, 126 insertions(+)

Copied: haskell-cairo/repos/community-staging-i686/PKGBUILD (from rev 110277, 
haskell-cairo/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2014-04-28 01:59:29 UTC (rev 110278)
@@ -0,0 +1,45 @@
+# $Id$
+# Maintainer: Sergej Pupykin pupykin.s+a...@gmail.com
+
+pkgname=haskell-cairo
+pkgver=0.12.5.3
+pkgrel=2
+pkgdesc=Binding to the cairo library for Gtk2Hs.
+url=http://hackage.haskell.org/package/cairo;
+license=('LGPL2.1')
+arch=('i686' 'x86_64')
+# deps adjusted to specific versions in package()
+depends=('ghc' 'cairo' 'haskell-mtl' 'haskell-utf8-string')
+makedepends=(gtk2hs-buildtools)
+options=('strip' 'staticlibs')
+conflicts=('gtk2hs-cairo')
+provides=('gtk2hs-cairo')
+replaces=('gtk2hs-cairo')
+install=gtk2hs-cairo.install
+source=(http://hackage.haskell.org/packages/archive/cairo/$pkgver/cairo-$pkgver.tar.gz)
+md5sums=('bdc6368237da089034d59fea24ca2c5b')
+
+build() {
+cd ${srcdir}/cairo-$pkgver
+runhaskell Setup configure -O -p --enable-split-objs --enable-shared \
+  --prefix=/usr --docdir=/usr/share/doc/haskell-cairo \
+  --libsubdir=\$compiler/site-local/\$pkgid
+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() {
+_ghcver=`pacman -Q ghc | cut -f2 -d\  | cut -f1 -d-`
+_hmtlver=`pacman -Q haskell-mtl | cut -f2 -d\  | cut -f1 -d-`
+depends=(ghc=${_ghcver} cairo haskell-mtl=${_hmtlver} 
'haskell-utf8-string')
+
+cd ${srcdir}/cairo-${pkgver}
+install -D -m744 register.sh   
${pkgdir}/usr/share/haskell/gtk2hs-cairo/register.sh
+install-m744 unregister.sh 
${pkgdir}/usr/share/haskell/gtk2hs-cairo/unregister.sh
+install -d -m755 ${pkgdir}/usr/share/doc/ghc/html/libraries
+ln -s /usr/share/doc/haskell-cairo/html 
${pkgdir}/usr/share/doc/ghc/html/libraries/cairo
+runhaskell Setup copy --destdir=${pkgdir}
+}

Copied: haskell-cairo/repos/community-staging-i686/gtk2hs-cairo.install (from 
rev 110277, haskell-cairo/trunk/gtk2hs-cairo.install)
===
--- community-staging-i686/gtk2hs-cairo.install (rev 0)
+++ community-staging-i686/gtk2hs-cairo.install 2014-04-28 01:59:29 UTC (rev 
110278)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/gtk2hs-cairo
+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)
+}

Copied: haskell-cairo/repos/community-staging-x86_64/PKGBUILD (from rev 110277, 
haskell-cairo/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2014-04-28 01:59:29 UTC (rev 110278)
@@ -0,0 +1,45 @@
+# $Id$
+# Maintainer: Sergej Pupykin pupykin.s+a...@gmail.com
+
+pkgname=haskell-cairo
+pkgver=0.12.5.3
+pkgrel=2
+pkgdesc=Binding to the cairo library for Gtk2Hs.
+url=http://hackage.haskell.org/package/cairo;
+license=('LGPL2.1')
+arch=('i686' 'x86_64')
+# deps adjusted to specific versions in package()
+depends=('ghc' 'cairo' 'haskell-mtl' 'haskell-utf8-string')
+makedepends=(gtk2hs-buildtools)
+options=('strip' 'staticlibs')
+conflicts=('gtk2hs-cairo')
+provides=('gtk2hs-cairo')
+replaces=('gtk2hs-cairo')
+install=gtk2hs-cairo.install

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

2014-04-27 Thread Thomas Dziedzic
Date: Monday, April 28, 2014 @ 04:06:23
  Author: td123
Revision: 110279

upgpkg: haskell-glib 0.12.5.4-1

rebuild haskell-glib for ghc 7.8.2-2

Modified:
  haskell-glib/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2014-04-28 01:59:29 UTC (rev 110278)
+++ PKGBUILD2014-04-28 02:06:23 UTC (rev 110279)
@@ -2,7 +2,7 @@
 # Maintainer: Sergej Pupykin pupykin.s+a...@gmail.com
 
 pkgname=haskell-glib
-pkgver=0.12.5.3
+pkgver=0.12.5.4
 pkgrel=1
 pkgdesc=Binding to the GLIB library for Gtk2Hs.
 url=http://hackage.haskell.org/package/glib;
@@ -17,7 +17,7 @@
 replaces=('gtk2hs-glib')
 conflicts=('gtk2hs-glib')
 
source=(http://hackage.haskell.org/packages/archive/glib/$pkgver/glib-$pkgver.tar.gz)
-md5sums=('fa062e23f75072dbc52abbb862c4ca8f')
+md5sums=('3923fd267072e99e4aad247e5147d319')
 
 build() {
 cd glib-$pkgver



[arch-commits] Commit in haskell-glib/repos (6 files)

2014-04-27 Thread Thomas Dziedzic
Date: Monday, April 28, 2014 @ 04:07:02
  Author: td123
Revision: 110280

archrelease: copy trunk to community-staging-i686, community-staging-x86_64

Added:
  haskell-glib/repos/community-staging-i686/
  haskell-glib/repos/community-staging-i686/PKGBUILD
(from rev 110279, haskell-glib/trunk/PKGBUILD)
  haskell-glib/repos/community-staging-i686/gtk2hs-glib.install
(from rev 110279, haskell-glib/trunk/gtk2hs-glib.install)
  haskell-glib/repos/community-staging-x86_64/
  haskell-glib/repos/community-staging-x86_64/PKGBUILD
(from rev 110279, haskell-glib/trunk/PKGBUILD)
  haskell-glib/repos/community-staging-x86_64/gtk2hs-glib.install
(from rev 110279, haskell-glib/trunk/gtk2hs-glib.install)

--+
 community-staging-i686/PKGBUILD  |   44 +
 community-staging-i686/gtk2hs-glib.install   |   18 ++
 community-staging-x86_64/PKGBUILD|   44 +
 community-staging-x86_64/gtk2hs-glib.install |   18 ++
 4 files changed, 124 insertions(+)

Copied: haskell-glib/repos/community-staging-i686/PKGBUILD (from rev 110279, 
haskell-glib/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2014-04-28 02:07:02 UTC (rev 110280)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: Sergej Pupykin pupykin.s+a...@gmail.com
+
+pkgname=haskell-glib
+pkgver=0.12.5.4
+pkgrel=1
+pkgdesc=Binding to the GLIB library for Gtk2Hs.
+url=http://hackage.haskell.org/package/glib;
+license=('LGPL2.1')
+arch=('i686' 'x86_64')
+# deps adjusted to specific versions in package()
+depends=('ghc' 'glib2' 'haskell-utf8-string')
+makedepends=(gtk2hs-buildtools)
+options=('strip' 'staticlibs')
+install=gtk2hs-glib.install
+provides=('gtk2hs-glib')
+replaces=('gtk2hs-glib')
+conflicts=('gtk2hs-glib')
+source=(http://hackage.haskell.org/packages/archive/glib/$pkgver/glib-$pkgver.tar.gz)
+md5sums=('3923fd267072e99e4aad247e5147d319')
+
+build() {
+cd glib-$pkgver
+runhaskell Setup configure -O -p --enable-split-objs --enable-shared \
+  --prefix=/usr --docdir=/usr/share/doc/haskell-glib \
+  --libsubdir=\$compiler/site-local/\$pkgid
+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() {
+_ghcver=`pacman -Q ghc | cut -f2 -d\  | cut -f1 -d-`
+depends=(ghc=${_ghcver} glib2 'haskell-utf8-string')
+
+cd ${srcdir}/glib-${pkgver}
+install -D -m744 register.sh   
${pkgdir}/usr/share/haskell/gtk2hs-glib/register.sh
+install-m744 unregister.sh 
${pkgdir}/usr/share/haskell/gtk2hs-glib/unregister.sh
+install -d -m755 ${pkgdir}/usr/share/doc/ghc/html/libraries
+ln -s /usr/share/doc/haskell-glib/html 
${pkgdir}/usr/share/doc/ghc/html/libraries/glib
+runhaskell Setup copy --destdir=${pkgdir}
+}

Copied: haskell-glib/repos/community-staging-i686/gtk2hs-glib.install (from rev 
110279, haskell-glib/trunk/gtk2hs-glib.install)
===
--- community-staging-i686/gtk2hs-glib.install  (rev 0)
+++ community-staging-i686/gtk2hs-glib.install  2014-04-28 02:07:02 UTC (rev 
110280)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/gtk2hs-glib
+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)
+}

Copied: haskell-glib/repos/community-staging-x86_64/PKGBUILD (from rev 110279, 
haskell-glib/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2014-04-28 02:07:02 UTC (rev 110280)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: Sergej Pupykin pupykin.s+a...@gmail.com
+
+pkgname=haskell-glib
+pkgver=0.12.5.4
+pkgrel=1
+pkgdesc=Binding to the GLIB library for Gtk2Hs.
+url=http://hackage.haskell.org/package/glib;
+license=('LGPL2.1')
+arch=('i686' 'x86_64')
+# deps adjusted to specific versions in package()
+depends=('ghc' 'glib2' 'haskell-utf8-string')
+makedepends=(gtk2hs-buildtools)
+options=('strip' 'staticlibs')
+install=gtk2hs-glib.install
+provides=('gtk2hs-glib')
+replaces=('gtk2hs-glib')
+conflicts=('gtk2hs-glib')
+source=(http://hackage.haskell.org/packages/archive/glib/$pkgver/glib-$pkgver.tar.gz)
+md5sums=('3923fd267072e99e4aad247e5147d319')
+
+build() {
+cd glib-$pkgver
+runhaskell Setup configure -O -p --enable-split-objs 

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

2014-04-27 Thread Thomas Dziedzic
Date: Monday, April 28, 2014 @ 04:14:08
  Author: td123
Revision: 110281

upgpkg: haskell-pango 0.12.5.3-2

rebuild haskell-pango for ghc 7.8.2-2

Modified:
  haskell-pango/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2014-04-28 02:07:02 UTC (rev 110280)
+++ PKGBUILD2014-04-28 02:14:08 UTC (rev 110281)
@@ -3,7 +3,7 @@
 
 pkgname=haskell-pango
 pkgver=0.12.5.3
-pkgrel=1
+pkgrel=2
 pkgdesc=Binding to the pango library for Gtk2Hs.
 url=http://hackage.haskell.org/package/pango;
 license=('LGPL2.1')



[arch-commits] Commit in haskell-pango/repos (6 files)

2014-04-27 Thread Thomas Dziedzic
Date: Monday, April 28, 2014 @ 04:15:01
  Author: td123
Revision: 110282

archrelease: copy trunk to community-staging-i686, community-staging-x86_64

Added:
  haskell-pango/repos/community-staging-i686/
  haskell-pango/repos/community-staging-i686/PKGBUILD
(from rev 110281, haskell-pango/trunk/PKGBUILD)
  haskell-pango/repos/community-staging-i686/gtk2hs-pango.install
(from rev 110281, haskell-pango/trunk/gtk2hs-pango.install)
  haskell-pango/repos/community-staging-x86_64/
  haskell-pango/repos/community-staging-x86_64/PKGBUILD
(from rev 110281, haskell-pango/trunk/PKGBUILD)
  haskell-pango/repos/community-staging-x86_64/gtk2hs-pango.install
(from rev 110281, haskell-pango/trunk/gtk2hs-pango.install)

---+
 community-staging-i686/PKGBUILD   |   47 
 community-staging-i686/gtk2hs-pango.install   |   18 +
 community-staging-x86_64/PKGBUILD |   47 
 community-staging-x86_64/gtk2hs-pango.install |   18 +
 4 files changed, 130 insertions(+)

Copied: haskell-pango/repos/community-staging-i686/PKGBUILD (from rev 110281, 
haskell-pango/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2014-04-28 02:15:01 UTC (rev 110282)
@@ -0,0 +1,47 @@
+# $Id$
+# Maintainer: Sergej Pupykin pupykin.s+a...@gmail.com
+
+pkgname=haskell-pango
+pkgver=0.12.5.3
+pkgrel=2
+pkgdesc=Binding to the pango library for Gtk2Hs.
+url=http://hackage.haskell.org/package/pango;
+license=('LGPL2.1')
+arch=('i686' 'x86_64')
+# deps adjusted to specific versions in package()
+depends=('ghc' 'pango' 'haskell-glib' 'haskell-cairo')
+makedepends=(gtk2hs-buildtools)
+provides=('gtk2hs-pango')
+replaces=('gtk2hs-pango')
+conflicts=('gtk2hs-pango')
+options=('strip' 'staticlibs')
+install=gtk2hs-pango.install
+source=(http://hackage.haskell.org/packages/archive/pango/${pkgver}/pango-${pkgver}.tar.gz)
+md5sums=('16dabd25374825c5df97997329f97464')
+
+build() {
+  cd ${srcdir}/pango-${pkgver}
+  runhaskell Setup configure -O -p --enable-split-objs --enable-shared \
+--prefix=/usr --docdir=/usr/share/doc/haskell-pango \
+--libsubdir=\$compiler/site-local/\$pkgid
+  sed -i 's|import Foreign.C.Types.*(CULong, CUInt)|import Foreign.C.Types 
(CULong(..), CUInt(..))|' Graphics/Rendering/Pango/Types.chs
+  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() {
+  _ghcver=`pacman -Q ghc | cut -f2 -d\  | cut -f1 -d-`
+  _hglibver=`pacman -Q haskell-glib | cut -f2 -d\  | cut -f1 -d-`
+  _hcairover=`pacman -Q haskell-cairo | cut -f2 -d\  | cut -f1 -d-`
+  depends=(ghc=${_ghcver} pango haskell-glib=${_hglibver} 
haskell-cairo=${_hcairover})
+
+  cd ${srcdir}/pango-${pkgver}
+  install -D -m744 register.sh   
${pkgdir}/usr/share/haskell/gtk2hs-pango/register.sh
+  install -m744 unregister.sh 
${pkgdir}/usr/share/haskell/gtk2hs-pango/unregister.sh
+  install -d -m755 ${pkgdir}/usr/share/doc/ghc/html/libraries
+  ln -s /usr/share/doc/haskell-pango/html 
${pkgdir}/usr/share/doc/ghc/html/libraries/pango
+  runhaskell Setup copy --destdir=${pkgdir}
+}

Copied: haskell-pango/repos/community-staging-i686/gtk2hs-pango.install (from 
rev 110281, haskell-pango/trunk/gtk2hs-pango.install)
===
--- community-staging-i686/gtk2hs-pango.install (rev 0)
+++ community-staging-i686/gtk2hs-pango.install 2014-04-28 02:15:01 UTC (rev 
110282)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/gtk2hs-pango
+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)
+}

Copied: haskell-pango/repos/community-staging-x86_64/PKGBUILD (from rev 110281, 
haskell-pango/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2014-04-28 02:15:01 UTC (rev 110282)
@@ -0,0 +1,47 @@
+# $Id$
+# Maintainer: Sergej Pupykin pupykin.s+a...@gmail.com
+
+pkgname=haskell-pango
+pkgver=0.12.5.3
+pkgrel=2
+pkgdesc=Binding to the pango library for Gtk2Hs.
+url=http://hackage.haskell.org/package/pango;
+license=('LGPL2.1')
+arch=('i686' 'x86_64')
+# deps adjusted to specific versions in package()
+depends=('ghc' 'pango' 'haskell-glib' 'haskell-cairo')
+makedepends=(gtk2hs-buildtools)

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

2014-04-27 Thread Thomas Dziedzic
Date: Monday, April 28, 2014 @ 04:52:45
  Author: td123
Revision: 110283

upgpkg: haskell-gtk 0.12.5.7-1

rebuild for ghc 7.8.2-2

Modified:
  haskell-gtk/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2014-04-28 02:15:01 UTC (rev 110282)
+++ PKGBUILD2014-04-28 02:52:45 UTC (rev 110283)
@@ -2,7 +2,7 @@
 # Maintainer: Sergej Pupykin pupykin.s+a...@gmail.com
 
 pkgname=haskell-gtk
-pkgver=0.12.5.6
+pkgver=0.12.5.7
 pkgrel=1
 pkgdesc=Binding to the gtk library for Gtk2Hs.
 url=http://hackage.haskell.org/package/gtk;
@@ -16,7 +16,7 @@
 options=('strip' 'staticlibs')
 install=gtk2hs-gtk.install
 
source=(http://hackage.haskell.org/packages/archive/gtk/$pkgver/gtk-$pkgver.tar.gz)
-md5sums=('aa102599967851e6efeeb7338961557f')
+md5sums=('13020ad1f3f80a0d5b17c4e519172362')
 
 build() {
   cd ${srcdir}/gtk-${pkgver}



  1   2   3   4   5   6   7   >