Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Updated cmdargs, mtlparse, numeric-prelude, regexpr, and texmath from…

… Hackage.

Bumped halipeto, hledger-lib, hledger, pandoc, etc. because they depend
on (at least) one of the updated packages.

These files have been generated with the latest tool-chain, which comes
with several updates:

 * the cabal name of the package is available as ${_hkgname},

 * the generated uninstall.sh hook uses --force to avoid warnings during
   updates, and

 * our attribution header of choice these days is "Maintainer:".
  • Loading branch information...
commit 78b2f329c3b2e5692a40832da3fce2f6c5ea6268 1 parent 65013e2
@peti peti authored
Showing with 686 additions and 791 deletions.
  1. +13 −17 haskell-archlinux/PKGBUILD
  2. +0 −3  haskell-archlinux/haskell-archlinux.install
  3. +24 −25 haskell-cmdargs/PKGBUILD
  4. +0 −3  haskell-cmdargs/haskell-cmdargs.install
  5. +22 −21 haskell-csv/PKGBUILD
  6. +0 −3  haskell-csv/haskell-csv.install
  7. +23 −22 haskell-digest/PKGBUILD
  8. +0 −3  haskell-digest/haskell-digest.install
  9. +22 −23 haskell-funcmp/PKGBUILD
  10. +0 −3  haskell-funcmp/haskell-funcmp.install
  11. +22 −23 haskell-halipeto/PKGBUILD
  12. +0 −3  haskell-halipeto/haskell-halipeto.install
  13. +22 −21 haskell-haxml/PKGBUILD
  14. +0 −3  haskell-haxml/haskell-haxml.install
  15. +22 −23 haskell-hledger-lib/PKGBUILD
  16. +0 −3  haskell-hledger-lib/haskell-hledger-lib.install
  17. +23 −24 haskell-hopenssl/PKGBUILD
  18. +0 −3  haskell-hopenssl/haskell-hopenssl.install
  19. +23 −24 haskell-hsemail/PKGBUILD
  20. +0 −3  haskell-hsemail/haskell-hsemail.install
  21. +23 −24 haskell-hsyslog/PKGBUILD
  22. +0 −3  haskell-hsyslog/haskell-hsyslog.install
  23. +24 −23 haskell-mtlparse/PKGBUILD
  24. +0 −3  haskell-mtlparse/haskell-mtlparse.install
  25. +22 −23 haskell-non-negative/PKGBUILD
  26. +0 −3  haskell-non-negative/haskell-non-negative.install
  27. +22 −23 haskell-numeric-prelude/PKGBUILD
  28. +0 −3  haskell-numeric-prelude/haskell-numeric-prelude.install
  29. +22 −23 haskell-pandoc/PKGBUILD
  30. +0 −3  haskell-pandoc/haskell-pandoc.install
  31. +22 −21 haskell-polyparse/PKGBUILD
  32. +0 −3  haskell-polyparse/haskell-polyparse.install
  33. +24 −23 haskell-regexpr/PKGBUILD
  34. +0 −3  haskell-regexpr/haskell-regexpr.install
  35. +23 −22 haskell-safe/PKGBUILD
  36. +0 −3  haskell-safe/haskell-safe.install
  37. +23 −24 haskell-split/PKGBUILD
  38. +0 −3  haskell-split/haskell-split.install
  39. +23 −24 haskell-storable-record/PKGBUILD
  40. +0 −3  haskell-storable-record/haskell-storable-record.install
  41. +23 −24 haskell-streamproc/PKGBUILD
  42. +0 −3  haskell-streamproc/haskell-streamproc.install
  43. +23 −22 haskell-tar/PKGBUILD
  44. +0 −3  haskell-tar/haskell-tar.install
  45. +23 −24 haskell-texmath/PKGBUILD
  46. +0 −3  haskell-texmath/haskell-texmath.install
  47. +24 −25 haskell-transformers/PKGBUILD
  48. +0 −3  haskell-transformers/haskell-transformers.install
  49. +23 −24 haskell-utility-ht/PKGBUILD
  50. +0 −3  haskell-utility-ht/haskell-utility-ht.install
  51. +22 −23 haskell-uulib/PKGBUILD
  52. +0 −3  haskell-uulib/haskell-uulib.install
  53. +23 −24 haskell-xml/PKGBUILD
  54. +0 −3  haskell-xml/haskell-xml.install
  55. +22 −21 haskell-zip-archive/PKGBUILD
  56. +0 −3  haskell-zip-archive/haskell-zip-archive.install
  57. +23 −24 haskell-zlib-bindings/PKGBUILD
  58. +0 −3  haskell-zlib-bindings/haskell-zlib-bindings.install
  59. +14 −14 hasktags/PKGBUILD
  60. +22 −23 hledger/PKGBUILD
  61. +0 −3  hledger/hledger.install
