[arch-commits] Commit in haskell-shakespeare/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Thu Jun 15 10:49:28 UTC 2017
Date: Thursday, June 15, 2017 @ 10:49:28
Author: felixonmars
Revision: 237139
upgpkg: haskell-shakespeare 2.0.13-7
rebuild with ghc,8.0.2
Modified:
haskell-shakespeare/trunk/PKGBUILD
----------+
PKGBUILD | 13 ++++++++-----
1 file changed, 8 insertions(+), 5 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-06-15 10:45:37 UTC (rev 237138)
+++ PKGBUILD 2017-06-15 10:49:28 UTC (rev 237139)
@@ -5,14 +5,14 @@
_hkgname=shakespeare
pkgname=haskell-shakespeare
pkgver=2.0.13
-pkgrel=6
+pkgrel=7
pkgdesc="A toolkit for making compile-time interpolated templates"
url="http://www.yesodweb.com/book/shakespearean-templates"
license=("MIT")
arch=('i686' 'x86_64')
-depends=("ghc=8.0.1" "haskell-aeson" "haskell-blaze-html" "haskell-blaze-markup"
- "haskell-exceptions" "haskell-parsec" "haskell-scientific" "haskell-text"
- "haskell-unordered-containers" "haskell-vector")
+depends=("ghc" "haskell-aeson" "haskell-blaze-html" "haskell-blaze-markup" "haskell-exceptions"
+ "haskell-parsec" "haskell-scientific" "haskell-text" "haskell-unordered-containers"
+ "haskell-vector")
source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
sha512sums=('1d8cc8528fa776d76dbd4b7be9294fed2eee1df708e3f58401319e852fd287d9a2f8d0c7755cec7b6f29d98b527b538d53c65487fcdea9e6ad02208690be1df6')
@@ -19,7 +19,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 \
-f-test_roy -f-test_coffee -f-test_export
@@ -41,4 +41,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