[arch-commits] Commit in haskell-mtl/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Fri Sep 22 07:02:46 UTC 2017
Date: Friday, September 22, 2017 @ 07:02:45
Author: felixonmars
Revision: 259384
upgpkg: haskell-mtl 2.2.1-9
Modified:
haskell-mtl/trunk/PKGBUILD
----------+
PKGBUILD | 9 +++------
1 file changed, 3 insertions(+), 6 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-09-22 07:02:31 UTC (rev 259383)
+++ PKGBUILD 2017-09-22 07:02:45 UTC (rev 259384)
@@ -5,7 +5,7 @@
_hkgname=mtl
pkgname=haskell-mtl
pkgver=2.2.1
-pkgrel=8
+pkgrel=9
pkgdesc="Monad classes, using functional dependencies"
url="https://hackage.haskell.org/package/${_hkgname}"
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")
-md5sums=('96a2f12b94ea8d7cb0aea999cd2e3802')
+sha512sums=('5c31626b15551ee1757ad701b8e5552202bb6fe1dbd002039e3b78c6d01108a5c50f565c4993d165a00eb564d9d72fb8d2aae891b6242f0ca8cb11f7b95c5c6b')
prepare() {
sed -i 's/transformers == 0.4.\*/transformers >= 0.4/' ${_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