[arch-commits] Commit in haskell-regex-applicative-text/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Fri Sep 22 19:18:05 UTC 2017
Date: Friday, September 22, 2017 @ 19:18:04
Author: felixonmars
Revision: 259777
upgpkg: haskell-regex-applicative-text 0.1.0.1-5
Modified:
haskell-regex-applicative-text/trunk/PKGBUILD
----------+
PKGBUILD | 9 +++------
1 file changed, 3 insertions(+), 6 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-09-22 19:17:51 UTC (rev 259776)
+++ PKGBUILD 2017-09-22 19:18:04 UTC (rev 259777)
@@ -5,7 +5,7 @@
_hkgname=regex-applicative-text
pkgname=haskell-regex-applicative-text
pkgver=0.1.0.1
-pkgrel=4
+pkgrel=5
pkgdesc="Wrapped regex-applicative primitives to work with Text"
url="https://github.com/phadej/regex-applicative-text#readme"
license=("custom:BSD3")
@@ -13,7 +13,7 @@
depends=('ghc-libs' "haskell-regex-applicative" "haskell-text")
makedepends=('ghc')
source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
-sha256sums=('b093051f80865d257da2ded8ad1b566927b01b3d2f86d41da2ffee4a26c4e2d9')
+sha512sums=('8ee1d581498e047a7b759476ce98c43c19656b767790b0f12b8485bc212a71c7115cee5c3e5089392995bc71851025093c406bce9d8ac3c5962675ae06fa4339')
prepare() {
sed -i 's/base >= 4.3 && <4.10/base >= 4.3/' $_hkgname-$pkgver/$_hkgname.cabal
@@ -22,7 +22,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
@@ -40,7 +40,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