[arch-commits] Commit in haskell-deepseq-generics/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Sat Sep 23 05:58:15 UTC 2017
Date: Saturday, September 23, 2017 @ 05:58:14
Author: felixonmars
Revision: 259876
upgpkg: haskell-deepseq-generics 0.2.0.0-4
Modified:
haskell-deepseq-generics/trunk/PKGBUILD
----------+
PKGBUILD | 9 +++------
1 file changed, 3 insertions(+), 6 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-09-23 05:58:01 UTC (rev 259875)
+++ PKGBUILD 2017-09-23 05:58:14 UTC (rev 259876)
@@ -5,7 +5,7 @@
_hkgname=deepseq-generics
pkgname=haskell-deepseq-generics
pkgver=0.2.0.0
-pkgrel=3
+pkgrel=4
pkgdesc="GHC.Generics-based Control.DeepSeq.rnf implementation"
url="https://github.com/hvr/deepseq-generics"
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=('b0b3ef5546c0768ef9194519a90c629f8f2ba0348487e620bb89d512187c7c9d')
+sha512sums=('403d5fd9d8bee827ec2434841d06e78520f6ff5709e4b8e1223d926e819cb99727162d7004f98bff795beaff1dc7d42d07534300c11d453ac559a743a4d70e7e')
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