View
30 haskell-archlinux/PKGBUILD
@@ -1,37 +1,33 @@
-# Contributor: Arch Haskell Team <arch-haskell@haskell.org>
-# Package generated by cabal2arch 0.7.5
-# Note: we list all package dependencies.
-# Your package tool should understand 'provides' syntax
-#
-# Keep up to date on http://archhaskell.wordpress.com/
-#
+# Maintainer: Arch Haskell Team <arch-haskell@haskell.org>
+_hkgname=archlinux
pkgname=haskell-archlinux
-pkgrel=1
pkgver=0.3.4
+pkgrel=1
pkgdesc="Support for working with Arch Linux packages."
-url="http://hackage.haskell.org/package/archlinux"
+url="http://hackage.haskell.org/package/${_hkgname}"
license=('custom:BSD3')
arch=('i686' 'x86_64')
makedepends=()
-depends=('ghc' 'haskell-cabal' 'haskell-cabal>=1.6' 'haskell-bytestring' 'haskell-containers' 'haskell-directory' 'haskell-filepath' 'haskell-pretty' 'haskell-tar')
+depends=('ghc' 'haskell-cabal>=1.6' 'haskell-tar')
options=('strip')
-source=(http://hackage.haskell.org/packages/archive/archlinux/0.3.4/archlinux-0.3.4.tar.gz)
-install=haskell-archlinux.install
-md5sums=(0c72c97d260c7688af6d7a071bc13f23)
+source=(http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+install=${pkgname}.install
+md5sums=('0c72c97d260c7688af6d7a071bc13f23')
build() {
- cd ${srcdir}/archlinux-0.3.4
- runhaskell Setup configure --prefix=/usr --docdir=/usr/share/doc/${pkgname}
+ cd ${srcdir}/${_hkgname}-${pkgver}
+ runhaskell Setup configure --prefix=/usr --docdir=/usr/share/doc/${pkgname} -O --enable-split-objs
runhaskell Setup build
runhaskell Setup haddock
runhaskell Setup register --gen-script
runhaskell Setup unregister --gen-script
+ sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
}
package() {
- cd ${srcdir}/archlinux-0.3.4
+ cd ${srcdir}/${_hkgname}-${pkgver}
install -D -m744 register.sh ${pkgdir}/usr/share/haskell/${pkgname}/register.sh
install -m744 unregister.sh ${pkgdir}/usr/share/haskell/${pkgname}/unregister.sh
install -d -m755 ${pkgdir}/usr/share/doc/ghc/html/libraries
- ln -s /usr/share/doc/${pkgname}/html ${pkgdir}/usr/share/doc/ghc/html/libraries/archlinux
+ 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
View
3  haskell-archlinux/haskell-archlinux.install
@@ -16,6 +16,3 @@ pre_remove() {
post_remove() {
(cd /usr/share/doc/ghc/html/libraries; ./gen_contents_index)
}
-op=$1
-shift
-$op $*
View
49 haskell-cmdargs/PKGBUILD
@@ -1,35 +1,34 @@
-# Contributor: Arch Haskell Team <arch-haskell@haskell.org>
-# Package generated by cabal2arch 0.7.3
-# Note: we list all package dependencies.
-# Your package tool should understand 'provides' syntax
-#
-# Keep up to date on http://archhaskell.wordpress.com/
-#
+# Maintainer: Arch Haskell Team <arch-haskell@haskell.org>
+_hkgname=cmdargs
pkgname=haskell-cmdargs
+pkgver=0.6.1
pkgrel=1
-pkgver=0.6
pkgdesc="Command line argument processing"
-url="http://hackage.haskell.org/package/cmdargs"
+url="http://hackage.haskell.org/package/${_hkgname}"
license=('custom:BSD3')
arch=('i686' 'x86_64')
makedepends=()
-depends=('ghc' 'haskell-cabal' 'haskell-filepath' 'haskell-mtl')
+depends=('ghc' 'haskell-mtl')
options=('strip')
-source=(http://hackage.haskell.org/packages/archive/cmdargs/0.6/cmdargs-0.6.tar.gz)
-install=haskell-cmdargs.install
-md5sums=('af698e16cd4c245f275686cf6aa99528')
+source=(http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+install=${pkgname}.install
+md5sums=('de2d6783a3148b043864455233cdb661')
build() {
- cd ${srcdir}/cmdargs-0.6
- runhaskell Setup configure --prefix=/usr --docdir=/usr/share/doc/${pkgname} || return 1
- runhaskell Setup build || return 1
- runhaskell Setup haddock || return 1
- runhaskell Setup register --gen-script || return 1
- runhaskell Setup unregister --gen-script || return 1
- 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/cmdargs
- runhaskell Setup copy --destdir=${pkgdir} || return 1
- install -D -m644 LICENSE ${pkgdir}/usr/share/licenses/$pkgname/LICENSE || return 1
+ cd ${srcdir}/${_hkgname}-${pkgver}
+ runhaskell Setup configure --prefix=/usr --docdir=/usr/share/doc/${pkgname} -O --enable-split-objs
+ runhaskell Setup build
+ runhaskell Setup haddock
+ runhaskell Setup register --gen-script
+ runhaskell Setup unregister --gen-script
+ sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+package() {
+ cd ${srcdir}/${_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
}
View
3  haskell-cmdargs/haskell-cmdargs.install
@@ -16,6 +16,3 @@ pre_remove() {
post_remove() {
(cd /usr/share/doc/ghc/html/libraries; ./gen_contents_index)
}
-op=$1
-shift
-$op $*
View
43 haskell-csv/PKGBUILD
@@ -1,31 +1,32 @@
-# Contributor: Arch Haskell Team <arch-haskell@haskell.org>
-# Package generated by cabal2arch 0.7
-# Note: we list all package dependencies.
-# Your package tool should understand 'provides' syntax
-#
+# Maintainer: Arch Haskell Team <arch-haskell@haskell.org>
+_hkgname=csv
pkgname=haskell-csv
-pkgrel=1
pkgver=0.1.1
+pkgrel=1
pkgdesc="CSV loader and dumper"
-url="http://hackage.haskell.org/package/csv"
+url="http://hackage.haskell.org/package/${_hkgname}"
license=('LGPL')
arch=('i686' 'x86_64')
makedepends=()
-depends=('ghc' 'haskell-cabal' 'haskell-filepath' 'haskell-parsec')
+depends=('ghc' 'haskell-parsec')
options=('strip')
-source=(http://hackage.haskell.org/packages/archive/csv/0.1.1/csv-0.1.1.tar.gz)
-install=haskell-csv.install
+source=(http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+install=${pkgname}.install
md5sums=('312cdb7d59528a161034b3397af10266')
build() {
- cd ${srcdir}/csv-0.1.1
- runhaskell Setup configure --prefix=/usr --docdir=/usr/share/doc/${pkgname} || return 1
- runhaskell Setup build || return 1
- runhaskell Setup haddock || return 1
- runhaskell Setup register --gen-script || return 1
- runhaskell Setup unregister --gen-script || return 1
- 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/csv
- runhaskell Setup copy --destdir=${pkgdir} || return 1
+ cd ${srcdir}/${_hkgname}-${pkgver}
+ runhaskell Setup configure --prefix=/usr --docdir=/usr/share/doc/${pkgname} -O --enable-split-objs
+ runhaskell Setup build
+ runhaskell Setup haddock
+ runhaskell Setup register --gen-script
+ runhaskell Setup unregister --gen-script
+ sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+package() {
+ cd ${srcdir}/${_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}
}
View
3  haskell-csv/haskell-csv.install
@@ -16,6 +16,3 @@ pre_remove() {
post_remove() {
(cd /usr/share/doc/ghc/html/libraries; ./gen_contents_index)
}
-op=$1
-shift
-$op $*
View
45 haskell-digest/PKGBUILD
@@ -1,33 +1,34 @@
-# Contributor: Arch Haskell Team <arch-haskell@haskell.org>
-# Package generated by cabal2arch 0.7
-# Note: we list all package dependencies.
-# Your package tool should understand 'provides' syntax
-#
+# Maintainer: Arch Haskell Team <arch-haskell@haskell.org>
+_hkgname=digest
pkgname=haskell-digest
-pkgrel=1
pkgver=0.0.0.8
+pkgrel=1
pkgdesc="Various cryptographic hashes for bytestrings; CRC32 and Adler32 for now."
-url="http://hackage.haskell.org/package/digest"
+url="http://hackage.haskell.org/package/${_hkgname}"
license=('custom:BSD3')
arch=('i686' 'x86_64')
makedepends=()
-depends=('ghc' 'haskell-cabal' 'zlib')
+depends=('ghc' 'zlib')
options=('strip')
-source=(http://hackage.haskell.org/packages/archive/digest/0.0.0.8/digest-0.0.0.8.tar.gz)
-install=haskell-digest.install
+source=(http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+install=${pkgname}.install
md5sums=('3a730a6439b14fb7a30bcd03c9e3f4ff')
build() {
- cd ${srcdir}/digest-0.0.0.8
- runhaskell Setup configure --prefix=/usr --docdir=/usr/share/doc/${pkgname} || return 1
- runhaskell Setup build || return 1
- runhaskell Setup haddock || return 1
- runhaskell Setup register --gen-script || return 1
- runhaskell Setup unregister --gen-script || return 1
- 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/digest
- runhaskell Setup copy --destdir=${pkgdir} || return 1
- install -D -m644 LICENSE ${pkgdir}/usr/share/licenses/$pkgname/LICENSE || return 1
+ cd ${srcdir}/${_hkgname}-${pkgver}
+ runhaskell Setup configure --prefix=/usr --docdir=/usr/share/doc/${pkgname} -O --enable-split-objs
+ runhaskell Setup build
+ runhaskell Setup haddock
+ runhaskell Setup register --gen-script
+ runhaskell Setup unregister --gen-script
+ sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+package() {
+ cd ${srcdir}/${_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
}
View
3  haskell-digest/haskell-digest.install
@@ -16,6 +16,3 @@ pre_remove() {
post_remove() {
(cd /usr/share/doc/ghc/html/libraries; ./gen_contents_index)
}
-op=$1
-shift
-$op $*
View
45 haskell-funcmp/PKGBUILD
@@ -1,33 +1,32 @@
-# Contributor: Arch Haskell Team <arch-haskell@haskell.org>
-# Package generated by cabal2arch 0.7.3
-# Note: we list all package dependencies.
-# Your package tool should understand 'provides' syntax
-#
-# Keep up to date on http://archhaskell.wordpress.com/
-#
+# Maintainer: Arch Haskell Team <arch-haskell@haskell.org>
+_hkgname=funcmp
pkgname=haskell-funcmp
-pkgrel=1
pkgver=1.5
+pkgrel=1
pkgdesc="Functional MetaPost"
-url="http://hackage.haskell.org/package/funcmp"
+url="http://hackage.haskell.org/package/${_hkgname}"
license=('GPL')
arch=('i686' 'x86_64')
makedepends=()
-depends=('ghc' 'haskell-cabal' 'haskell-filepath' 'haskell-process')
+depends=('ghc')
options=('strip')
-source=(http://hackage.haskell.org/packages/archive/funcmp/1.5/funcmp-1.5.tar.gz)
-install=haskell-funcmp.install
+source=(http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+install=${pkgname}.install
md5sums=('83d82b6423508ac37092a2397d712ea6')
build() {
- cd ${srcdir}/funcmp-1.5
- runhaskell Setup configure --prefix=/usr --docdir=/usr/share/doc/${pkgname} || return 1
- runhaskell Setup build || return 1
- runhaskell Setup haddock || return 1
- runhaskell Setup register --gen-script || return 1
- runhaskell Setup unregister --gen-script || return 1
- 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/funcmp
- runhaskell Setup copy --destdir=${pkgdir} || return 1
+ cd ${srcdir}/${_hkgname}-${pkgver}
+ runhaskell Setup configure --prefix=/usr --docdir=/usr/share/doc/${pkgname} -O --enable-split-objs
+ runhaskell Setup build
+ runhaskell Setup haddock
+ runhaskell Setup register --gen-script
+ runhaskell Setup unregister --gen-script
+ sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+package() {
+ cd ${srcdir}/${_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}
}
View
3  haskell-funcmp/haskell-funcmp.install
@@ -16,6 +16,3 @@ pre_remove() {
post_remove() {
(cd /usr/share/doc/ghc/html/libraries; ./gen_contents_index)
}
-op=$1
-shift
-$op $*
View
45 haskell-halipeto/PKGBUILD
@@ -1,33 +1,32 @@
-# Contributor: Arch Haskell Team <arch-haskell@haskell.org>
-# Package generated by cabal2arch 0.7.3
-# Note: we list all package dependencies.
-# Your package tool should understand 'provides' syntax
-#
-# Keep up to date on http://archhaskell.wordpress.com/
-#
+# Maintainer: Arch Haskell Team <arch-haskell@haskell.org>
+_hkgname=halipeto
pkgname=haskell-halipeto
-pkgrel=1
pkgver=2.3
+pkgrel=2
pkgdesc="Haskell Static Web Page Generator"
-url="http://hackage.haskell.org/package/halipeto"
+url="http://hackage.haskell.org/package/${_hkgname}"
license=('GPL')
arch=('i686' 'x86_64')
makedepends=()
-depends=('ghc' 'haskell-cabal' 'haskell-haxml>=1.20' 'haskell-directory' 'haskell-pandoc')
+depends=('ghc' 'haskell-haxml>=1.20' 'haskell-pandoc')
options=('strip')
-source=(http://hackage.haskell.org/packages/archive/halipeto/2.3/halipeto-2.3.tar.gz)
-install=haskell-halipeto.install
+source=(http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+install=${pkgname}.install
md5sums=('2772511bcaa91c295325856d211fa4a6')
build() {
- cd ${srcdir}/halipeto-2.3
- runhaskell Setup configure --prefix=/usr --docdir=/usr/share/doc/${pkgname} || return 1
- runhaskell Setup build || return 1
- runhaskell Setup haddock || return 1
- runhaskell Setup register --gen-script || return 1
- runhaskell Setup unregister --gen-script || return 1
- 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/halipeto
- runhaskell Setup copy --destdir=${pkgdir} || return 1
+ cd ${srcdir}/${_hkgname}-${pkgver}
+ runhaskell Setup configure --prefix=/usr --docdir=/usr/share/doc/${pkgname} -O --enable-split-objs
+ runhaskell Setup build
+ runhaskell Setup haddock
+ runhaskell Setup register --gen-script
+ runhaskell Setup unregister --gen-script
+ sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+package() {
+ cd ${srcdir}/${_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}
}
View
3  haskell-halipeto/haskell-halipeto.install
@@ -16,6 +16,3 @@ pre_remove() {
post_remove() {
(cd /usr/share/doc/ghc/html/libraries; ./gen_contents_index)
}
-op=$1
-shift
-$op $*
View
43 haskell-haxml/PKGBUILD
@@ -1,31 +1,32 @@
-# Contributor: Arch Haskell Team <arch-haskell@haskell.org>
-# Package generated by cabal2arch 0.7
-# Note: we list all package dependencies.
-# Your package tool should understand 'provides' syntax
-#
+# Maintainer: Arch Haskell Team <arch-haskell@haskell.org>
+_hkgname=HaXml
pkgname=haskell-haxml
-pkgrel=1
pkgver=1.20.2
+pkgrel=1
pkgdesc="Utilities for manipulating XML documents"
-url="http://hackage.haskell.org/package/HaXml"
+url="http://hackage.haskell.org/package/${_hkgname}"
license=('LGPL')
arch=('i686' 'x86_64')
makedepends=()
-depends=('ghc' 'haskell-cabal' 'haskell-bytestring' 'haskell-containers' 'haskell-filepath' 'haskell-haskell98' 'haskell-polyparse>=1.2' 'haskell-pretty' 'haskell-random')
+depends=('ghc' 'haskell-polyparse>=1.2')
options=('strip')
-source=(http://hackage.haskell.org/packages/archive/HaXml/1.20.2/HaXml-1.20.2.tar.gz)
-install=haskell-haxml.install
+source=(http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+install=${pkgname}.install
md5sums=('9635c348e70c0446e74783e7c267050c')
build() {
- cd ${srcdir}/HaXml-1.20.2
- runhaskell Setup configure --prefix=/usr --docdir=/usr/share/doc/${pkgname} || return 1
- runhaskell Setup build || return 1
- runhaskell Setup haddock || return 1
- runhaskell Setup register --gen-script || return 1
- runhaskell Setup unregister --gen-script || return 1
- 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/HaXml
- runhaskell Setup copy --destdir=${pkgdir} || return 1
+ cd ${srcdir}/${_hkgname}-${pkgver}
+ runhaskell Setup configure --prefix=/usr --docdir=/usr/share/doc/${pkgname} -O --enable-split-objs
+ runhaskell Setup build
+ runhaskell Setup haddock
+ runhaskell Setup register --gen-script
+ runhaskell Setup unregister --gen-script
+ sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+package() {
+ cd ${srcdir}/${_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}
}
View
3  haskell-haxml/haskell-haxml.install
@@ -16,6 +16,3 @@ pre_remove() {
post_remove() {
(cd /usr/share/doc/ghc/html/libraries; ./gen_contents_index)
}
-op=$1
-shift
-$op $*
View
45 haskell-hledger-lib/PKGBUILD
@@ -1,33 +1,32 @@
-# Contributor: Arch Haskell Team <arch-haskell@haskell.org>
-# Package generated by cabal2arch 0.7.3
-# Note: we list all package dependencies.
-# Your package tool should understand 'provides' syntax
-#
-# Keep up to date on http://archhaskell.wordpress.com/
-#
+# Maintainer: Arch Haskell Team <arch-haskell@haskell.org>
+_hkgname=hledger-lib
pkgname=haskell-hledger-lib
-pkgrel=1
pkgver=0.12.1
+pkgrel=2
pkgdesc="Core types and utilities for working with hledger (or c++ ledger) data."
-url="http://hackage.haskell.org/package/hledger-lib"
+url="http://hackage.haskell.org/package/${_hkgname}"
license=('GPL')
arch=('i686' 'x86_64')
makedepends=()
-depends=('ghc' 'haskell-cabal' 'haskell-hunit' 'haskell-containers' 'haskell-directory' 'haskell-filepath' 'haskell-mtl' 'haskell-old-locale' 'haskell-old-time' 'haskell-parsec' 'haskell-regexpr>=0.5.1' 'haskell-safe>=0.2' 'haskell-split' 'haskell-time' 'haskell-utf8-string')
+depends=('ghc' 'haskell-hunit' 'haskell-mtl' 'haskell-parsec' 'haskell-regexpr>=0.5.1' 'haskell-safe>=0.2' 'haskell-split<0.2' 'haskell-utf8-string<0.4')
options=('strip')
-source=(http://hackage.haskell.org/packages/archive/hledger-lib/0.12.1/hledger-lib-0.12.1.tar.gz)
-install=haskell-hledger-lib.install
+source=(http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+install=${pkgname}.install
md5sums=('b0774eaa3c0e377385484b6d3cb69834')
build() {
- cd ${srcdir}/hledger-lib-0.12.1
- runhaskell Setup configure --prefix=/usr --docdir=/usr/share/doc/${pkgname} || return 1
- runhaskell Setup build || return 1
- runhaskell Setup haddock || return 1
- runhaskell Setup register --gen-script || return 1
- runhaskell Setup unregister --gen-script || return 1
- 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/hledger-lib
- runhaskell Setup copy --destdir=${pkgdir} || return 1
+ cd ${srcdir}/${_hkgname}-${pkgver}
+ runhaskell Setup configure --prefix=/usr --docdir=/usr/share/doc/${pkgname} -O --enable-split-objs
+ runhaskell Setup build
+ runhaskell Setup haddock
+ runhaskell Setup register --gen-script
+ runhaskell Setup unregister --gen-script
+ sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+package() {
+ cd ${srcdir}/${_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}
}
View
3  haskell-hledger-lib/haskell-hledger-lib.install
@@ -16,6 +16,3 @@ pre_remove() {
post_remove() {
(cd /usr/share/doc/ghc/html/libraries; ./gen_contents_index)
}
-op=$1
-shift
-$op $*
View
47 haskell-hopenssl/PKGBUILD
@@ -1,35 +1,34 @@
-# Contributor: Arch Haskell Team <arch-haskell@haskell.org>
-# Package generated by cabal2arch 0.7.3
-# Note: we list all package dependencies.
-# Your package tool should understand 'provides' syntax
-#
-# Keep up to date on http://archhaskell.wordpress.com/
-#
+# Maintainer: Arch Haskell Team <arch-haskell@haskell.org>
+_hkgname=hopenssl
pkgname=haskell-hopenssl
-pkgrel=1
pkgver=1.4
+pkgrel=1
pkgdesc="FFI bindings to OpenSSL's EVP digest interface"
-url="http://hackage.haskell.org/package/hopenssl"
+url="http://hackage.haskell.org/package/${_hkgname}"
license=('custom:BSD3')
arch=('i686' 'x86_64')
makedepends=()
-depends=('ghc' 'haskell-cabal' 'haskell-bytestring' 'haskell-mtl' 'openssl')
+depends=('ghc' 'haskell-mtl' 'openssl')
options=('strip')
-source=(http://hackage.haskell.org/packages/archive/hopenssl/1.4/hopenssl-1.4.tar.gz)
-install=haskell-hopenssl.install
+source=(http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+install=${pkgname}.install
md5sums=('376592abb196af9f71e12e22d2daab30')
build() {
- cd ${srcdir}/hopenssl-1.4
- runhaskell Setup configure --prefix=/usr --docdir=/usr/share/doc/${pkgname} || return 1
- runhaskell Setup build || return 1
- runhaskell Setup haddock || return 1
- runhaskell Setup register --gen-script || return 1
- runhaskell Setup unregister --gen-script || return 1
- 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/hopenssl
- runhaskell Setup copy --destdir=${pkgdir} || return 1
- install -D -m644 LICENSE ${pkgdir}/usr/share/licenses/$pkgname/LICENSE || return 1
+ cd ${srcdir}/${_hkgname}-${pkgver}
+ runhaskell Setup configure --prefix=/usr --docdir=/usr/share/doc/${pkgname} -O --enable-split-objs
+ runhaskell Setup build
+ runhaskell Setup haddock
+ runhaskell Setup register --gen-script
+ runhaskell Setup unregister --gen-script
+ sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+package() {
+ cd ${srcdir}/${_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
}
View
3  haskell-hopenssl/haskell-hopenssl.install
@@ -16,6 +16,3 @@ pre_remove() {
post_remove() {
(cd /usr/share/doc/ghc/html/libraries; ./gen_contents_index)
}
-op=$1
-shift
-$op $*
View
47 haskell-hsemail/PKGBUILD
@@ -1,35 +1,34 @@
-# Contributor: Arch Haskell Team <arch-haskell@haskell.org>
-# Package generated by cabal2arch 0.7.3
-# Note: we list all package dependencies.
-# Your package tool should understand 'provides' syntax
-#
-# Keep up to date on http://archhaskell.wordpress.com/
-#
+# Maintainer: Arch Haskell Team <arch-haskell@haskell.org>
+_hkgname=hsemail
pkgname=haskell-hsemail
-pkgrel=1
pkgver=1.6
+pkgrel=1
pkgdesc="Internet Message Parsers"
-url="http://hackage.haskell.org/package/hsemail"
+url="http://hackage.haskell.org/package/${_hkgname}"
license=('custom:BSD3')
arch=('i686' 'x86_64')
makedepends=()
-depends=('ghc' 'haskell-cabal' 'haskell-mtl' 'haskell-old-time' 'haskell-parsec')
+depends=('ghc' 'haskell-mtl' 'haskell-parsec')
options=('strip')
-source=(http://hackage.haskell.org/packages/archive/hsemail/1.6/hsemail-1.6.tar.gz)
-install=haskell-hsemail.install
+source=(http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+install=${pkgname}.install
md5sums=('fa56a870e06435ccea8da0ecebdbf689')
build() {
- cd ${srcdir}/hsemail-1.6
- runhaskell Setup configure --prefix=/usr --docdir=/usr/share/doc/${pkgname} || return 1
- runhaskell Setup build || return 1
- runhaskell Setup haddock || return 1
- runhaskell Setup register --gen-script || return 1
- runhaskell Setup unregister --gen-script || return 1
- 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/hsemail
- runhaskell Setup copy --destdir=${pkgdir} || return 1
- install -D -m644 LICENSE ${pkgdir}/usr/share/licenses/$pkgname/LICENSE || return 1
+ cd ${srcdir}/${_hkgname}-${pkgver}
+ runhaskell Setup configure --prefix=/usr --docdir=/usr/share/doc/${pkgname} -O --enable-split-objs
+ runhaskell Setup build
+ runhaskell Setup haddock
+ runhaskell Setup register --gen-script
+ runhaskell Setup unregister --gen-script
+ sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+package() {
+ cd ${srcdir}/${_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
}
View
3  haskell-hsemail/haskell-hsemail.install
@@ -16,6 +16,3 @@ pre_remove() {
post_remove() {
(cd /usr/share/doc/ghc/html/libraries; ./gen_contents_index)
}
-op=$1
-shift
-$op $*
View
47 haskell-hsyslog/PKGBUILD
@@ -1,35 +1,34 @@
-# Contributor: Arch Haskell Team <arch-haskell@haskell.org>
-# Package generated by cabal2arch 0.7.3
-# Note: we list all package dependencies.
-# Your package tool should understand 'provides' syntax
-#
-# Keep up to date on http://archhaskell.wordpress.com/
-#
+# Maintainer: Arch Haskell Team <arch-haskell@haskell.org>
+_hkgname=hsyslog
pkgname=haskell-hsyslog
-pkgrel=1
pkgver=1.4
+pkgrel=1
pkgdesc="FFI interface to syslog(3) from POSIX.1-2001."
-url="http://hackage.haskell.org/package/hsyslog"
+url="http://hackage.haskell.org/package/${_hkgname}"
license=('custom:BSD3')
arch=('i686' 'x86_64')
makedepends=()
-depends=('ghc' 'haskell-cabal')
+depends=('ghc')
options=('strip')
-source=(http://hackage.haskell.org/packages/archive/hsyslog/1.4/hsyslog-1.4.tar.gz)
-install=haskell-hsyslog.install
+source=(http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+install=${pkgname}.install
md5sums=('2a8bd79ba3a374c15151b7b03a9c65ce')
build() {
- cd ${srcdir}/hsyslog-1.4
- runhaskell Setup configure --prefix=/usr --docdir=/usr/share/doc/${pkgname} || return 1
- runhaskell Setup build || return 1
- runhaskell Setup haddock || return 1
- runhaskell Setup register --gen-script || return 1
- runhaskell Setup unregister --gen-script || return 1
- 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/hsyslog
- runhaskell Setup copy --destdir=${pkgdir} || return 1
- install -D -m644 LICENSE ${pkgdir}/usr/share/licenses/$pkgname/LICENSE || return 1
+ cd ${srcdir}/${_hkgname}-${pkgver}
+ runhaskell Setup configure --prefix=/usr --docdir=/usr/share/doc/${pkgname} -O --enable-split-objs
+ runhaskell Setup build
+ runhaskell Setup haddock
+ runhaskell Setup register --gen-script
+ runhaskell Setup unregister --gen-script
+ sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+package() {
+ cd ${srcdir}/${_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
}
View
3  haskell-hsyslog/haskell-hsyslog.install
@@ -16,6 +16,3 @@ pre_remove() {
post_remove() {
(cd /usr/share/doc/ghc/html/libraries; ./gen_contents_index)
}
-op=$1
-shift
-$op $*
View
47 haskell-mtlparse/PKGBUILD
@@ -1,31 +1,32 @@
-# Contributor: Arch Haskell Team <arch-haskell@haskell.org>
-# Package generated by cabal2arch 0.7
-# Note: we list all package dependencies.
-# Your package tool should understand 'provides' syntax
-#
+# Maintainer: Arch Haskell Team <arch-haskell@haskell.org>
+_hkgname=mtlparse
pkgname=haskell-mtlparse
+pkgver=0.1.1
pkgrel=1
-pkgver=0.0.1
-pkgdesc="parse library use mtl package"
-url="http://hackage.haskell.org/package/mtlparse"
+pkgdesc="parse library using mtl package"
+url="http://hackage.haskell.org/package/${_hkgname}"
license=('LGPL')
arch=('i686' 'x86_64')
makedepends=()
-depends=('ghc' 'haskell-cabal' 'haskell-mtl')
+depends=('ghc' 'haskell-mtl')
options=('strip')
-source=(http://hackage.haskell.org/packages/archive/mtlparse/0.0.1/mtlparse-0.0.1.tar.gz)
-install=haskell-mtlparse.install
-md5sums=('a6c72e0e0f7a2aa1f927ab553c4464f3')
+source=(http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+install=${pkgname}.install
+md5sums=('f70a187b397aed658321029cffa3513c')
build() {
- cd ${srcdir}/mtlparse-0.0.1
- runhaskell Setup configure --prefix=/usr --docdir=/usr/share/doc/${pkgname} || return 1
- runhaskell Setup build || return 1
- runhaskell Setup haddock || return 1
- runhaskell Setup register --gen-script || return 1
- runhaskell Setup unregister --gen-script || return 1
- 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/mtlparse
- runhaskell Setup copy --destdir=${pkgdir} || return 1
+ cd ${srcdir}/${_hkgname}-${pkgver}
+ runhaskell Setup configure --prefix=/usr --docdir=/usr/share/doc/${pkgname} -O --enable-split-objs
+ runhaskell Setup build
+ runhaskell Setup haddock
+ runhaskell Setup register --gen-script
+ runhaskell Setup unregister --gen-script
+ sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+package() {
+ cd ${srcdir}/${_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}
}
View
3  haskell-mtlparse/haskell-mtlparse.install
@@ -16,6 +16,3 @@ pre_remove() {
post_remove() {
(cd /usr/share/doc/ghc/html/libraries; ./gen_contents_index)
}
-op=$1
-shift
-$op $*
View
45 haskell-non-negative/PKGBUILD
@@ -1,33 +1,32 @@
-# Contributor: Arch Haskell Team <arch-haskell@haskell.org>
-# Package generated by cabal2arch 0.7.3
-# Note: we list all package dependencies.
-# Your package tool should understand 'provides' syntax
-#
-# Keep up to date on http://archhaskell.wordpress.com/
-#
+# Maintainer: Arch Haskell Team <arch-haskell@haskell.org>
+_hkgname=non-negative
pkgname=haskell-non-negative
-pkgrel=1
pkgver=0.1
+pkgrel=1
pkgdesc="Non-negative numbers"
-url="http://hackage.haskell.org/package/non-negative"
+url="http://hackage.haskell.org/package/${_hkgname}"
license=('GPL')
arch=('i686' 'x86_64')
makedepends=()
-depends=('ghc' 'haskell-cabal' 'haskell-quickcheck' 'haskell-utility-ht')
+depends=('ghc' 'haskell-quickcheck<3' 'haskell-utility-ht<0.1')
options=('strip')
-source=(http://hackage.haskell.org/packages/archive/non-negative/0.1/non-negative-0.1.tar.gz)
-install=haskell-non-negative.install
+source=(http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+install=${pkgname}.install
md5sums=('9afc0b00487d436a23b377a5f0571851')
build() {
- cd ${srcdir}/non-negative-0.1
- runhaskell Setup configure --prefix=/usr --docdir=/usr/share/doc/${pkgname} || return 1
- runhaskell Setup build || return 1
- runhaskell Setup haddock || return 1
- runhaskell Setup register --gen-script || return 1
- runhaskell Setup unregister --gen-script || return 1
- 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/non-negative
- runhaskell Setup copy --destdir=${pkgdir} || return 1
+ cd ${srcdir}/${_hkgname}-${pkgver}
+ runhaskell Setup configure --prefix=/usr --docdir=/usr/share/doc/${pkgname} -O --enable-split-objs
+ runhaskell Setup build
+ runhaskell Setup haddock
+ runhaskell Setup register --gen-script
+ runhaskell Setup unregister --gen-script
+ sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+package() {
+ cd ${srcdir}/${_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}
}
View
3  haskell-non-negative/haskell-non-negative.install
@@ -16,6 +16,3 @@ pre_remove() {
post_remove() {
(cd /usr/share/doc/ghc/html/libraries; ./gen_contents_index)
}
-op=$1
-shift
-$op $*
View
45 haskell-numeric-prelude/PKGBUILD
@@ -1,33 +1,32 @@
-# Contributor: Arch Haskell Team <arch-haskell@haskell.org>
-# Package generated by cabal2arch 0.7.3
-# Note: we list all package dependencies.
-# Your package tool should understand 'provides' syntax
-#
-# Keep up to date on http://archhaskell.wordpress.com/
-#
+# Maintainer: Arch Haskell Team <arch-haskell@haskell.org>
+_hkgname=numeric-prelude
pkgname=haskell-numeric-prelude
-pkgrel=1
pkgver=0.2
+pkgrel=1
pkgdesc="An experimental alternative hierarchy of numeric type classes"
-url="http://hackage.haskell.org/package/numeric-prelude"
+url="http://hackage.haskell.org/package/${_hkgname}"
license=('GPL')
arch=('i686' 'x86_64')
makedepends=()
-depends=('ghc' 'haskell-cabal' 'haskell-quickcheck' 'haskell-array' 'haskell-containers' 'haskell-non-negative' 'haskell-parsec' 'haskell-random' 'haskell-storable-record' 'haskell-utility-ht')
+depends=('ghc' 'haskell-quickcheck<3' 'haskell-non-negative<0.2' 'haskell-parsec<4' 'haskell-storable-record<0.1' 'haskell-utility-ht<0.1')
options=('strip')
-source=(http://hackage.haskell.org/packages/archive/numeric-prelude/0.2/numeric-prelude-0.2.tar.gz)
-install=haskell-numeric-prelude.install
+source=(http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+install=${pkgname}.install
md5sums=('9fe1d9b9e1646831ee4df4d1fee4cdbc')
build() {
- cd ${srcdir}/numeric-prelude-0.2
- runhaskell Setup configure --prefix=/usr --docdir=/usr/share/doc/${pkgname} || return 1
- runhaskell Setup build || return 1
- runhaskell Setup haddock || return 1
- runhaskell Setup register --gen-script || return 1
- runhaskell Setup unregister --gen-script || return 1
- 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/numeric-prelude
- runhaskell Setup copy --destdir=${pkgdir} || return 1
+ cd ${srcdir}/${_hkgname}-${pkgver}
+ runhaskell Setup configure --prefix=/usr --docdir=/usr/share/doc/${pkgname} -O --enable-split-objs
+ runhaskell Setup build
+ runhaskell Setup haddock
+ runhaskell Setup register --gen-script
+ runhaskell Setup unregister --gen-script
+ sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+package() {
+ cd ${srcdir}/${_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}
}
View
3  haskell-numeric-prelude/haskell-numeric-prelude.install
@@ -16,6 +16,3 @@ pre_remove() {
post_remove() {
(cd /usr/share/doc/ghc/html/libraries; ./gen_contents_index)
}
-op=$1
-shift
-$op $*
View
45 haskell-pandoc/PKGBUILD
@@ -1,33 +1,32 @@
-# Contributor: Arch Haskell Team <arch-haskell@haskell.org>
-# Package generated by cabal2arch 0.7.3
-# Note: we list all package dependencies.
-# Your package tool should understand 'provides' syntax
-#
-# Keep up to date on http://archhaskell.wordpress.com/
-#
+# Maintainer: Arch Haskell Team <arch-haskell@haskell.org>
+_hkgname=pandoc
pkgname=haskell-pandoc
-pkgrel=1
pkgver=1.6
+pkgrel=2
pkgdesc="Conversion between markup formats"
-url="http://hackage.haskell.org/package/pandoc"
+url="http://hackage.haskell.org/package/${_hkgname}"
license=('GPL')
arch=('i686' 'x86_64')
makedepends=()
-depends=('ghc' 'haskell-cabal' 'haskell-http>=4000.0.5' 'haskell-bytestring>=0.9' 'haskell-containers>=0.1' 'haskell-directory>=1' 'haskell-extensible-exceptions' 'haskell-filepath>=1.1' 'haskell-mtl>=1.1' 'haskell-network>=2' 'haskell-old-time>=1' 'haskell-parsec>=2.1' 'haskell-pretty>=1' 'haskell-process>=1' 'haskell-random' 'haskell-syb' 'haskell-texmath>=0.3' 'haskell-utf8-string>=0.3' 'haskell-xhtml>=3000.0' 'haskell-xml' 'haskell-zip-archive>=0.1.1.4')
+depends=('ghc' 'haskell-http>=4000.0.5' 'haskell-mtl>=1.1' 'haskell-network>=2' 'haskell-parsec>=2.1' 'haskell-texmath>=0.3' 'haskell-utf8-string>=0.3' 'haskell-xhtml>=3000.0' 'haskell-xml<1.4' 'haskell-zip-archive>=0.1.1.4')
options=('strip')
-source=(http://hackage.haskell.org/packages/archive/pandoc/1.6/pandoc-1.6.tar.gz)
-install=haskell-pandoc.install
+source=(http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+install=${pkgname}.install
md5sums=('c24014cd65471a056938cf0f08e1dfd4')
build() {
- cd ${srcdir}/pandoc-1.6
- runhaskell Setup configure --prefix=/usr --docdir=/usr/share/doc/${pkgname} || return 1
- runhaskell Setup build || return 1
- runhaskell Setup haddock || return 1
- runhaskell Setup register --gen-script || return 1
- runhaskell Setup unregister --gen-script || return 1
- 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/pandoc
- runhaskell Setup copy --destdir=${pkgdir} || return 1
+ cd ${srcdir}/${_hkgname}-${pkgver}
+ runhaskell Setup configure --prefix=/usr --docdir=/usr/share/doc/${pkgname} -O --enable-split-objs
+ runhaskell Setup build
+ runhaskell Setup haddock
+ runhaskell Setup register --gen-script
+ runhaskell Setup unregister --gen-script
+ sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+package() {
+ cd ${srcdir}/${_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}
}
View
3  haskell-pandoc/haskell-pandoc.install
@@ -16,6 +16,3 @@ pre_remove() {
post_remove() {
(cd /usr/share/doc/ghc/html/libraries; ./gen_contents_index)
}
-op=$1
-shift
-$op $*
View
43 haskell-polyparse/PKGBUILD
@@ -1,31 +1,32 @@
-# Contributor: Arch Haskell Team <arch-haskell@haskell.org>
-# Package generated by cabal2arch 0.7
-# Note: we list all package dependencies.
-# Your package tool should understand 'provides' syntax
-#
+# Maintainer: Arch Haskell Team <arch-haskell@haskell.org>
+_hkgname=polyparse
pkgname=haskell-polyparse
-pkgrel=1
pkgver=1.4
+pkgrel=1
pkgdesc="A variety of alternative parser combinator libraries."
-url="http://hackage.haskell.org/package/polyparse"
+url="http://hackage.haskell.org/package/${_hkgname}"
license=('LGPL')
arch=('i686' 'x86_64')
makedepends=()
-depends=('ghc' 'haskell-cabal' 'haskell-bytestring' 'haskell-haskell98')
+depends=('ghc')
options=('strip')
-source=(http://hackage.haskell.org/packages/archive/polyparse/1.4/polyparse-1.4.tar.gz)
-install=haskell-polyparse.install
+source=(http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+install=${pkgname}.install
md5sums=('1783867124b49eefdbdc9ac39caf3174')
build() {
- cd ${srcdir}/polyparse-1.4
- runhaskell Setup configure --prefix=/usr --docdir=/usr/share/doc/${pkgname} || return 1
- runhaskell Setup build || return 1
- runhaskell Setup haddock || return 1
- runhaskell Setup register --gen-script || return 1
- runhaskell Setup unregister --gen-script || return 1
- 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/polyparse
- runhaskell Setup copy --destdir=${pkgdir} || return 1
+ cd ${srcdir}/${_hkgname}-${pkgver}
+ runhaskell Setup configure --prefix=/usr --docdir=/usr/share/doc/${pkgname} -O --enable-split-objs
+ runhaskell Setup build
+ runhaskell Setup haddock
+ runhaskell Setup register --gen-script
+ runhaskell Setup unregister --gen-script
+ sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+package() {
+ cd ${srcdir}/${_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}
}
View
3  haskell-polyparse/haskell-polyparse.install
@@ -16,6 +16,3 @@ pre_remove() {
post_remove() {
(cd /usr/share/doc/ghc/html/libraries; ./gen_contents_index)
}
-op=$1
-shift
-$op $*
View
47 haskell-regexpr/PKGBUILD
@@ -1,31 +1,32 @@
-# Contributor: Arch Haskell Team <arch-haskell@haskell.org>
-# Package generated by cabal2arch 0.7
-# Note: we list all package dependencies.
-# Your package tool should understand 'provides' syntax
-#
+# Maintainer: Arch Haskell Team <arch-haskell@haskell.org>
+_hkgname=regexpr
pkgname=haskell-regexpr
-pkgrel=1
-pkgver=0.5.1
+pkgver=0.5.3
+pkgrel=2
pkgdesc="regular expression like Perl/Ruby in Haskell"
-url="http://hackage.haskell.org/package/regexpr"
+url="http://hackage.haskell.org/package/${_hkgname}"
license=('LGPL')
arch=('i686' 'x86_64')
makedepends=()
-depends=('ghc' 'haskell-cabal' 'haskell-hunit' 'haskell-mtl' 'haskell-mtlparse>=0.0.1')
+depends=('ghc' 'haskell-hunit' 'haskell-mtl' 'haskell-mtlparse>=0.1.0')
options=('strip')
-source=(http://hackage.haskell.org/packages/archive/regexpr/0.5.1/regexpr-0.5.1.tar.gz)
-install=haskell-regexpr.install
-md5sums=('c1c998331546c2248450b183a72fe3a6')
+source=(http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+install=${pkgname}.install
+md5sums=('481f5354628cacea8958d457ea6b12b8')
build() {
- cd ${srcdir}/regexpr-0.5.1
- runhaskell Setup configure --prefix=/usr --docdir=/usr/share/doc/${pkgname} || return 1
- runhaskell Setup build || return 1
- runhaskell Setup haddock || return 1
- runhaskell Setup register --gen-script || return 1
- runhaskell Setup unregister --gen-script || return 1
- 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/regexpr
- runhaskell Setup copy --destdir=${pkgdir} || return 1
+ cd ${srcdir}/${_hkgname}-${pkgver}
+ runhaskell Setup configure --prefix=/usr --docdir=/usr/share/doc/${pkgname} -O --enable-split-objs
+ runhaskell Setup build
+ runhaskell Setup haddock
+ runhaskell Setup register --gen-script
+ runhaskell Setup unregister --gen-script
+ sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+package() {
+ cd ${srcdir}/${_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}
}
View
3  haskell-regexpr/haskell-regexpr.install
@@ -16,6 +16,3 @@ pre_remove() {
post_remove() {
(cd /usr/share/doc/ghc/html/libraries; ./gen_contents_index)
}
-op=$1
-shift
-$op $*
View
45 haskell-safe/PKGBUILD
@@ -1,33 +1,34 @@
-# Contributor: Arch Haskell Team <arch-haskell@haskell.org>
-# Package generated by cabal2arch 0.7
-# Note: we list all package dependencies.
-# Your package tool should understand 'provides' syntax
-#
+# Maintainer: Arch Haskell Team <arch-haskell@haskell.org>
+_hkgname=safe
pkgname=haskell-safe
-pkgrel=1
pkgver=0.2
+pkgrel=1
pkgdesc="Library for safe (pattern match free) functions"
-url="http://hackage.haskell.org/package/safe"
+url="http://hackage.haskell.org/package/${_hkgname}"
license=('custom:BSD3')
arch=('i686' 'x86_64')
makedepends=()
-depends=('ghc' 'haskell-cabal')
+depends=('ghc')
options=('strip')
-source=(http://hackage.haskell.org/packages/archive/safe/0.2/safe-0.2.tar.gz)
-install=haskell-safe.install
+source=(http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+install=${pkgname}.install
md5sums=('e5331578ea7e0b68ed1ea4df923a23ca')
build() {
- cd ${srcdir}/safe-0.2
- runhaskell Setup configure --prefix=/usr --docdir=/usr/share/doc/${pkgname} || return 1
- runhaskell Setup build || return 1
- runhaskell Setup haddock || return 1
- runhaskell Setup register --gen-script || return 1
- runhaskell Setup unregister --gen-script || return 1
- 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/safe
- runhaskell Setup copy --destdir=${pkgdir} || return 1
- install -D -m644 LICENSE ${pkgdir}/usr/share/licenses/$pkgname/LICENSE || return 1
+ cd ${srcdir}/${_hkgname}-${pkgver}
+ runhaskell Setup configure --prefix=/usr --docdir=/usr/share/doc/${pkgname} -O --enable-split-objs
+ runhaskell Setup build
+ runhaskell Setup haddock
+ runhaskell Setup register --gen-script
+ runhaskell Setup unregister --gen-script
+ sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+package() {
+ cd ${srcdir}/${_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
}
View
3  haskell-safe/haskell-safe.install
@@ -16,6 +16,3 @@ pre_remove() {
post_remove() {
(cd /usr/share/doc/ghc/html/libraries; ./gen_contents_index)
}
-op=$1
-shift
-$op $*
View
47 haskell-split/PKGBUILD
@@ -1,35 +1,34 @@
-# Contributor: Arch Haskell Team <arch-haskell@haskell.org>
-# Package generated by cabal2arch 0.7.3
-# Note: we list all package dependencies.
-# Your package tool should understand 'provides' syntax
-#
-# Keep up to date on http://archhaskell.wordpress.com/
-#
+# Maintainer: Arch Haskell Team <arch-haskell@haskell.org>
+_hkgname=split
pkgname=haskell-split
-pkgrel=1
pkgver=0.1.2.1
+pkgrel=1
pkgdesc="Combinator library for splitting lists."
-url="http://hackage.haskell.org/package/split"
+url="http://hackage.haskell.org/package/${_hkgname}"
license=('custom:BSD3')
arch=('i686' 'x86_64')
makedepends=()
-depends=('ghc' 'haskell-cabal')
+depends=('ghc')
options=('strip')
-source=(http://hackage.haskell.org/packages/archive/split/0.1.2.1/split-0.1.2.1.tar.gz)
-install=haskell-split.install
+source=(http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+install=${pkgname}.install
md5sums=('5cc3536a5e24d4fc19978e869b78c195')
build() {
- cd ${srcdir}/split-0.1.2.1
- runhaskell Setup configure --prefix=/usr --docdir=/usr/share/doc/${pkgname} || return 1
- runhaskell Setup build || return 1
- runhaskell Setup haddock || return 1
- runhaskell Setup register --gen-script || return 1
- runhaskell Setup unregister --gen-script || return 1
- 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/split
- runhaskell Setup copy --destdir=${pkgdir} || return 1
- install -D -m644 LICENSE ${pkgdir}/usr/share/licenses/$pkgname/LICENSE || return 1
+ cd ${srcdir}/${_hkgname}-${pkgver}
+ runhaskell Setup configure --prefix=/usr --docdir=/usr/share/doc/${pkgname} -O --enable-split-objs
+ runhaskell Setup build
+ runhaskell Setup haddock
+ runhaskell Setup register --gen-script
+ runhaskell Setup unregister --gen-script
+ sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+package() {
+ cd ${srcdir}/${_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
}
View
3  haskell-split/haskell-split.install
@@ -16,6 +16,3 @@ pre_remove() {
post_remove() {
(cd /usr/share/doc/ghc/html/libraries; ./gen_contents_index)
}
-op=$1
-shift
-$op $*
View
47 haskell-storable-record/PKGBUILD
@@ -1,35 +1,34 @@
-# Contributor: Arch Haskell Team <arch-haskell@haskell.org>
-# Package generated by cabal2arch 0.7.3
-# Note: we list all package dependencies.
-# Your package tool should understand 'provides' syntax
-#
-# Keep up to date on http://archhaskell.wordpress.com/
-#
+# Maintainer: Arch Haskell Team <arch-haskell@haskell.org>
+_hkgname=storable-record
pkgname=haskell-storable-record
-pkgrel=1
pkgver=0.0.2.3
+pkgrel=1
pkgdesc="Elegant definition of Storable instances for records"
-url="http://hackage.haskell.org/package/storable-record"
+url="http://hackage.haskell.org/package/${_hkgname}"
license=('custom:BSD3')
arch=('i686' 'x86_64')
makedepends=()
-depends=('ghc' 'haskell-cabal' 'haskell-transformers' 'haskell-utility-ht')
+depends=('ghc' 'haskell-transformers<0.3' 'haskell-utility-ht<0.1')
options=('strip')
-source=(http://hackage.haskell.org/packages/archive/storable-record/0.0.2.3/storable-record-0.0.2.3.tar.gz)
-install=haskell-storable-record.install
+source=(http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+install=${pkgname}.install
md5sums=('377b96303cb5777dfea71b541ec1a561')
build() {
- cd ${srcdir}/storable-record-0.0.2.3
- runhaskell Setup configure --prefix=/usr --docdir=/usr/share/doc/${pkgname} || return 1
- runhaskell Setup build || return 1
- runhaskell Setup haddock || return 1
- runhaskell Setup register --gen-script || return 1
- runhaskell Setup unregister --gen-script || return 1
- 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/storable-record
- runhaskell Setup copy --destdir=${pkgdir} || return 1
- install -D -m644 LICENSE ${pkgdir}/usr/share/licenses/$pkgname/LICENSE || return 1
+ cd ${srcdir}/${_hkgname}-${pkgver}
+ runhaskell Setup configure --prefix=/usr --docdir=/usr/share/doc/${pkgname} -O --enable-split-objs
+ runhaskell Setup build
+ runhaskell Setup haddock
+ runhaskell Setup register --gen-script
+ runhaskell Setup unregister --gen-script
+ sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+package() {
+ cd ${srcdir}/${_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
}
View
3  haskell-storable-record/haskell-storable-record.install
@@ -16,6 +16,3 @@ pre_remove() {
post_remove() {
(cd /usr/share/doc/ghc/html/libraries; ./gen_contents_index)
}
-op=$1
-shift
-$op $*
View
47 haskell-streamproc/PKGBUILD
@@ -1,35 +1,34 @@
-# Contributor: Arch Haskell Team <arch-haskell@haskell.org>
-# Package generated by cabal2arch 0.7.1
-# Note: we list all package dependencies.
-# Your package tool should understand 'provides' syntax
-#
-# Keep up to date on http://archhaskell.wordpress.com/
-#
+# Maintainer: Arch Haskell Team <arch-haskell@haskell.org>
+_hkgname=streamproc
pkgname=haskell-streamproc
-pkgrel=1
pkgver=1.3
+pkgrel=1
pkgdesc="Stream Processer Arrow"
-url="http://hackage.haskell.org/package/streamproc"
+url="http://hackage.haskell.org/package/${_hkgname}"
license=('custom:BSD3')
arch=('i686' 'x86_64')
makedepends=()
-depends=('ghc' 'haskell-cabal')
+depends=('ghc')
options=('strip')
-source=(http://hackage.haskell.org/packages/archive/streamproc/1.3/streamproc-1.3.tar.gz)
-install=haskell-streamproc.install
+source=(http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+install=${pkgname}.install
md5sums=('16339dfe976798b82a996e44fb377bf3')
build() {
- cd ${srcdir}/streamproc-1.3
- runhaskell Setup configure --prefix=/usr --docdir=/usr/share/doc/${pkgname} || return 1
- runhaskell Setup build || return 1
- runhaskell Setup haddock || return 1
- runhaskell Setup register --gen-script || return 1
- runhaskell Setup unregister --gen-script || return 1
- 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/streamproc
- runhaskell Setup copy --destdir=${pkgdir} || return 1
- install -D -m644 LICENSE ${pkgdir}/usr/share/licenses/$pkgname/LICENSE || return 1
+ cd ${srcdir}/${_hkgname}-${pkgver}
+ runhaskell Setup configure --prefix=/usr --docdir=/usr/share/doc/${pkgname} -O --enable-split-objs
+ runhaskell Setup build
+ runhaskell Setup haddock
+ runhaskell Setup register --gen-script
+ runhaskell Setup unregister --gen-script
+ sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+package() {
+ cd ${srcdir}/${_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
}
View
3  haskell-streamproc/haskell-streamproc.install
@@ -16,6 +16,3 @@ pre_remove() {
post_remove() {
(cd /usr/share/doc/ghc/html/libraries; ./gen_contents_index)
}
-op=$1
-shift
-$op $*
View
45 haskell-tar/PKGBUILD
@@ -1,33 +1,34 @@
-# Contributor: Arch Haskell Team <arch-haskell@haskell.org>
-# Package generated by cabal2arch 0.7
-# Note: we list all package dependencies.
-# Your package tool should understand 'provides' syntax
-#
+# Maintainer: Arch Haskell Team <arch-haskell@haskell.org>
+_hkgname=tar
pkgname=haskell-tar
-pkgrel=2
pkgver=0.3.1.0
+pkgrel=1
pkgdesc="Reading, writing and manipulating \".tar\" archive files."
-url="http://hackage.haskell.org/package/tar"
+url="http://hackage.haskell.org/package/${_hkgname}"
license=('custom:BSD3')
arch=('i686' 'x86_64')
makedepends=()
-depends=('ghc' 'haskell-cabal' 'haskell-bytestring' 'haskell-directory' 'haskell-filepath' 'haskell-old-time')
+depends=('ghc')
options=('strip')
-source=(http://hackage.haskell.org/packages/archive/tar/0.3.1.0/tar-0.3.1.0.tar.gz)
-install=haskell-tar.install
+source=(http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+install=${pkgname}.install
md5sums=('10b54856495f9ef0a42aa270085c7d5e')
build() {
- cd ${srcdir}/tar-0.3.1.0
- runhaskell Setup configure --prefix=/usr --docdir=/usr/share/doc/${pkgname} || return 1
- runhaskell Setup build || return 1
- runhaskell Setup haddock || return 1
- runhaskell Setup register --gen-script || return 1
- runhaskell Setup unregister --gen-script || return 1
- 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/tar
- runhaskell Setup copy --destdir=${pkgdir} || return 1
- install -D -m644 LICENSE ${pkgdir}/usr/share/licenses/$pkgname/LICENSE || return 1
+ cd ${srcdir}/${_hkgname}-${pkgver}
+ runhaskell Setup configure --prefix=/usr --docdir=/usr/share/doc/${pkgname} -O --enable-split-objs
+ runhaskell Setup build
+ runhaskell Setup haddock
+ runhaskell Setup register --gen-script
+ runhaskell Setup unregister --gen-script
+ sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+package() {
+ cd ${srcdir}/${_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
}
View
3  haskell-tar/haskell-tar.install
@@ -16,6 +16,3 @@ pre_remove() {
post_remove() {
(cd /usr/share/doc/ghc/html/libraries; ./gen_contents_index)
}
-op=$1
-shift
-$op $*
View
47 haskell-texmath/PKGBUILD
@@ -1,33 +1,32 @@
-# Contributor: Arch Haskell Team <arch-haskell@haskell.org>
-# Package generated by cabal2arch 0.7.3
-# Note: we list all package dependencies.
-# Your package tool should understand 'provides' syntax
-#
-# Keep up to date on http://archhaskell.wordpress.com/
-#
+# Maintainer: Arch Haskell Team <arch-haskell@haskell.org>
+_hkgname=texmath
pkgname=haskell-texmath
+pkgver=0.4
pkgrel=1
-pkgver=0.3.0.2
pkgdesc="Conversion of LaTeX math formulas to MathML."
-url="http://hackage.haskell.org/package/texmath"
+url="http://hackage.haskell.org/package/${_hkgname}"
license=('GPL')
arch=('i686' 'x86_64')
makedepends=()
-depends=('ghc' 'haskell-cabal' 'haskell-containers' 'haskell-parsec>=2' 'haskell-syb' 'haskell-xml')
+depends=('ghc' 'haskell-parsec>=2' 'haskell-xml')
options=('strip')
-source=(http://hackage.haskell.org/packages/archive/texmath/0.3.0.2/texmath-0.3.0.2.tar.gz)
-install=haskell-texmath.install
-md5sums=('7748c1628eadf8ba3a26e0782df3dcfc')
+source=(http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+install=${pkgname}.install
+md5sums=('df56a9500db917b7e0648f24202e6493')
build() {
- cd ${srcdir}/texmath-0.3.0.2
- runhaskell Setup configure --prefix=/usr --docdir=/usr/share/doc/${pkgname} || return 1
- runhaskell Setup build || return 1
- runhaskell Setup haddock || return 1
- runhaskell Setup register --gen-script || return 1
- runhaskell Setup unregister --gen-script || return 1
- 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/texmath
- runhaskell Setup copy --destdir=${pkgdir} || return 1
+ cd ${srcdir}/${_hkgname}-${pkgver}
+ runhaskell Setup configure --prefix=/usr --docdir=/usr/share/doc/${pkgname} -O --enable-split-objs
+ runhaskell Setup build
+ runhaskell Setup haddock
+ runhaskell Setup register --gen-script
+ runhaskell Setup unregister --gen-script
+ sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+package() {
+ cd ${srcdir}/${_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}
}
View
3  haskell-texmath/haskell-texmath.install
@@ -16,6 +16,3 @@ pre_remove() {
post_remove() {
(cd /usr/share/doc/ghc/html/libraries; ./gen_contents_index)
}
-op=$1
-shift
-$op $*
View
49 haskell-transformers/PKGBUILD
@@ -1,35 +1,34 @@
-# Contributor: Arch Haskell Team <arch-haskell@haskell.org>
-# Package generated by cabal2arch 0.7.1
-# Note: we list all package dependencies.
-# Your package tool should understand 'provides' syntax
-#
-# Keep up to date on http://archhaskell.wordpress.com/
-#
+# Maintainer: Arch Haskell Team <arch-haskell@haskell.org>
+_hkgname=transformers
pkgname=haskell-transformers
+pkgver=0.2.2.0
pkgrel=1
-pkgver=0.2.1.0
pkgdesc="Concrete functor and monad transformers"
-url="http://hackage.haskell.org/package/transformers"
+url="http://hackage.haskell.org/package/${_hkgname}"
license=('custom:BSD3')
arch=('i686' 'x86_64')
makedepends=()
-depends=('ghc' 'haskell-cabal')
+depends=('ghc')
options=('strip')
-source=(http://hackage.haskell.org/packages/archive/transformers/0.2.1.0/transformers-0.2.1.0.tar.gz)
-install=haskell-transformers.install
-md5sums=('d787d0cd73c4d759127c6b39bae4deed')
+source=(http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+install=${pkgname}.install
+md5sums=('3470ac66116900cd1ba84d3744474e49')
build() {
- cd ${srcdir}/transformers-0.2.1.0
- runhaskell Setup configure --prefix=/usr --docdir=/usr/share/doc/${pkgname} || return 1
- runhaskell Setup build || return 1
- runhaskell Setup haddock || return 1
- runhaskell Setup register --gen-script || return 1
- runhaskell Setup unregister --gen-script || return 1
- 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/transformers
- runhaskell Setup copy --destdir=${pkgdir} || return 1
- install -D -m644 LICENSE ${pkgdir}/usr/share/licenses/$pkgname/LICENSE || return 1
+ cd ${srcdir}/${_hkgname}-${pkgver}
+ runhaskell Setup configure --prefix=/usr --docdir=/usr/share/doc/${pkgname} -O --enable-split-objs
+ runhaskell Setup build
+ runhaskell Setup haddock
+ runhaskell Setup register --gen-script
+ runhaskell Setup unregister --gen-script
+ sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+package() {
+ cd ${srcdir}/${_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
}
View
3  haskell-transformers/haskell-transformers.install
@@ -16,6 +16,3 @@ pre_remove() {
post_remove() {
(cd /usr/share/doc/ghc/html/libraries; ./gen_contents_index)
}
-op=$1
-shift
-$op $*
View
47 haskell-utility-ht/PKGBUILD
@@ -1,35 +1,34 @@
-# Contributor: Arch Haskell Team <arch-haskell@haskell.org>
-# Package generated by cabal2arch 0.7.3
-# Note: we list all package dependencies.
-# Your package tool should understand 'provides' syntax
-#
-# Keep up to date on http://archhaskell.wordpress.com/
-#
+# Maintainer: Arch Haskell Team <arch-haskell@haskell.org>
+_hkgname=utility-ht
pkgname=haskell-utility-ht
-pkgrel=1
pkgver=0.0.5.1
+pkgrel=1
pkgdesc="Various small helper functions for Lists, Maybes, Tuples, Functions"
-url="http://hackage.haskell.org/package/utility-ht"
+url="http://hackage.haskell.org/package/${_hkgname}"
license=('custom:BSD3')
arch=('i686' 'x86_64')
makedepends=()
-depends=('ghc' 'haskell-cabal')
+depends=('ghc')
options=('strip')
-source=(http://hackage.haskell.org/packages/archive/utility-ht/0.0.5.1/utility-ht-0.0.5.1.tar.gz)
-install=haskell-utility-ht.install
+source=(http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+install=${pkgname}.install
md5sums=('98dcb042f404378d9071fc6344703386')
build() {
- cd ${srcdir}/utility-ht-0.0.5.1
- runhaskell Setup configure --prefix=/usr --docdir=/usr/share/doc/${pkgname} || return 1
- runhaskell Setup build || return 1
- runhaskell Setup haddock || return 1
- runhaskell Setup register --gen-script || return 1
- runhaskell Setup unregister --gen-script || return 1
- 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/utility-ht
- runhaskell Setup copy --destdir=${pkgdir} || return 1
- install -D -m644 LICENSE ${pkgdir}/usr/share/licenses/$pkgname/LICENSE || return 1
+ cd ${srcdir}/${_hkgname}-${pkgver}
+ runhaskell Setup configure --prefix=/usr --docdir=/usr/share/doc/${pkgname} -O --enable-split-objs
+ runhaskell Setup build
+ runhaskell Setup haddock
+ runhaskell Setup register --gen-script
+ runhaskell Setup unregister --gen-script
+ sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+package() {
+ cd ${srcdir}/${_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
}
View
3  haskell-utility-ht/haskell-utility-ht.install
@@ -16,6 +16,3 @@ pre_remove() {
post_remove() {
(cd /usr/share/doc/ghc/html/libraries; ./gen_contents_index)
}
-op=$1
-shift
-$op $*
View
45 haskell-uulib/PKGBUILD
@@ -1,33 +1,32 @@
-# Contributor: Arch Haskell Team <arch-haskell@haskell.org>
-# Package generated by cabal2arch 0.7.1
-# Note: we list all package dependencies.
-# Your package tool should understand 'provides' syntax
-#
-# Keep up to date on http://archhaskell.wordpress.com/
-#
+# Maintainer: Arch Haskell Team <arch-haskell@haskell.org>
+_hkgname=uulib
pkgname=haskell-uulib
-pkgrel=1
pkgver=0.9.12
+pkgrel=1
pkgdesc="Haskell Utrecht Tools Library"
-url="http://hackage.haskell.org/package/uulib"
+url="http://hackage.haskell.org/package/${_hkgname}"
license=('LGPL')
arch=('i686' 'x86_64')
makedepends=()
-depends=('ghc' 'haskell-cabal' 'haskell-haskell98')
+depends=('ghc')
options=('strip')
-source=(http://hackage.haskell.org/packages/archive/uulib/0.9.12/uulib-0.9.12.tar.gz)
-install=haskell-uulib.install
+source=(http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+install=${pkgname}.install
md5sums=('47c00bc23351c17b747005c7502074c6')
build() {
- cd ${srcdir}/uulib-0.9.12
- runhaskell Setup configure --prefix=/usr --docdir=/usr/share/doc/${pkgname} || return 1
- runhaskell Setup build || return 1
- runhaskell Setup haddock || return 1
- runhaskell Setup register --gen-script || return 1
- runhaskell Setup unregister --gen-script || return 1
- 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/uulib
- runhaskell Setup copy --destdir=${pkgdir} || return 1
+ cd ${srcdir}/${_hkgname}-${pkgver}
+ runhaskell Setup configure --prefix=/usr --docdir=/usr/share/doc/${pkgname} -O --enable-split-objs
+ runhaskell Setup build
+ runhaskell Setup haddock
+ runhaskell Setup register --gen-script
+ runhaskell Setup unregister --gen-script
+ sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+package() {
+ cd ${srcdir}/${_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}
}
View
3  haskell-uulib/haskell-uulib.install
@@ -16,6 +16,3 @@ pre_remove() {
post_remove() {
(cd /usr/share/doc/ghc/html/libraries; ./gen_contents_index)
}
-op=$1
-shift
-$op $*
View
47 haskell-xml/PKGBUILD
@@ -1,35 +1,34 @@
-# Contributor: Arch Haskell Team <arch-haskell@haskell.org>
-# Package generated by cabal2arch 0.7.2
-# Note: we list all package dependencies.
-# Your package tool should understand 'provides' syntax
-#
-# Keep up to date on http://archhaskell.wordpress.com/
-#
+# Maintainer: Arch Haskell Team <arch-haskell@haskell.org>
+_hkgname=xml
pkgname=haskell-xml
-pkgrel=1
pkgver=1.3.7
+pkgrel=1
pkgdesc="A simple XML library."
-url="http://hackage.haskell.org/package/xml"
+url="http://hackage.haskell.org/package/${_hkgname}"
license=('custom:BSD3')
arch=('i686' 'x86_64')
makedepends=()
-depends=('ghc' 'haskell-cabal' 'haskell-bytestring')
+depends=('ghc')
options=('strip')
-source=(http://hackage.haskell.org/packages/archive/xml/1.3.7/xml-1.3.7.tar.gz)
-install=haskell-xml.install
+source=(http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+install=${pkgname}.install
md5sums=('fc2d7e1a321b4393dd444b16ab6ba669')
build() {
- cd ${srcdir}/xml-1.3.7
- runhaskell Setup configure --prefix=/usr --docdir=/usr/share/doc/${pkgname} || return 1
- runhaskell Setup build || return 1
- runhaskell Setup haddock || return 1
- runhaskell Setup register --gen-script || return 1
- runhaskell Setup unregister --gen-script || return 1
- 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/xml
- runhaskell Setup copy --destdir=${pkgdir} || return 1
- install -D -m644 LICENSE ${pkgdir}/usr/share/licenses/$pkgname/LICENSE || return 1
+ cd ${srcdir}/${_hkgname}-${pkgver}
+ runhaskell Setup configure --prefix=/usr --docdir=/usr/share/doc/${pkgname} -O --enable-split-objs
+ runhaskell Setup build
+ runhaskell Setup haddock
+ runhaskell Setup register --gen-script
+ runhaskell Setup unregister --gen-script
+ sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+package() {
+ cd ${srcdir}/${_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
}
View
3  haskell-xml/haskell-xml.install
@@ -16,6 +16,3 @@ pre_remove() {
post_remove() {
(cd /usr/share/doc/ghc/html/libraries; ./gen_contents_index)
}
-op=$1
-shift
-$op $*
View
43 haskell-zip-archive/PKGBUILD
@@ -1,31 +1,32 @@
-# Contributor: Arch Haskell Team <arch-haskell@haskell.org>
-# Package generated by cabal2arch 0.7
-# Note: we list all package dependencies.
-# Your package tool should understand 'provides' syntax
-#
+# Maintainer: Arch Haskell Team <arch-haskell@haskell.org>
+_hkgname=zip-archive
pkgname=haskell-zip-archive
-pkgrel=1
pkgver=0.1.1.6
+pkgrel=1
pkgdesc="Library for creating and modifying zip archives."
-url="http://hackage.haskell.org/package/zip-archive"
+url="http://hackage.haskell.org/package/${_hkgname}"
license=('GPL')
arch=('i686' 'x86_64')
makedepends=()
-depends=('ghc' 'haskell-cabal' 'haskell-array' 'haskell-binary' 'haskell-bytestring>=0.9.0' 'haskell-containers' 'haskell-digest>=0.0.0.1' 'haskell-directory' 'haskell-filepath' 'haskell-mtl' 'haskell-old-time' 'haskell-pretty' 'haskell-unix' 'haskell-utf8-string>=0.3.1' 'haskell-zlib')
+depends=('ghc' 'haskell-binary' 'haskell-digest>=0.0.0.1' 'haskell-mtl' 'haskell-utf8-string>=0.3.1' 'haskell-zlib')
options=('strip')
-source=(http://hackage.haskell.org/packages/archive/zip-archive/0.1.1.6/zip-archive-0.1.1.6.tar.gz)
-install=haskell-zip-archive.install
+source=(http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+install=${pkgname}.install
md5sums=('4806077be79ecb5486306432ee93e38d')
build() {
- cd ${srcdir}/zip-archive-0.1.1.6
- runhaskell Setup configure --prefix=/usr --docdir=/usr/share/doc/${pkgname} || return 1
- runhaskell Setup build || return 1
- runhaskell Setup haddock || return 1
- runhaskell Setup register --gen-script || return 1
- runhaskell Setup unregister --gen-script || return 1
- 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/zip-archive
- runhaskell Setup copy --destdir=${pkgdir} || return 1
+ cd ${srcdir}/${_hkgname}-${pkgver}
+ runhaskell Setup configure --prefix=/usr --docdir=/usr/share/doc/${pkgname} -O --enable-split-objs
+ runhaskell Setup build
+ runhaskell Setup haddock
+ runhaskell Setup register --gen-script
+ runhaskell Setup unregister --gen-script
+ sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+package() {
+ cd ${srcdir}/${_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}
}
View
3  haskell-zip-archive/haskell-zip-archive.install
@@ -16,6 +16,3 @@ pre_remove() {
post_remove() {
(cd /usr/share/doc/ghc/html/libraries; ./gen_contents_index)
}
-op=$1
-shift
-$op $*
View
47 haskell-zlib-bindings/PKGBUILD
@@ -1,35 +1,34 @@
-# Contributor: Arch Haskell Team <arch-haskell@haskell.org>
-# Package generated by cabal2arch 0.7.3
-# Note: we list all package dependencies.
-# Your package tool should understand 'provides' syntax
-#
-# Keep up to date on http://archhaskell.wordpress.com/
-#
+# Maintainer: Arch Haskell Team <arch-haskell@haskell.org>
+_hkgname=zlib-bindings
pkgname=haskell-zlib-bindings
-pkgrel=1
pkgver=0.0.0
+pkgrel=1
pkgdesc="Low-level bindings to the zlib package."
-url="http://hackage.haskell.org/package/zlib-bindings"
+url="http://hackage.haskell.org/package/${_hkgname}"
license=('custom:BSD3')
arch=('i686' 'x86_64')
makedepends=()
-depends=('ghc' 'haskell-cabal' 'haskell-bytestring' 'haskell-zlib')
+depends=('ghc' 'haskell-zlib<0.6')
options=('strip')
-source=(http://hackage.haskell.org/packages/archive/zlib-bindings/0.0.0/zlib-bindings-0.0.0.tar.gz)
-install=haskell-zlib-bindings.install
+source=(http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+install=${pkgname}.install
md5sums=('ced9be9c31f54ad848f58babf1ca2190')
build() {
- cd ${srcdir}/zlib-bindings-0.0.0
- runhaskell Setup configure --prefix=/usr --docdir=/usr/share/doc/${pkgname} || return 1
- runhaskell Setup build || return 1
- runhaskell Setup haddock || return 1
- runhaskell Setup register --gen-script || return 1
- runhaskell Setup unregister --gen-script || return 1
- 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/zlib-bindings
- runhaskell Setup copy --destdir=${pkgdir} || return 1
- install -D -m644 LICENSE ${pkgdir}/usr/share/licenses/$pkgname/LICENSE || return 1
+ cd ${srcdir}/${_hkgname}-${pkgver}
+ runhaskell Setup configure --prefix=/usr --docdir=/usr/share/doc/${pkgname} -O --enable-split-objs
+ runhaskell Setup build
+ runhaskell Setup haddock
+ runhaskell Setup register --gen-script
+ runhaskell Setup unregister --gen-script
+ sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+package() {
+ cd ${srcdir}/${_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
}
View
3  haskell-zlib-bindings/haskell-zlib-bindings.install
@@ -16,6 +16,3 @@ pre_remove() {
post_remove() {
(cd /usr/share/doc/ghc/html/libraries; ./gen_contents_index)
}
-op=$1
-shift
-$op $*
View
28 hasktags/PKGBUILD
@@ -1,25 +1,25 @@
-# Contributor: Arch Haskell Team <arch-haskell@haskell.org>
-# Package generated by cabal2arch 0.7
-# Note: we list all package dependencies.
-# Your package tool should understand 'provides' syntax
-#
+# Maintainer: Arch Haskell Team <arch-haskell@haskell.org>
+_hkgname=hasktags
pkgname=hasktags
-pkgrel=2
pkgver=0.68
+pkgrel=1
pkgdesc="Produces ctags \"tags\" and etags \"TAGS\" files for Haskell programs"
-url="http://hackage.haskell.org/package/hasktags"
+url="http://hackage.haskell.org/package/${_hkgname}"
license=('custom:BSD3')
arch=('i686' 'x86_64')
-makedepends=('ghc' 'haskell-cabal' 'haskell-haskell98')
+makedepends=('ghc')
depends=('gmp')
options=('strip')
-source=(http://hackage.haskell.org/packages/archive/hasktags/0.68/hasktags-0.68.tar.gz)
+source=(http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
md5sums=('97613096ccb8f184443426f5307a50b0')
build() {
- cd ${srcdir}/hasktags-0.68
- runhaskell Setup configure --prefix=/usr --docdir=/usr/share/doc/${pkgname} || return 1
- runhaskell Setup build || return 1
- runhaskell Setup copy --destdir=${pkgdir} || return 1
- install -D -m644 LICENSE ${pkgdir}/usr/share/licenses/$pkgname/LICENSE || return 1
+ cd ${srcdir}/${_hkgname}-${pkgver}
+ runhaskell Setup configure --prefix=/usr --docdir=/usr/share/doc/${pkgname} -O
+ runhaskell Setup build
+}
+package() {
+ cd ${srcdir}/${_hkgname}-${pkgver}
+ runhaskell Setup copy --destdir=${pkgdir}
+ install -D -m644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
rm -f ${pkgdir}/usr/share/doc/${pkgname}/LICENSE
}
View
45 hledger/PKGBUILD
@@ -1,33 +1,32 @@
-# Contributor: Arch Haskell Team <arch-haskell@haskell.org>
-# Package generated by cabal2arch 0.7.3
-# Note: we list all package dependencies.
-# Your package tool should understand 'provides' syntax
-#
-# Keep up to date on http://archhaskell.wordpress.com/
-#
+# Maintainer: Arch Haskell Team <arch-haskell@haskell.org>
+_hkgname=hledger
pkgname=hledger
-pkgrel=1
pkgver=0.12.1
+pkgrel=2
pkgdesc="A command-line (or curses or web-based) double-entry accounting tool."
-url="http://hackage.haskell.org/package/hledger"
+url="http://hackage.haskell.org/package/${_hkgname}"
license=('GPL')
arch=('i686' 'x86_64')
makedepends=()
-depends=('gmp' 'ghc' 'haskell-cabal' 'haskell-hunit' 'haskell-containers' 'haskell-csv' 'haskell-directory' 'haskell-filepath' 'haskell-hledger-lib' 'haskell-mtl' 'haskell-old-locale' 'haskell-old-time' 'haskell-parsec' 'haskell-process' 'haskell-regexpr' 'haskell-safe' 'haskell-split' 'haskell-time' 'haskell-utf8-string')
+depends=('gmp' 'ghc' 'haskell-hunit' 'haskell-csv' 'haskell-hledger-lib<=0.12.1' 'haskell-mtl' 'haskell-parsec' 'haskell-regexpr>=0.5.1' 'haskell-safe>=0.2' 'haskell-split<0.2' 'haskell-utf8-string<0.4')
options=('strip')
-source=(http://hackage.haskell.org/packages/archive/hledger/0.12.1/hledger-0.12.1.tar.gz)
-install=hledger.install
+source=(http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+install=${pkgname}.install
md5sums=('a39eab928361f17343875e96f032c439')
build() {
- cd ${srcdir}/hledger-0.12.1
- runhaskell Setup configure --prefix=/usr --docdir=/usr/share/doc/${pkgname} || return 1
- runhaskell Setup build || return 1
- runhaskell Setup haddock || return 1
- runhaskell Setup register --gen-script || return 1
- runhaskell Setup unregister --gen-script || return 1
- 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/hledger
- runhaskell Setup copy --destdir=${pkgdir} || return 1
+ cd ${srcdir}/${_hkgname}-${pkgver}
+ runhaskell Setup configure --prefix=/usr --docdir=/usr/share/doc/${pkgname} -O --enable-split-objs
+ runhaskell Setup build
+ runhaskell Setup haddock
+ runhaskell Setup register --gen-script
+ runhaskell Setup unregister --gen-script
+ sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+package() {
+ cd ${srcdir}/${_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}
}
View
3  hledger/hledger.install
@@ -16,6 +16,3 @@ pre_remove() {
post_remove() {
(cd /usr/share/doc/ghc/html/libraries; ./gen_contents_index)
}
-op=$1
-shift
-$op $*
Please sign in to comment.
Something went wrong with that request. Please try again.