[arch-commits] Commit in haskell-hackage-security/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Sat Sep 23 16:01:10 UTC 2017
Date: Saturday, September 23, 2017 @ 16:01:09
Author: felixonmars
Revision: 260066
upgpkg: haskell-hackage-security 0.5.2.2-7
Modified:
haskell-hackage-security/trunk/PKGBUILD
----------+
PKGBUILD | 9 +++------
1 file changed, 3 insertions(+), 6 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-09-23 16:00:57 UTC (rev 260065)
+++ PKGBUILD 2017-09-23 16:01:09 UTC (rev 260066)
@@ -5,7 +5,7 @@
_hkgname=hackage-security
pkgname=haskell-hackage-security
pkgver=0.5.2.2
-pkgrel=6
+pkgrel=7
pkgdesc="Hackage security library"
url="https://github.com/well-typed/hackage-security"
license=("custom:BSD3")
@@ -15,7 +15,7 @@
"haskell-tar" "haskell-zlib")
makedepends=('ghc')
source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
-sha256sums=('507a837851264a774c8f4d400f798c3dac5be11dc428fe72d33ef594ca533c41')
+sha512sums=('5adab3c46d7aada8668128ad8c9389ca65489eec776f8571b8ee5834d74b961f19b558cb6642cbb1891ee381b2d4f2019dddf29bad13607fe23bef49a3d6f535')
prepare() {
sed -e 's/directory >= 1.1.0.2 && < 1.3,/directory >= 1.1.0.2,/' \
@@ -27,7 +27,7 @@
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 \
-fbase48 -fuse-network-uri -f-old-directory
@@ -46,7 +46,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