[arch-commits] Commit in haskell-cheapskate/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Fri Jun 16 10:27:41 UTC 2017
Date: Friday, June 16, 2017 @ 10:27:39
Author: felixonmars
Revision: 237621
upgpkg: haskell-cheapskate 0.1.0.5-68
rebuild with ghc,8.0.2
Modified:
haskell-cheapskate/trunk/PKGBUILD
----------+
PKGBUILD | 13 ++++++++-----
1 file changed, 8 insertions(+), 5 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-06-16 10:26:07 UTC (rev 237620)
+++ PKGBUILD 2017-06-16 10:27:39 UTC (rev 237621)
@@ -5,14 +5,14 @@
_hkgname=cheapskate
pkgname=haskell-cheapskate
pkgver=0.1.0.5
-pkgrel=67
+pkgrel=68
pkgdesc="Experimental markdown processor."
url="http://github.com/jgm/cheapskate"
license=("custom:BSD3")
arch=('i686' 'x86_64')
-depends=("ghc=8.0.1" "haskell-aeson" "haskell-blaze-html" "haskell-data-default"
- "haskell-http-types" "haskell-mtl" "haskell-syb" "haskell-text"
- "haskell-uniplate" "haskell-wai" "haskell-wai-extra" "haskell-xss-sanitize")
+depends=("ghc" "haskell-aeson" "haskell-blaze-html" "haskell-data-default" "haskell-http-types"
+ "haskell-mtl" "haskell-syb" "haskell-text" "haskell-uniplate" "haskell-wai"
+ "haskell-wai-extra" "haskell-xss-sanitize")
source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
sha256sums=('7a63b7ffc4976d006c5f693569a5ffd7a887e83d126d1dce9bbe8b5fbaabfa32')
@@ -23,7 +23,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 \
-fdingus
@@ -45,4 +45,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