[arch-commits] Commit in haskell-wai-extra/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Wed Nov 22 11:59:24 UTC 2017
Date: Wednesday, November 22, 2017 @ 11:59:22
Author: felixonmars
Revision: 267938
upgpkg: haskell-wai-extra 3.0.20.2-1
rebuild with wai-extra,3.0.20.2
Modified:
haskell-wai-extra/trunk/PKGBUILD
----------+
PKGBUILD | 15 ++++++++-------
1 file changed, 8 insertions(+), 7 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-11-22 11:53:31 UTC (rev 267937)
+++ PKGBUILD 2017-11-22 11:59:22 UTC (rev 267938)
@@ -4,10 +4,10 @@
_hkgname=wai-extra
pkgname=haskell-wai-extra
-pkgver=3.0.20.0
-pkgrel=16
+pkgver=3.0.20.2
+pkgrel=1
pkgdesc="Provides some basic WAI handlers and middleware."
-url="http://github.com/yesodweb/wai"
+url="https://github.com/yesodweb/wai"
license=("MIT")
arch=('x86_64')
depends=('ghc-libs' "haskell-aeson" "haskell-ansi-terminal" "haskell-base64-bytestring"
@@ -19,14 +19,15 @@
"haskell-wai-logger" "haskell-word8" "haskell-zlib")
makedepends=('ghc')
source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
-sha512sums=('296f9be3d5907a0dcf0cbc7a56b0d8cbb432c5df816bebc15dd1120ad6aaa163d4d96e9eea5121f1d829cf43345809e8c8b5480bb6c43bfe6e15ca64960f26ff')
+sha512sums=('6dce4d4ff93a4020c17aa2c641f5bab9c8ed565f48faf0829d43b75db0f347ca4aed63b942eb033203c3c679b8ed29dfb21801ea690aef2c33904ce078cff062')
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
+ --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+ -f-build-example
runhaskell Setup build
runhaskell Setup register --gen-script
runhaskell Setup unregister --gen-script
@@ -36,7 +37,7 @@
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}"
More information about the arch-commits
mailing list