[arch-commits] Commit in hoogle/repos/community-x86_64 (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Sun May 26 15:16:01 UTC 2019
Date: Sunday, May 26, 2019 @ 15:16:00
Author: felixonmars
Revision: 470838
archrelease: copy trunk to community-x86_64
Added:
hoogle/repos/community-x86_64/PKGBUILD
(from rev 470837, hoogle/trunk/PKGBUILD)
Deleted:
hoogle/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 89 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 45 insertions(+), 44 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-05-26 15:15:33 UTC (rev 470837)
+++ PKGBUILD 2019-05-26 15:16:00 UTC (rev 470838)
@@ -1,44 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Arch Haskell Team <arch-haskell at haskell.org>
-
-pkgname=hoogle
-pkgver=5.0.17.6
-pkgrel=34
-pkgdesc="Haskell API Search"
-url="http://www.haskell.org/hoogle/"
-license=("BSD")
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-quickcheck' 'haskell-aeson' 'haskell-cmdargs' 'haskell-conduit'
- 'haskell-conduit-extra' 'haskell-connection' 'haskell-extra' 'haskell-foundation'
- 'haskell-hashable' 'haskell-http-conduit' 'haskell-http-types' 'haskell-js-flot'
- 'haskell-js-jquery' 'haskell-mmap' 'haskell-network' 'haskell-network-uri'
- 'haskell-old-locale' 'haskell-process-extras' 'haskell-resourcet' 'haskell-src-exts'
- 'haskell-storable-tuple' 'haskell-tar' 'haskell-uniplate' 'haskell-utf8-string'
- 'haskell-vector' 'haskell-wai' 'haskell-wai-logger' 'haskell-warp' 'haskell-warp-tls'
- 'haskell-zlib')
-makedepends=('ghc')
-source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz")
-sha512sums=('ecae5e16a3d61d9cb9be392749840cb79064fa083983fd60f24ccc59af37b3f28ff3d4136e3a1c875f53a519272d101ae6b3628be499c21777649f4763a5e299')
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
-
- runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \
- --prefix=/usr --docdir="/usr/share/doc/${pkgname}" --datasubdir="$pkgname" \
- --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
- runhaskell Setup build
- runhaskell Setup register --gen-script
- runhaskell Setup unregister --gen-script
- sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
- sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
-}
-
-package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
-
- install -D -m744 register.sh "${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
- install -D -m744 unregister.sh "${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
- runhaskell Setup copy --destdir="${pkgdir}"
- install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
- rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
-}
Copied: hoogle/repos/community-x86_64/PKGBUILD (from rev 470837, hoogle/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-05-26 15:16:00 UTC (rev 470838)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Arch Haskell Team <arch-haskell at haskell.org>
+
+pkgname=hoogle
+pkgver=5.0.17.8
+pkgrel=1
+pkgdesc="Haskell API Search"
+url="http://www.haskell.org/hoogle/"
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-quickcheck' 'haskell-aeson' 'haskell-blaze-html'
+ 'haskell-blaze-markup' 'haskell-cmdargs' 'haskell-conduit' 'haskell-conduit-extra'
+ 'haskell-connection' 'haskell-extra' 'haskell-foundation' 'haskell-hashable'
+ 'haskell-http-conduit' 'haskell-http-types' 'haskell-js-flot' 'haskell-js-jquery'
+ 'haskell-mmap' 'haskell-network' 'haskell-network-uri' 'haskell-old-locale'
+ 'haskell-process-extras' 'haskell-resourcet' 'haskell-src-exts'
+ 'haskell-storable-tuple' 'haskell-tar' 'haskell-uniplate' 'haskell-utf8-string'
+ 'haskell-vector' 'haskell-wai' 'haskell-wai-logger' 'haskell-warp' 'haskell-warp-tls'
+ 'haskell-zlib')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz")
+sha512sums=('79e5f1e850e3233341fe580dd8549c4fa6bf4d42bd261862c3ab320c6c6aa530adf067071897ae8709b5eca76d6697fab2937370fe65d21318e09d1135948731')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \
+ --prefix=/usr --docdir="/usr/share/doc/${pkgname}" --datasubdir="$pkgname" \
+ --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+ runhaskell Setup build
+ runhaskell Setup register --gen-script
+ runhaskell Setup unregister --gen-script
+ sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+ sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ install -D -m744 register.sh "${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+ install -D -m744 unregister.sh "${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+ runhaskell Setup copy --destdir="${pkgdir}"
+ install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+ rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}
More information about the arch-commits
mailing list