[arch-commits] Commit in haskell-dataenc/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Sat Sep 23 15:32:00 UTC 2017
Date: Saturday, September 23, 2017 @ 15:31:59
Author: felixonmars
Revision: 260026
upgpkg: haskell-dataenc 0.14.0.7-11
Modified:
haskell-dataenc/trunk/PKGBUILD
----------+
PKGBUILD | 9 +++------
1 file changed, 3 insertions(+), 6 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-09-23 15:31:16 UTC (rev 260025)
+++ PKGBUILD 2017-09-23 15:31:59 UTC (rev 260026)
@@ -6,7 +6,7 @@
_hkgname=dataenc
pkgname=haskell-dataenc
pkgver=0.14.0.7
-pkgrel=10
+pkgrel=11
pkgdesc="Data encoding library"
url="https://hackage.haskell.org/package/dataenc"
license=('custom:BSD3')
@@ -14,7 +14,7 @@
depends=('ghc-libs' 'sh')
makedepends=('ghc')
source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
-md5sums=('28491649dbeafb9512b4ea187cc6fddf')
+sha512sums=('82f34ad51b64b66726e45c0c2ef52c9c2be201f42c5718763158a13eb2e8f82cb0298c1580dd52788e8d7b3f1eb0e7ade4e6e69f7ba4b2f8804eb2178e719e20')
prepare(){
sed -i 's/base >= 3.0.0 && < 4.8/base >= 3.0.0/' ${_hkgname}-${pkgver}/${_hkgname}.cabal
@@ -23,7 +23,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
@@ -41,7 +41,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