[arch-commits] Commit in haskell-utf8-string/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Fri Sep 22 06:46:22 UTC 2017
Date: Friday, September 22, 2017 @ 06:46:21
Author: felixonmars
Revision: 259350
upgpkg: haskell-utf8-string 1.0.1.1-5
Modified:
haskell-utf8-string/trunk/PKGBUILD
----------+
PKGBUILD | 9 +++------
1 file changed, 3 insertions(+), 6 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-09-22 06:27:26 UTC (rev 259349)
+++ PKGBUILD 2017-09-22 06:46:21 UTC (rev 259350)
@@ -6,7 +6,7 @@
_hkgname=utf8-string
pkgname=haskell-utf8-string
pkgver=1.0.1.1
-pkgrel=4
+pkgrel=5
pkgdesc="Support for reading and writing UTF8 Strings"
url="https://hackage.haskell.org/package/${_hkgname}"
license=('custom:BSD3')
@@ -14,7 +14,7 @@
depends=('ghc-libs' 'sh')
makedepends=('ghc')
source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
-md5sums=('fe24e26bd4b09731af66ef27b18b5177')
+sha512sums=('2dd647625478c9738b3af5e23e1e5ff92968449ad74e6d53dc308fa0f2b08b63c421a1cbe5491dd260b9b32770ec626843d320a09b80eb984211dba53934b965')
prepare() {
sed -i 's/base >= 4.3 && < 4.9/base >= 4.3/' ${_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