[arch-commits] Commit in haskell-void/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Wed Jun 14 20:06:54 UTC 2017
Date: Wednesday, June 14, 2017 @ 20:06:53
Author: felixonmars
Revision: 236861
upgpkg: haskell-void 0.7.2-2
rebuild with ghc,8.0.2
Modified:
haskell-void/trunk/PKGBUILD
----------+
PKGBUILD | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-06-14 20:05:42 UTC (rev 236860)
+++ PKGBUILD 2017-06-14 20:06:53 UTC (rev 236861)
@@ -5,12 +5,12 @@
_hkgname=void
pkgname=haskell-void
pkgver=0.7.2
-pkgrel=1
+pkgrel=2
pkgdesc="A Haskell 98 logically uninhabited data type"
url="http://github.com/ekmett/void"
license=("custom:BSD3")
arch=('i686' 'x86_64')
-depends=("ghc=8.0.1" "haskell-hashable" "haskell-semigroups")
+depends=("ghc" "haskell-hashable" "haskell-semigroups")
source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
sha512sums=('a855be6592705f1b84a078e63f129a679d8a02d9df1b3ebba8a40cafa134c9ccbc3953875f4eaa53ff37133c7539b6374407f3df9d40639502a6b65ed211b7ad')
@@ -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 \
-f-safe
@@ -39,4 +39,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