[arch-commits] Commit in haskell-servant-server/repos/community-staging-x86_64 (2 files)
Felix Yan
felixonmars at archlinux.org
Sun May 20 14:31:55 UTC 2018
Date: Sunday, May 20, 2018 @ 14:31:55
Author: felixonmars
Revision: 325349
archrelease: copy trunk to community-staging-x86_64
Added:
haskell-servant-server/repos/community-staging-x86_64/PKGBUILD
(from rev 325348, haskell-servant-server/trunk/PKGBUILD)
Deleted:
haskell-servant-server/repos/community-staging-x86_64/PKGBUILD
----------+
PKGBUILD | 112 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 56 insertions(+), 56 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-05-20 14:31:33 UTC (rev 325348)
+++ PKGBUILD 2018-05-20 14:31:55 UTC (rev 325349)
@@ -1,56 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Arch Haskell Team <arch-haskell at haskell.org>
-
-_hkgname=servant-server
-pkgname=haskell-servant-server
-pkgver=0.13.0.1
-pkgrel=1
-pkgdesc="A family of combinators for defining webservices APIs and serving them"
-url="http://haskell-servant.readthedocs.org/"
-license=("custom:BSD3")
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-base-compat' 'haskell-aeson' 'haskell-attoparsec'
- 'haskell-base64-bytestring' 'haskell-exceptions' 'haskell-http-api-data'
- 'haskell-http-media' 'haskell-http-types' 'haskell-network-uri' 'haskell-monad-control'
- 'haskell-network' 'haskell-safe' 'haskell-servant' 'haskell-split'
- 'haskell-string-conversions' 'haskell-system-filepath' 'haskell-resourcet' 'haskell-tagged'
- 'haskell-transformers-base' 'haskell-transformers-compat' 'haskell-wai'
- 'haskell-wai-app-static' 'haskell-warp' 'haskell-word8')
-makedepends=('ghc' 'haskell-cabal-doctest' 'haskell-doctest' 'haskell-hspec' 'haskell-hspec-wai'
- 'haskell-should-not-typecheck' 'haskell-quickcheck' 'haskell-wai-extra'
- 'haskell-temporary')
-source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
-sha512sums=('45e6b8eb9b60efc1bfe046d3e7c93eac4a7c8f9a9f199dd13bcde16a4ba11ad63e3a31c05f056ed1e8266e45307f37982ab9723bb2721978881312521f264d1d')
-
-prepare() {
- cd $_hkgname-$pkgver
-}
-
-build() {
- cd $_hkgname-$pkgver
-
- runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \
- --prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
- --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
-}
-
-check() {
- cd $_hkgname-$pkgver
- runhaskell Setup test
-}
-
-package() {
- cd $_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-servant-server/repos/community-staging-x86_64/PKGBUILD (from rev 325348, haskell-servant-server/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-05-20 14:31:55 UTC (rev 325349)
@@ -0,0 +1,56 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Arch Haskell Team <arch-haskell at haskell.org>
+
+_hkgname=servant-server
+pkgname=haskell-servant-server
+pkgver=0.13.0.1
+pkgrel=2
+pkgdesc="A family of combinators for defining webservices APIs and serving them"
+url="http://haskell-servant.readthedocs.org/"
+license=("custom:BSD3")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-compat' 'haskell-aeson' 'haskell-attoparsec'
+ 'haskell-base64-bytestring' 'haskell-exceptions' 'haskell-http-api-data'
+ 'haskell-http-media' 'haskell-http-types' 'haskell-network-uri' 'haskell-monad-control'
+ 'haskell-network' 'haskell-safe' 'haskell-servant' 'haskell-split'
+ 'haskell-string-conversions' 'haskell-system-filepath' 'haskell-resourcet' 'haskell-tagged'
+ 'haskell-transformers-base' 'haskell-transformers-compat' 'haskell-wai'
+ 'haskell-wai-app-static' 'haskell-warp' 'haskell-word8')
+makedepends=('ghc' 'haskell-cabal-doctest' 'haskell-doctest' 'haskell-hspec' 'haskell-hspec-wai'
+ 'haskell-should-not-typecheck' 'haskell-quickcheck' 'haskell-wai-extra'
+ 'haskell-temporary')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
+sha512sums=('45e6b8eb9b60efc1bfe046d3e7c93eac4a7c8f9a9f199dd13bcde16a4ba11ad63e3a31c05f056ed1e8266e45307f37982ab9723bb2721978881312521f264d1d')
+
+prepare() {
+ cd $_hkgname-$pkgver
+}
+
+build() {
+ cd $_hkgname-$pkgver
+
+ runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \
+ --prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
+ --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
+}
+
+check() {
+ cd $_hkgname-$pkgver
+ runhaskell Setup test
+}
+
+package() {
+ cd $_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