[arch-commits] Commit in haskell-transformers-compat/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Wed Jun 14 19:20:40 UTC 2017
Date: Wednesday, June 14, 2017 @ 19:20:39
Author: felixonmars
Revision: 236811
upgpkg: haskell-transformers-compat 0.5.1.4-4
rebuild with ghc,8.0.2
Modified:
haskell-transformers-compat/trunk/PKGBUILD
----------+
PKGBUILD | 20 ++++++++++----------
1 file changed, 10 insertions(+), 10 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-06-14 19:20:13 UTC (rev 236810)
+++ PKGBUILD 2017-06-14 19:20:39 UTC (rev 236811)
@@ -6,23 +6,20 @@
_hkgname=transformers-compat
pkgname=haskell-transformers-compat
pkgver=0.5.1.4
-pkgrel=3
+pkgrel=4
pkgdesc="A small compatibility shim exposing the new types from transformers 0.3 to older Haskell platforms."
-url="http://hackage.haskell.org/package/${_hkgname}"
+url="https://hackage.haskell.org/package/${_hkgname}"
license=('custom:BSD3')
arch=('i686' 'x86_64')
-depends=('ghc=8.0.1')
-source=(http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+depends=('ghc')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
sha512sums=('7e4ff75cdae7afbf640b3ddbfc0a260be8bb3b06cdb1be803bfd7cdb333d289919164923ab4fcde4b270883548cce115643f908410ed394aec67efa389d5aeb2')
build() {
cd "${srcdir}/${_hkgname}-${pkgver}"
- runhaskell Setup configure -O \
- --enable-library-profiling \
- --enable-shared \
- --prefix=/usr\
- --docdir=/usr/share/doc/${pkgname} \
- --libsubdir=\$compiler/site-local/\$pkgid
+ runhaskell Setup configure -O --enable-shared --enable-executable-dynamic \
+ --prefix=/usr --docdir="/usr/share/doc/${pkgname}" \
+ --libsubdir=\$compiler/site-local/\$pkgid
runhaskell Setup build
runhaskell Setup haddock
runhaskell Setup register --gen-script
@@ -41,4 +38,7 @@
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