[arch-commits] Commit in haskell-esqueleto/repos/community-staging-x86_64 (4 files)
Felix Yan
fyan at archlinux.org
Thu Feb 11 15:06:10 UTC 2016
Date: Thursday, February 11, 2016 @ 16:06:10
Author: fyan
Revision: 161232
archrelease: copy trunk to community-staging-i686, community-staging-x86_64
Added:
haskell-esqueleto/repos/community-staging-x86_64/PKGBUILD
(from rev 161231, haskell-esqueleto/trunk/PKGBUILD)
haskell-esqueleto/repos/community-staging-x86_64/haskell-esqueleto.install
(from rev 161231, haskell-esqueleto/trunk/haskell-esqueleto.install)
Deleted:
haskell-esqueleto/repos/community-staging-x86_64/PKGBUILD
haskell-esqueleto/repos/community-staging-x86_64/haskell-esqueleto.install
---------------------------+
PKGBUILD | 90 ++++++++++++++++++++++----------------------
haskell-esqueleto.install | 36 ++++++++---------
2 files changed, 63 insertions(+), 63 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2016-02-11 15:02:46 UTC (rev 161231)
+++ PKGBUILD 2016-02-11 15:06:10 UTC (rev 161232)
@@ -1,45 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Arch Haskell Team <arch-haskell at haskell.org>
-
-_hkgname=esqueleto
-pkgname=haskell-esqueleto
-pkgver=2.4.2
-pkgrel=9
-pkgdesc="Type-safe EDSL for SQL queries on persistent backends."
-url="https://github.com/prowdsponsor/esqueleto"
-license=("custom:BSD3")
-arch=('i686' 'x86_64')
-depends=("ghc=7.10.3" "haskell-blaze-html" "haskell-conduit" "haskell-monad-logger"
- "haskell-persistent" "haskell-resourcet" "haskell-tagged" "haskell-text"
- "haskell-unordered-containers")
-options=('staticlibs')
-source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
-install="${pkgname}.install"
-sha256sums=('bd5207df73339bf22f426dde9e6945d5a9376a7e12c5a3948291e75d4468174f')
-
-build() {
- cd "${srcdir}/${_hkgname}-${pkgver}"
-
- runhaskell Setup configure -O --enable-library-profiling --enable-shared \
- --prefix=/usr --docdir="/usr/share/doc/${pkgname}" \
- --libsubdir=\$compiler/site-local/\$pkgid \
- -f-mysql -f-postgresql
- runhaskell Setup build
- runhaskell Setup haddock --hoogle --html
- 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"
-}
Copied: haskell-esqueleto/repos/community-staging-x86_64/PKGBUILD (from rev 161231, haskell-esqueleto/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2016-02-11 15:06:10 UTC (rev 161232)
@@ -0,0 +1,45 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Arch Haskell Team <arch-haskell at haskell.org>
+
+_hkgname=esqueleto
+pkgname=haskell-esqueleto
+pkgver=2.4.2
+pkgrel=9
+pkgdesc="Type-safe EDSL for SQL queries on persistent backends."
+url="https://github.com/prowdsponsor/esqueleto"
+license=("custom:BSD3")
+arch=('i686' 'x86_64')
+depends=("ghc=7.10.3" "haskell-blaze-html" "haskell-conduit" "haskell-monad-logger"
+ "haskell-persistent" "haskell-resourcet" "haskell-tagged" "haskell-text"
+ "haskell-unordered-containers")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
+install="${pkgname}.install"
+sha256sums=('bd5207df73339bf22f426dde9e6945d5a9376a7e12c5a3948291e75d4468174f')
+
+build() {
+ cd "${srcdir}/${_hkgname}-${pkgver}"
+
+ runhaskell Setup configure -O --enable-library-profiling --enable-shared \
+ --prefix=/usr --docdir="/usr/share/doc/${pkgname}" \
+ --libsubdir=\$compiler/site-local/\$pkgid \
+ -f-mysql -f-postgresql
+ runhaskell Setup build
+ runhaskell Setup haddock --hoogle --html
+ 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"
+}
Deleted: haskell-esqueleto.install
===================================================================
--- haskell-esqueleto.install 2016-02-11 15:02:46 UTC (rev 161231)
+++ haskell-esqueleto.install 2016-02-11 15:06:10 UTC (rev 161232)
@@ -1,18 +0,0 @@
-HS_DIR=usr/share/haskell/haskell-esqueleto
-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)
-}
Copied: haskell-esqueleto/repos/community-staging-x86_64/haskell-esqueleto.install (from rev 161231, haskell-esqueleto/trunk/haskell-esqueleto.install)
===================================================================
--- haskell-esqueleto.install (rev 0)
+++ haskell-esqueleto.install 2016-02-11 15:06:10 UTC (rev 161232)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-esqueleto
+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)
+}
More information about the arch-commits
mailing list