Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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
Showing
12 changed files
with
176 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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) | ||
} |
5eda709
There was a problem hiding this comment.
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?
5eda709
There was a problem hiding this comment.
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.5eda709
There was a problem hiding this comment.
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!
5eda709
There was a problem hiding this comment.
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.
5eda709
There was a problem hiding this comment.
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?
5eda709
There was a problem hiding this comment.
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!
5eda709
There was a problem hiding this comment.
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.
5eda709
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure.