Skip to content

Commit

Permalink
Today's packages on Hackage:
Browse files Browse the repository at this point in the history
  hoogle-4.1.3
    added
  cryptocipher-0.2.2
    updated
  hogre-0.1.1
    skipped due to missing dependencies in CABAL file (executables
    used during compilation, are only checked for at configuration)
  citeproc-hs-0.3.0
    updated
  haskell-src-exts-1.10.0
    updated
  reactive-glut-0.1.10
    skipped due to a dependency (checkers) depending on
    QuickCheck>=2.3
  nanoparsec-0.1
    skipped due to depending on base=4.3 (GHC 7)
  • Loading branch information
magthe committed Jan 9, 2011
1 parent a2992bc commit 5eda709
Show file tree
Hide file tree
Showing 12 changed files with 176 additions and 26 deletions.
10 changes: 5 additions & 5 deletions haskell-citeproc-hs/PKGBUILD
@@ -1,20 +1,20 @@
# Maintainer: Arch Haskell Team <arch-haskell@haskell.org>
_hkgname=citeproc-hs
pkgname=haskell-citeproc-hs
pkgver=0.2
pkgrel=3
pkgver=0.3.0
pkgrel=1
pkgdesc="A Citation Style Language implementation in Haskell"
url="http://hackage.haskell.org/package/${_hkgname}"
license=('custom:BSD3')
arch=('i686' 'x86_64')
makedepends=()
depends=('ghc' 'haskell-containers' 'haskell-directory' 'haskell-hxt>=8.1' 'haskell-mtl' 'haskell-syb')
depends=('ghc' 'haskell-http>=4000.0.5' 'haskell-containers' 'haskell-directory' 'haskell-filepath' 'haskell-hs-bibutils>=0.3' 'haskell-json' 'haskell-mtl' 'haskell-network>=2' 'haskell-old-locale' 'haskell-pandoc-types<=1.7' 'haskell-parsec' 'haskell-syb' 'haskell-time' 'haskell-xml')
options=('strip')
source=(http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
install=${pkgname}.install
build() {
cd ${srcdir}/${_hkgname}-${pkgver}
runhaskell Setup configure --prefix=/usr --docdir=/usr/share/doc/${pkgname} -O --enable-split-objs --enable-shared
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
Expand All @@ -31,4 +31,4 @@ package() {
install -D -m644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
rm -f ${pkgdir}/usr/share/doc/${pkgname}/LICENSE
}
md5sums=('d9fd2f297917861ee4131f144d44042b')
sha256sums=('9c33410740fb2dd409289288dfbab8e01f37d983f2bdb2600d7d3009f089ea6c')
8 changes: 4 additions & 4 deletions haskell-citeproc-hs/haskell-citeproc-hs.install
@@ -1,18 +1,18 @@
HS_DIR=usr/share/haskell/haskell-citeproc-hs
HS_DIR=/usr/share/haskell/haskell-citeproc-hs
post_install() {
${HS_DIR}/register.sh
(cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
(cd /usr/share/doc/ghc/html/libraries; ./gen_contents_index)
}
pre_upgrade() {
${HS_DIR}/unregister.sh
}
post_upgrade() {
${HS_DIR}/register.sh
(cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
(cd /usr/share/doc/ghc/html/libraries; ./gen_contents_index)
}
pre_remove() {
${HS_DIR}/unregister.sh
}
post_remove() {
(cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
(cd /usr/share/doc/ghc/html/libraries; ./gen_contents_index)
}
10 changes: 5 additions & 5 deletions haskell-cryptocipher/PKGBUILD
@@ -1,9 +1,9 @@
# Maintainer: Arch Haskell Team <arch-haskell@haskell.org>
_hkgname=cryptocipher
pkgname=haskell-cryptocipher
pkgver=0.2
pkgrel=2
pkgdesc="Symmetrical Block and Stream Ciphers"
pkgver=0.2.2
pkgrel=1
pkgdesc="Symmetrical Block, Stream and PubKey Ciphers"
url="http://hackage.haskell.org/package/${_hkgname}"
license=('custom:BSD3')
arch=('i686' 'x86_64')
Expand All @@ -14,7 +14,7 @@ source=(http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkg
install=${pkgname}.install
build() {
cd ${srcdir}/${_hkgname}-${pkgver}
runhaskell Setup configure --prefix=/usr --docdir=/usr/share/doc/${pkgname} -O --enable-split-objs --enable-shared
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
Expand All @@ -31,4 +31,4 @@ package() {
install -D -m644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
rm -f ${pkgdir}/usr/share/doc/${pkgname}/LICENSE
}
md5sums=('1b2353ae52c16463d841c8c76fea2b47')
sha256sums=('b1f72853e36ec4605034d86c49a323bb5e11e6c9ba8eb3279b42eaec6ba19f89')
8 changes: 4 additions & 4 deletions haskell-cryptocipher/haskell-cryptocipher.install
@@ -1,18 +1,18 @@
HS_DIR=usr/share/haskell/haskell-cryptocipher
HS_DIR=/usr/share/haskell/haskell-cryptocipher
post_install() {
${HS_DIR}/register.sh
(cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
(cd /usr/share/doc/ghc/html/libraries; ./gen_contents_index)
}
pre_upgrade() {
${HS_DIR}/unregister.sh
}
post_upgrade() {
${HS_DIR}/register.sh
(cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
(cd /usr/share/doc/ghc/html/libraries; ./gen_contents_index)
}
pre_remove() {
${HS_DIR}/unregister.sh
}
post_remove() {
(cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
(cd /usr/share/doc/ghc/html/libraries; ./gen_contents_index)
}
8 changes: 4 additions & 4 deletions haskell-haskell-src-exts/PKGBUILD
@@ -1,8 +1,8 @@
# Maintainer: Arch Haskell Team <arch-haskell@haskell.org>
_hkgname=haskell-src-exts
pkgname=haskell-haskell-src-exts
pkgver=1.9.6
pkgrel=2
pkgver=1.10.0
pkgrel=1
pkgdesc="Manipulating Haskell source: abstract syntax, lexer, parser, and pretty-printer"
url="http://hackage.haskell.org/package/${_hkgname}"
license=('custom:BSD3')
Expand All @@ -14,7 +14,7 @@ source=(http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkg
install=${pkgname}.install
build() {
cd ${srcdir}/${_hkgname}-${pkgver}
runhaskell Setup configure --prefix=/usr --docdir=/usr/share/doc/${pkgname} -O --enable-split-objs --enable-shared
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
Expand All @@ -31,4 +31,4 @@ package() {
install -D -m644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
rm -f ${pkgdir}/usr/share/doc/${pkgname}/LICENSE
}
md5sums=('5e73836ab3414ec029e93903b26563ca')
sha256sums=('8da83559a34113c75c5876bcf318e8fdce1c97d437e57efdc27c26aca9575eb7')
8 changes: 4 additions & 4 deletions haskell-haskell-src-exts/haskell-haskell-src-exts.install
@@ -1,18 +1,18 @@
HS_DIR=usr/share/haskell/haskell-haskell-src-exts
HS_DIR=/usr/share/haskell/haskell-haskell-src-exts
post_install() {
${HS_DIR}/register.sh
(cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
(cd /usr/share/doc/ghc/html/libraries; ./gen_contents_index)
}
pre_upgrade() {
${HS_DIR}/unregister.sh
}
post_upgrade() {
${HS_DIR}/register.sh
(cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
(cd /usr/share/doc/ghc/html/libraries; ./gen_contents_index)
}
pre_remove() {
${HS_DIR}/unregister.sh
}
post_remove() {
(cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
(cd /usr/share/doc/ghc/html/libraries; ./gen_contents_index)
}
32 changes: 32 additions & 0 deletions haskell-hoogle/PKGBUILD
@@ -0,0 +1,32 @@
# Maintainer: Arch Haskell Team <arch-haskell@haskell.org>
_hkgname=hoogle
pkgname=haskell-hoogle
pkgver=4.1.3
pkgrel=1
pkgdesc="Haskell API Search"
url="http://hackage.haskell.org/package/${_hkgname}"
license=('GPL')
arch=('i686' 'x86_64')
makedepends=()
depends=('ghc' 'haskell-cabal<1.11' 'haskell-http<4000.2' 'haskell-array' 'haskell-binary' 'haskell-bytestring' 'haskell-cmdargs<0.7' 'haskell-containers' 'haskell-directory' 'haskell-filepath' 'haskell-haskell-src-exts<1.10' 'haskell-network<2.4' 'haskell-parsec<2.2' 'haskell-process' 'haskell-random' 'haskell-safe' 'haskell-tagsoup<0.13' 'haskell-time' 'haskell-transformers<0.3' 'haskell-uniplate<1.7')
options=('strip')
source=(http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
install=${pkgname}.install
build() {
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}
}
sha256sums=('2526aa997c4a388b6fa7a15a8985615a72fa82d70315374fc4801d0a0614b262')
18 changes: 18 additions & 0 deletions haskell-hoogle/haskell-hoogle.install
@@ -0,0 +1,18 @@
HS_DIR=/usr/share/haskell/haskell-hoogle
post_install() {
${HS_DIR}/register.sh
(cd /usr/share/doc/ghc/html/libraries; ./gen_contents_index)
}
pre_upgrade() {
${HS_DIR}/unregister.sh
}
post_upgrade() {
${HS_DIR}/register.sh
(cd /usr/share/doc/ghc/html/libraries; ./gen_contents_index)
}
pre_remove() {
${HS_DIR}/unregister.sh
}
post_remove() {
(cd /usr/share/doc/ghc/html/libraries; ./gen_contents_index)
}
32 changes: 32 additions & 0 deletions haskell-hs-bibutils/PKGBUILD
@@ -0,0 +1,32 @@
# Maintainer: Arch Haskell Team <arch-haskell@haskell.org>
_hkgname=hs-bibutils
pkgname=haskell-hs-bibutils
pkgver=4.12
pkgrel=1
pkgdesc="Haskell bindings to bibutils, the bibliography\nconversion utilities."
url="http://hackage.haskell.org/package/${_hkgname}"
license=('GPL')
arch=('i686' 'x86_64')
makedepends=()
depends=('ghc' 'haskell-syb')
options=('strip')
source=(http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
install=${pkgname}.install
build() {
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}
}
sha256sums=('67949b90a3810774a40c77f87fffdb6cf740194f8afa521260651ead92897d2a')
18 changes: 18 additions & 0 deletions haskell-hs-bibutils/haskell-hs-bibutils.install
@@ -0,0 +1,18 @@
HS_DIR=/usr/share/haskell/haskell-hs-bibutils
post_install() {
${HS_DIR}/register.sh
(cd /usr/share/doc/ghc/html/libraries; ./gen_contents_index)
}
pre_upgrade() {
${HS_DIR}/unregister.sh
}
post_upgrade() {
${HS_DIR}/register.sh
(cd /usr/share/doc/ghc/html/libraries; ./gen_contents_index)
}
pre_remove() {
${HS_DIR}/unregister.sh
}
post_remove() {
(cd /usr/share/doc/ghc/html/libraries; ./gen_contents_index)
}
32 changes: 32 additions & 0 deletions haskell-pandoc-types/PKGBUILD
@@ -0,0 +1,32 @@
# Maintainer: Arch Haskell Team <arch-haskell@haskell.org>
_hkgname=pandoc-types
pkgname=haskell-pandoc-types
pkgver=1.7
pkgrel=1
pkgdesc="Types for representing a structured document"
url="http://hackage.haskell.org/package/${_hkgname}"
license=('GPL')
arch=('i686' 'x86_64')
makedepends=()
depends=('ghc' 'haskell-containers' 'haskell-syb')
options=('strip')
source=(http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
install=${pkgname}.install
build() {
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}
}
sha256sums=('600e17d33e1ae7992cc5fd24f5164bab5189b894d0b56b39470e9401a049d97d')
18 changes: 18 additions & 0 deletions haskell-pandoc-types/haskell-pandoc-types.install
@@ -0,0 +1,18 @@
HS_DIR=/usr/share/haskell/haskell-pandoc-types
post_install() {
${HS_DIR}/register.sh
(cd /usr/share/doc/ghc/html/libraries; ./gen_contents_index)
}
pre_upgrade() {
${HS_DIR}/unregister.sh
}
post_upgrade() {
${HS_DIR}/register.sh
(cd /usr/share/doc/ghc/html/libraries; ./gen_contents_index)
}
pre_remove() {
${HS_DIR}/unregister.sh
}
post_remove() {
(cd /usr/share/doc/ghc/html/libraries; ./gen_contents_index)
}

8 comments on commit 5eda709

@peti
Copy link
Contributor

@peti peti commented on 5eda709 Jan 9, 2011

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi Magnus, your commit removes "--enable-shared" from the PKGBUILDs it modifies, and those that were added don't contain the flag either. Furthermore, the generated install files don't seem to have Remy's patch to remove the '/' at the beginning of every path. Were those changes intentional?

@magthe
Copy link
Contributor Author

@magthe magthe commented on 5eda709 Jan 10, 2011

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, this wasn't my intention at all.

I'm using the latest release of cabal2arch (0.7.6-5) to generate these PKGBUILDs so I'm very surprised that they are wrong.

@peti
Copy link
Contributor

@peti peti commented on 5eda709 Jan 10, 2011

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That version was released Nov 4 2010. A lot of things have happened since then!

@magthe
Copy link
Contributor Author

@magthe magthe commented on 5eda709 Jan 10, 2011

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Time for a new release then, I'd say. :-)

I'd say it's far from ideal to use a development version for HABS.

@peti
Copy link
Contributor

@peti peti commented on 5eda709 Jan 11, 2011

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wonder what we are going to do about those PKGBUILDs that lack --enable-shared. Do you plan to revert that commit? Or do you intent to commit an update that brings them in sync with rest of set?

@magthe
Copy link
Contributor Author

@magthe magthe commented on 5eda709 Jan 11, 2011

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Of course we are going to re-generate the PKGBUILDs so that they match the others in HABS. If you are telling me that there is no way I'll see a release of cabal2arch that generates the correct kind of PKGBUILDs in the foreseeable future then I'll attempt to compile a development version of cabal2arch in order to generate them. But that raises another question, is the development version of cabal2arch guaranteed to generate PKGBUILDs that we are happy with, or does it contain changes that we don't want use just yet?

I strongly feel that we should only use released versions of cabal2arch to generate HABS!

@peti
Copy link
Contributor

@peti peti commented on 5eda709 Jan 11, 2011

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The commit note section of the Git repository is probably not an ideal forum to discuss the release plans for cabal2arch. We should talk about this subject on the mailing list, so that everyone who has a stake in these tools is aware of those plans.

@magthe
Copy link
Contributor Author

@magthe magthe commented on 5eda709 Jan 11, 2011

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure.

Please sign in to comment.