[arch-commits] Commit in haskell-yesod-static/repos/community-staging-x86_64 (2 files)
Felix Yan
felixonmars at archlinux.org
Wed Feb 21 20:52:23 UTC 2018
Date: Wednesday, February 21, 2018 @ 20:52:17
Author: felixonmars
Revision: 296780
archrelease: copy trunk to community-staging-x86_64
Added:
haskell-yesod-static/repos/community-staging-x86_64/PKGBUILD
(from rev 296779, haskell-yesod-static/trunk/PKGBUILD)
Deleted:
haskell-yesod-static/repos/community-staging-x86_64/PKGBUILD
----------+
PKGBUILD | 90 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 45 insertions(+), 45 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-02-21 20:51:45 UTC (rev 296779)
+++ PKGBUILD 2018-02-21 20:52:17 UTC (rev 296780)
@@ -1,45 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Arch Haskell Team <arch-haskell at haskell.org>
-
-_hkgname=yesod-static
-pkgname=haskell-yesod-static
-pkgver=1.5.3.1
-pkgrel=86
-pkgdesc="Static file serving subsite for Yesod Web Framework."
-url="http://www.yesodweb.com/"
-license=("MIT")
-arch=('x86_64')
-depends=('ghc-libs' "haskell-async" "haskell-attoparsec" "haskell-base64-bytestring"
- "haskell-blaze-builder" "haskell-byteable" "haskell-conduit" "haskell-conduit-extra"
- "haskell-cryptonite" "haskell-cryptonite-conduit" "haskell-memory" "haskell-css-text"
- "haskell-data-default" "haskell-exceptions" "haskell-file-embed" "haskell-hashable"
- "haskell-hjsmin" "haskell-http-types" "haskell-mime-types" "haskell-old-time"
- "haskell-resourcet" "haskell-text" "haskell-unix-compat" "haskell-unordered-containers"
- "haskell-wai" "haskell-wai-app-static" "haskell-yesod-core")
-makedepends=('ghc')
-source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
-sha512sums=('1ba2061e05d7374579e6ada4760db569817e957ae7adcbde49deab88cb60d2940475b530d017b12dc92ae9acc722c4ac46750e65ec23e485097ccb6e54d123a2')
-
-build() {
- cd "${srcdir}/${_hkgname}-${pkgver}"
-
- runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \
- --prefix=/usr --docdir="/usr/share/doc/${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}/${_hkgname}-${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: haskell-yesod-static/repos/community-staging-x86_64/PKGBUILD (from rev 296779, haskell-yesod-static/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-02-21 20:52:17 UTC (rev 296780)
@@ -0,0 +1,45 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Arch Haskell Team <arch-haskell at haskell.org>
+
+_hkgname=yesod-static
+pkgname=haskell-yesod-static
+pkgver=1.5.3.1
+pkgrel=87
+pkgdesc="Static file serving subsite for Yesod Web Framework."
+url="http://www.yesodweb.com/"
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' "haskell-async" "haskell-attoparsec" "haskell-base64-bytestring"
+ "haskell-blaze-builder" "haskell-byteable" "haskell-conduit" "haskell-conduit-extra"
+ "haskell-cryptonite" "haskell-cryptonite-conduit" "haskell-memory" "haskell-css-text"
+ "haskell-data-default" "haskell-exceptions" "haskell-file-embed" "haskell-hashable"
+ "haskell-hjsmin" "haskell-http-types" "haskell-mime-types" "haskell-old-time"
+ "haskell-resourcet" "haskell-text" "haskell-unix-compat" "haskell-unordered-containers"
+ "haskell-wai" "haskell-wai-app-static" "haskell-yesod-core")
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
+sha512sums=('1ba2061e05d7374579e6ada4760db569817e957ae7adcbde49deab88cb60d2940475b530d017b12dc92ae9acc722c4ac46750e65ec23e485097ccb6e54d123a2')
+
+build() {
+ cd "${srcdir}/${_hkgname}-${pkgver}"
+
+ runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \
+ --prefix=/usr --docdir="/usr/share/doc/${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}/${_hkgname}-${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