[arch-commits] Commit in haskell-hscolour/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Thu Jun 15 19:27:41 UTC 2017
Date: Thursday, June 15, 2017 @ 19:27:39
Author: felixonmars
Revision: 237381
upgpkg: haskell-hscolour 1.24.1-2
rebuild with ghc,8.0.2
Modified:
haskell-hscolour/trunk/PKGBUILD
----------+
PKGBUILD | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-06-15 19:25:54 UTC (rev 237380)
+++ PKGBUILD 2017-06-15 19:27:39 UTC (rev 237381)
@@ -5,12 +5,12 @@
_hkgname=hscolour
pkgname=haskell-hscolour
pkgver=1.24.1
-pkgrel=1
+pkgrel=2
pkgdesc="Colourise Haskell code."
url="http://code.haskell.org/~malcolm/hscolour/"
license=("LGPL")
arch=('i686' 'x86_64')
-depends=("ghc=8.0.1")
+depends=('ghc')
source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
sha256sums=('e46fe3de8ed6f96e2216b94b7608d01919bc86b15dd8d0ec7e71c0e7e5bf79c8')
@@ -17,7 +17,7 @@
build() {
cd "${srcdir}/${_hkgname}-${pkgver}"
- runhaskell Setup configure -O --enable-library-profiling --enable-shared \
+ runhaskell Setup configure -O --enable-shared --enable-executable-dynamic \
--prefix=/usr --docdir="/usr/share/doc/${pkgname}" \
--libsubdir=\$compiler/site-local/\$pkgid
runhaskell Setup build
@@ -36,4 +36,7 @@
install -d -m755 "${pkgdir}/usr/share/doc/ghc/html/libraries"
ln -s "/usr/share/doc/${pkgname}/html" "${pkgdir}/usr/share/doc/ghc/html/libraries/${_hkgname}"
runhaskell Setup copy --destdir="${pkgdir}"
+
+ # Remove static libs
+ find "$pkgdir"/usr/lib -name "*.a" -delete
}
More information about the arch-commits
mailing list