[arch-commits] Commit in haskell-cryptohash-sha256/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Sat Sep 23 17:26:50 UTC 2017
Date: Saturday, September 23, 2017 @ 17:26:48
Author: felixonmars
Revision: 260244
upgpkg: haskell-cryptohash-sha256 0.11.100.1-4
Modified:
haskell-cryptohash-sha256/trunk/PKGBUILD
----------+
PKGBUILD | 9 +++------
1 file changed, 3 insertions(+), 6 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-09-23 17:26:35 UTC (rev 260243)
+++ PKGBUILD 2017-09-23 17:26:48 UTC (rev 260244)
@@ -5,7 +5,7 @@
_hkgname=cryptohash-sha256
pkgname=haskell-cryptohash-sha256
pkgver=0.11.100.1
-pkgrel=3
+pkgrel=4
pkgdesc="Fast, pure and practical SHA-256 implementation"
url="https://github.com/hvr/cryptohash-sha256"
license=("custom:BSD3")
@@ -13,7 +13,7 @@
depends=('ghc-libs')
makedepends=('ghc')
source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
-sha256sums=('57b02338e9648639335788b422dd4c744543cb0991347472e2e3628a33c2f5d6')
+sha512sums=('df6a8c7a4796f3b94faf0c1073b552eccf7dfbe6ab1489fef391e6342f34b3cb29991d1313aa5da11a90cb37bcd43c23eea12073ad4c7190926005de952c39e2')
prepare() {
sed -i 's/base >= 4.5 && < 4.10/base >= 4.5/' $_hkgname-$pkgver/$_hkgname.cabal
@@ -22,7 +22,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
runhaskell Setup build
@@ -40,7 +40,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