[arch-commits] Commit in haskell-hastache/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Sat Sep 23 16:28:10 UTC 2017
Date: Saturday, September 23, 2017 @ 16:28:10
Author: felixonmars
Revision: 260118
upgpkg: haskell-hastache 0.6.1-12
Modified:
haskell-hastache/trunk/PKGBUILD
----------+
PKGBUILD | 11 ++++-------
1 file changed, 4 insertions(+), 7 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-09-23 16:27:59 UTC (rev 260117)
+++ PKGBUILD 2017-09-23 16:28:10 UTC (rev 260118)
@@ -5,9 +5,9 @@
_hkgname=hastache
pkgname=haskell-hastache
pkgver=0.6.1
-pkgrel=11
+pkgrel=12
pkgdesc="Haskell implementation of Mustache templates"
-url="http://github.com/lymar/hastache"
+url="https://github.com/lymar/hastache"
license=("custom:BSD3")
arch=('i686' 'x86_64')
depends=('ghc-libs' "haskell-blaze-builder" "haskell-ieee754" "haskell-mtl" "haskell-syb" "haskell-text")
@@ -14,7 +14,7 @@
makedepends=('ghc')
makedepends=('ghc')
source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
-sha256sums=('8c8f89669d6125201d7163385ea9055ab8027a69d1513259f8fbdd53c244b464')
+sha512sums=('3f7f7d0b97e88aca474b818c0e7b48187bfade855b6117dce50ed3e64b557586b1827272d46438a7e36990fb932d6503c982fa4fc6b2dbb33b463b14d39436b4')
prepare() {
sed -i 's/base >=4 && <4.9/base >=4/' ${_hkgname}-${pkgver}/${_hkgname}.cabal
@@ -23,7 +23,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
@@ -41,7 +41,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