Commit ac747923 authored by Manuel's avatar Manuel

all haskell packages commit

parent 6b04d6c1
# Maintainer: Adrián Chaves Frenández (Gallaecio) <adriyetichaves@gmail.com>
# Maintainer: UtG <utg[dot]chakra.linux[at]gmail[dot]com>
# Contributors: Adrián Chaves Frenández (Gallaecio) <adriyetichaves@gmail.com>
## NOTE: when you update Haskell packages you'll have to update the entire stack to not break it ##
pkgname=happy
pkgver=1.19.3
pkgrel=1
......
......@@ -2,7 +2,7 @@
When you update Haskell packages you'll have to update the entire stack to not break it.
To help you I wrote a simple guide step-by-step.
To help you I wrote a simple guide.
## NOTE: it's possible that some new haskell-package has been added to our repository, so before you update the entire stack you need to check it and then proceed
......@@ -27,10 +27,13 @@ haskell-utf8-string
haskell-zlib
haskell-tar
> Then update one-by-one the following packages:
> Next update one-by-one the following packages:
haskell-text
haskell-json
haskell-parsec
haskell-network
......@@ -52,7 +55,18 @@ haskell-hashed-storage
haskell-haskeline
> ...lastly you have to update this:
> Then update:
happy
hasktags
> ...lastly you have to update:
haskell-cabal-install
END.
[UtG]
\ No newline at end of file
--- src/happy-1.19.3/Setup.lhs 2014-04-23 09:18:45.632345133 +0000
+++ src/happy-1.19.3/Setup.lhs 2014-04-23 09:18:54.895460614 +0000
@@ -9,7 +9,7 @@
import Distribution.Simple ( defaultMainWithHooks, simpleUserHooks, UserHooks(..) )
import Distribution.Simple.LocalBuildInfo ( LocalBuildInfo(..) )
import Distribution.Simple.Program
-import Distribution.Verbosity ( normal )
+
import System.FilePath ((</>))
import Control.Exception ( try )
......@@ -2,7 +2,7 @@
When you update Haskell packages you'll have to update the entire stack to not break it.
To help you I wrote a simple guide step-by-step.
To help you I wrote a simple guide.
## NOTE: it's possible that some new haskell-package has been added to our repository, so before you update the entire stack you need to check it and then proceed
......@@ -27,10 +27,13 @@ haskell-utf8-string
haskell-zlib
haskell-tar
> Then update one-by-one the following packages:
> Next update one-by-one the following packages:
haskell-text
haskell-json
haskell-parsec
haskell-network
......@@ -52,7 +55,18 @@ haskell-hashed-storage
haskell-haskeline
> ...lastly you have to update this:
> Then update:
happy
hasktags
> ...lastly you have to update:
haskell-cabal-install
END.
[UtG]
\ No newline at end of file
......@@ -2,7 +2,7 @@
When you update Haskell packages you'll have to update the entire stack to not break it.
To help you I wrote a simple guide step-by-step.
To help you I wrote a simple guide.
## NOTE: it's possible that some new haskell-package has been added to our repository, so before you update the entire stack you need to check it and then proceed
......@@ -27,10 +27,13 @@ haskell-utf8-string
haskell-zlib
haskell-tar
> Then update one-by-one the following packages:
> Next update one-by-one the following packages:
haskell-text
haskell-json
haskell-parsec
haskell-network
......@@ -52,7 +55,18 @@ haskell-hashed-storage
haskell-haskeline
> ...lastly you have to update this:
> Then update:
happy
hasktags
> ...lastly you have to update:
haskell-cabal-install
END.
[UtG]
\ No newline at end of file
......@@ -2,7 +2,7 @@
When you update Haskell packages you'll have to update the entire stack to not break it.
To help you I wrote a simple guide step-by-step.
To help you I wrote a simple guide.
## NOTE: it's possible that some new haskell-package has been added to our repository, so before you update the entire stack you need to check it and then proceed
......@@ -27,10 +27,13 @@ haskell-utf8-string
haskell-zlib
haskell-tar
> Then update one-by-one the following packages:
> Next update one-by-one the following packages:
haskell-text
haskell-json
haskell-parsec
haskell-network
......@@ -52,7 +55,18 @@ haskell-hashed-storage
haskell-haskeline
> ...lastly you have to update this:
> Then update:
happy
hasktags
> ...lastly you have to update:
haskell-cabal-install
END.
[UtG]
\ No newline at end of file
# # # helpful information # # #
When you update Haskell packages you'll have to update the entire stack to not break it.
To help you I wrote a simple guide.
## NOTE: it's possible that some new haskell-package has been added to our repository, so before you update the entire stack you need to check it and then proceed
> First you have to update these packaes:
haskell-binary
haskell-bytestring-show
haskell-dataenc
haskell-deepseq
haskell-extensible-exceptions
haskell-html
haskell-mmap
haskell-primitive
haskell-random
haskell-syb
haskell-stm
haskell-terminfo
haskell-transformers
haskell-mtl
haskell-utf8-string
haskell-zlib
haskell-tar
> Next update one-by-one the following packages:
haskell-text
haskell-json
haskell-parsec
haskell-network
haskell-http
haskell-hslogger
haskell-vector
haskell-regex-base
haskell-regex-posix
haskell-regex-compat
haskell-hashed-storage
haskell-haskeline
> Then update:
happy
hasktags
> ...lastly you have to update:
haskell-cabal-install
END.
[UtG]
\ No newline at end of file
......@@ -2,7 +2,7 @@
When you update Haskell packages you'll have to update the entire stack to not break it.
To help you I wrote a simple guide step-by-step.
To help you I wrote a simple guide.
## NOTE: it's possible that some new haskell-package has been added to our repository, so before you update the entire stack you need to check it and then proceed
......@@ -27,10 +27,13 @@ haskell-utf8-string
haskell-zlib
haskell-tar
> Then update one-by-one the following packages:
> Next update one-by-one the following packages:
haskell-text
haskell-json
haskell-parsec
haskell-network
......@@ -52,7 +55,18 @@ haskell-hashed-storage
haskell-haskeline
> ...lastly you have to update this:
> Then update:
happy
hasktags
> ...lastly you have to update:
haskell-cabal-install
END.
[UtG]
\ No newline at end of file
......@@ -2,7 +2,7 @@
When you update Haskell packages you'll have to update the entire stack to not break it.
To help you I wrote a simple guide step-by-step.
To help you I wrote a simple guide.
## NOTE: it's possible that some new haskell-package has been added to our repository, so before you update the entire stack you need to check it and then proceed
......@@ -27,10 +27,13 @@ haskell-utf8-string
haskell-zlib
haskell-tar
> Then update one-by-one the following packages:
> Next update one-by-one the following packages:
haskell-text
haskell-json
haskell-parsec
haskell-network
......@@ -52,7 +55,18 @@ haskell-hashed-storage
haskell-haskeline
> ...lastly you have to update this:
> Then update:
happy
hasktags
> ...lastly you have to update:
haskell-cabal-install
END.
[UtG]
\ No newline at end of file
......@@ -2,7 +2,7 @@
When you update Haskell packages you'll have to update the entire stack to not break it.
To help you I wrote a simple guide step-by-step.
To help you I wrote a simple guide.
## NOTE: it's possible that some new haskell-package has been added to our repository, so before you update the entire stack you need to check it and then proceed
......@@ -27,10 +27,13 @@ haskell-utf8-string
haskell-zlib
haskell-tar
> Then update one-by-one the following packages:
> Next update one-by-one the following packages:
haskell-text
haskell-json
haskell-parsec
haskell-network
......@@ -52,7 +55,18 @@ haskell-hashed-storage
haskell-haskeline
> ...lastly you have to update this:
> Then update:
happy
hasktags
> ...lastly you have to update:
haskell-cabal-install
END.
[UtG]
\ No newline at end of file
......@@ -2,7 +2,7 @@
When you update Haskell packages you'll have to update the entire stack to not break it.
To help you I wrote a simple guide step-by-step.
To help you I wrote a simple guide.
## NOTE: it's possible that some new haskell-package has been added to our repository, so before you update the entire stack you need to check it and then proceed
......@@ -27,10 +27,13 @@ haskell-utf8-string
haskell-zlib
haskell-tar
> Then update one-by-one the following packages:
> Next update one-by-one the following packages:
haskell-text
haskell-json
haskell-parsec
haskell-network
......@@ -52,7 +55,18 @@ haskell-hashed-storage
haskell-haskeline
> ...lastly you have to update this:
> Then update:
happy
hasktags
> ...lastly you have to update:
haskell-cabal-install
END.
[UtG]
\ No newline at end of file
......@@ -2,7 +2,7 @@
When you update Haskell packages you'll have to update the entire stack to not break it.
To help you I wrote a simple guide step-by-step.
To help you I wrote a simple guide.
## NOTE: it's possible that some new haskell-package has been added to our repository, so before you update the entire stack you need to check it and then proceed
......@@ -27,10 +27,13 @@ haskell-utf8-string
haskell-zlib
haskell-tar
> Then update one-by-one the following packages:
> Next update one-by-one the following packages:
haskell-text
haskell-json
haskell-parsec
haskell-network
......@@ -52,7 +55,18 @@ haskell-hashed-storage
haskell-haskeline
> ...lastly you have to update this:
> Then update:
happy
hasktags
> ...lastly you have to update:
haskell-cabal-install
END.
[UtG]
\ No newline at end of file
......@@ -2,7 +2,7 @@
When you update Haskell packages you'll have to update the entire stack to not break it.
To help you I wrote a simple guide step-by-step.
To help you I wrote a simple guide.
## NOTE: it's possible that some new haskell-package has been added to our repository, so before you update the entire stack you need to check it and then proceed
......@@ -27,10 +27,13 @@ haskell-utf8-string
haskell-zlib
haskell-tar
> Then update one-by-one the following packages:
> Next update one-by-one the following packages:
haskell-text
haskell-json
haskell-parsec
haskell-network
......@@ -52,7 +55,18 @@ haskell-hashed-storage
haskell-haskeline
> ...lastly you have to update this:
> Then update:
happy
hasktags
> ...lastly you have to update:
haskell-cabal-install
END.
[UtG]
\ No newline at end of file
......@@ -2,7 +2,7 @@
When you update Haskell packages you'll have to update the entire stack to not break it.
To help you I wrote a simple guide step-by-step.
To help you I wrote a simple guide.
## NOTE: it's possible that some new haskell-package has been added to our repository, so before you update the entire stack you need to check it and then proceed
......@@ -27,10 +27,13 @@ haskell-utf8-string
haskell-zlib
haskell-tar
> Then update one-by-one the following packages:
> Next update one-by-one the following packages:
haskell-text
haskell-json
haskell-parsec
haskell-network
......@@ -52,7 +55,18 @@ haskell-hashed-storage
haskell-haskeline
> ...lastly you have to update this:
> Then update:
happy
hasktags
> ...lastly you have to update:
haskell-cabal-install
END.
[UtG]
\ No newline at end of file
# Maintainer: UtG <utg[dot]chakra.linux[at]gmail[dot]com>
## NOTE: when you update Haskell packages you'll have to update the entire stack to not break it ##
_hkgname=json
pkgname=haskell-json
pkgver=0.7
pkgrel=6
pkgdesc="Support for serialising Haskell to and from JSON"
url="http://hackage.haskell.org/package/${_hkgname}"
license=(custom:BSD3)
arch=('x86_64')
depends=("ghc=7.6.3-1" 'haskell-base>=4' 'haskell-text' 'haskell-mtl' 'haskell-syb>=0.3.3')
source=("http://hackage.haskell.org/package/${_hkgname}-${pkgver}/${_hkgname}-${pkgver}.tar.gz")
install=$pkgname.install
options=('strip' 'staticlibs')
sha256sums=('d3654272caa269bc65f6f2af82b583ef05434613fe5272d57053fb3bfada68a3')
build() {
cd "$srcdir/$_hkgname-$pkgver"
runhaskell Setup configure \
-O \
${PKGBUILD_HASKELL_ENABLE_PROFILING:+-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 "${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"
# Documentation
ln -s "/usr/share/doc/${pkgname}/html" \
"${pkgdir}/usr/share/doc/ghc/html/libraries/json"
# License
install -D -m644 LICENSE \
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
runhaskell Setup copy --destdir="${pkgdir}"
}
# # # helpful information # # #
When you update Haskell packages you'll have to update the entire stack to not break it.
To help you I wrote a simple guide.
## NOTE: it's possible that some new haskell-package has been added to our repository, so before you update the entire stack you need to check it and then proceed
> First you have to update these packaes:
haskell-binary
haskell-bytestring-show
haskell-dataenc
haskell-deepseq
haskell-extensible-exceptions
haskell-html
haskell-mmap
haskell-primitive
haskell-random
haskell-syb
haskell-stm
haskell-terminfo
haskell-transformers
haskell-mtl
haskell-utf8-string
haskell-zlib
haskell-tar
> Next update one-by-one the following packages:
haskell-text
haskell-json