[arch-commits] Commit in mighttpd2/trunk (PKGBUILD)
Felix Yan
felixonmars at gemini.archlinux.org
Sat Aug 20 20:32:27 UTC 2022
Date: Saturday, August 20, 2022 @ 20:32:27
Author: felixonmars
Revision: 1271194
upgpkg: mighttpd2 4.0.2-2: enable all features
Modified:
mighttpd2/trunk/PKGBUILD
----------+
PKGBUILD | 29 +++++++++++++++++++----------
1 file changed, 19 insertions(+), 10 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2022-08-20 20:26:06 UTC (rev 1271193)
+++ PKGBUILD 2022-08-20 20:32:27 UTC (rev 1271194)
@@ -2,21 +2,30 @@
pkgname=mighttpd2
pkgver=4.0.2
-pkgrel=1
+pkgrel=2
pkgdesc="High performance web server on WAI/warp"
url="https://kazu-yamamoto.github.io/mighttpd2/"
license=("BSD")
arch=('x86_64')
-depends=('ghc-libs' 'haskell-async' 'haskell-auto-update' 'haskell-byteorder'
- 'haskell-case-insensitive' 'haskell-conduit' 'haskell-conduit-extra' 'haskell-http-client'
- 'haskell-http-date' 'haskell-http-types' 'haskell-network' 'haskell-old-locale'
- 'haskell-resourcet' 'haskell-split' 'haskell-streaming-commons' 'haskell-time-manager'
- 'haskell-unix-time' 'haskell-unliftio' 'haskell-unordered-containers' 'haskell-wai'
- 'haskell-wai-app-file-cgi' 'haskell-wai-http2-extra' 'haskell-wai-logger' 'haskell-warp')
+depends=('ghc-libs' 'haskell-async' 'haskell-auto-update' 'haskell-base16-bytestring'
+ 'haskell-byteorder' 'haskell-case-insensitive' 'haskell-conduit' 'haskell-conduit-extra'
+ 'dhall' 'haskell-http-client' 'haskell-http-date' 'haskell-http-types' 'haskell-network'
+ 'haskell-old-locale' 'haskell-quic' 'haskell-resourcet' 'haskell-split'
+ 'haskell-streaming-commons' 'haskell-time-manager' 'haskell-tls'
+ 'haskell-tls-session-manager' 'haskell-unix-time' 'haskell-unliftio'
+ 'haskell-unordered-containers' 'haskell-wai' 'haskell-wai-app-file-cgi'
+ 'haskell-wai-http2-extra' 'haskell-wai-logger' 'haskell-warp' 'haskell-warp-quic'
+ 'haskell-warp-tls')
makedepends=('ghc' 'haskell-hspec')
-source=("https://hackage.haskell.org/packages/archive/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz")
-sha256sums=('1d4dc43b96a3064a8c0b752f71591cb04d769b76e3b922a5ea3529057d530960')
+source=("https://hackage.haskell.org/packages/archive/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz"
+ https://raw.githubusercontent.com/kazu-yamamoto/mighttpd2/v4.0.1/conf/example.dhall)
+sha256sums=('1d4dc43b96a3064a8c0b752f71591cb04d769b76e3b922a5ea3529057d530960'
+ '454bac34f3096ca43fca573b4e927f2d13db86f794cc1280ea4129ccc7f800c3')
+prepare() {
+ mv example.dhall $pkgname-$pkgver/conf/
+}
+
build() {
cd $pkgname-$pkgver
@@ -25,7 +34,7 @@
--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
--ghc-option='-pie' \
- -f-dhall -f-quic -f-tls
+ -fdhall -fquic -ftls
runhaskell Setup build
runhaskell Setup register --gen-script
More information about the arch-commits
mailing list