[arch-commits] Commit in postgrest/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Thu Aug 17 08:47:46 UTC 2017
Date: Thursday, August 17, 2017 @ 08:47:42
Author: felixonmars
Revision: 251635
upgpkg: postgrest 0.4.2.0-3
GHC 8.2.1 rebuild
Modified:
postgrest/trunk/PKGBUILD
----------+
PKGBUILD | 8 +++-----
1 file changed, 3 insertions(+), 5 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-08-17 08:43:52 UTC (rev 251634)
+++ PKGBUILD 2017-08-17 08:47:42 UTC (rev 251635)
@@ -4,12 +4,12 @@
pkgname=postgrest
pkgver=0.4.2.0
-pkgrel=2
+pkgrel=3
pkgdesc="REST API for any Postgres database"
url="https://github.com/begriffs/postgrest"
license=("MIT")
arch=('i686' 'x86_64')
-depends=('ghc' "haskell-auto-update" "haskell-hasql" "haskell-hasql-pool" "haskell-protolude"
+depends=('ghc-libs' "haskell-auto-update" "haskell-hasql" "haskell-hasql-pool" "haskell-protolude"
"haskell-text" "haskell-warp" "haskell-base64-bytestring" "haskell-retry" "haskell-aeson"
"haskell-ansi-wl-pprint" "haskell-case-insensitive" "haskell-cassava"
"haskell-configurator-ng" "haskell-contravariant" "haskell-either"
@@ -20,6 +20,7 @@
"haskell-scientific" "haskell-swagger2" "haskell-unordered-containers" "haskell-vector"
"haskell-wai" "haskell-wai-cors" "haskell-wai-extra" "haskell-wai-middleware-static"
"haskell-cookie")
+makedepends=('ghc')
source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz"
protolude-0.2.patch)
sha256sums=('15b0902c2318e44bcf2d2c1cd654abc8acbbe00a9794e5ad821ab09eb0aca608'
@@ -38,7 +39,6 @@
--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
-f-CI
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.*update[^ ]* |&'--force' |" register.sh
@@ -50,8 +50,6 @@
install -D -m744 register.sh "${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
install -D -m744 unregister.sh "${pkgdir}/usr/share/haskell/unregister/${pkgname}.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/${pkgname}"
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