[arch-commits] Commit in haskell-wai-cors/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Sat Sep 23 17:39:19 UTC 2017
Date: Saturday, September 23, 2017 @ 17:39:18
Author: felixonmars
Revision: 260272
upgpkg: haskell-wai-cors 0.2.5-6
Modified:
haskell-wai-cors/trunk/PKGBUILD
----------+
PKGBUILD | 9 +++------
1 file changed, 3 insertions(+), 6 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-09-23 17:39:08 UTC (rev 260271)
+++ PKGBUILD 2017-09-23 17:39:18 UTC (rev 260272)
@@ -5,7 +5,7 @@
_hkgname=wai-cors
pkgname=haskell-wai-cors
pkgver=0.2.5
-pkgrel=5
+pkgrel=6
pkgdesc="CORS for WAI"
url="https://github.com/larskuhtz/wai-cors"
license=("MIT")
@@ -14,12 +14,12 @@
"haskell-http-types" "haskell-wai" "haskell-mtl")
makedepends=('ghc')
source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
-sha256sums=('25089b8a043e0eb042ef63070ddd7ecc4d961c74526c9c00b292eda4b92d766e')
+sha512sums=('631bc8f9590ff52b06dbfd684a5f378059cd90ecace6ffa8ed27d9d708e352d0dc1e2b07b108f6a8ff0d13b1301fc7f40d117ec97ed3ef7a1c71459a3325ba98')
build() {
cd "${srcdir}/${_hkgname}-${pkgver}"
- runhaskell Setup configure -O --enable-shared --enable-executable-dynamic \
+ 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
@@ -37,7 +37,4 @@
runhaskell Setup copy --destdir="${pkgdir}"
install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
-
- # Remove static libs
- find "$pkgdir"/usr/lib -name "*.a" -delete
}
More information about the arch-commits
mailing list