[arch-commits] Commit in haskell-utility-ht/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Thu Jun 15 20:27:29 UTC 2017
Date: Thursday, June 15, 2017 @ 20:27:28
Author: felixonmars
Revision: 237433
upgpkg: haskell-utility-ht 0.0.14-2
rebuild with ghc,8.0.2
Modified:
haskell-utility-ht/trunk/PKGBUILD
----------+
PKGBUILD | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-06-15 20:26:06 UTC (rev 237432)
+++ PKGBUILD 2017-06-15 20:27:28 UTC (rev 237433)
@@ -5,12 +5,12 @@
_hkgname=utility-ht
pkgname=haskell-utility-ht
pkgver=0.0.14
-pkgrel=1
+pkgrel=2
pkgdesc="Various small helper functions for Lists, Maybes, Tuples, Functions"
url="http://www.haskell.org/haskellwiki/Utility-HT"
license=("custom:BSD3")
arch=('i686' 'x86_64')
-depends=("ghc=8.0.1")
+depends=("ghc")
source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
sha512sums=('57e4f3fef2770c9906d4003b3a8182ecf875d19f155757752a2e4d0695c5c4be3c9d87da5774e802c1774a6d8ae4ca64e8f924146169af26501a9d77dbb0f762')
@@ -17,7 +17,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
runhaskell Setup build
@@ -38,4 +38,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