[arch-commits] Commit in haskell-xml/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Fri Sep 22 06:55:42 UTC 2017
Date: Friday, September 22, 2017 @ 06:55:42
Author: felixonmars
Revision: 259368
upgpkg: haskell-xml 1.3.14-9
Modified:
haskell-xml/trunk/PKGBUILD
----------+
PKGBUILD | 9 +++------
1 file changed, 3 insertions(+), 6 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-09-22 06:55:27 UTC (rev 259367)
+++ PKGBUILD 2017-09-22 06:55:42 UTC (rev 259368)
@@ -5,7 +5,7 @@
_hkgname=xml
pkgname=haskell-xml
pkgver=1.3.14
-pkgrel=8
+pkgrel=9
pkgdesc="A simple XML library"
url="https://hackage.haskell.org/package/${_hkgname}"
license=("custom:BSD3")
@@ -13,12 +13,12 @@
depends=('ghc-libs' 'haskell-text')
makedepends=('ghc')
source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
-sha256sums=('32d1a1a9f21a59176d84697f96ae3a13a0198420e3e4f1c48abbab7d2425013d')
+sha512sums=('2ddaa6c837fe85a06c751a66ae2c185fb7190f51f24649a668032b048b3e1b15982b45c86dfee4131453f0bd1ed704e934090bbede252a2b6de30c5f4ad44137')
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
@@ -36,7 +36,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