[arch-commits] Commit in haskell-network-multicast/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Fri Jun 16 16:31:48 UTC 2017
Date: Friday, June 16, 2017 @ 16:31:47
Author: felixonmars
Revision: 237741
upgpkg: haskell-network-multicast 0.2.0-3
rebuild with ghc,8.0.2
Modified:
haskell-network-multicast/trunk/PKGBUILD
----------+
PKGBUILD | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-06-16 16:29:27 UTC (rev 237740)
+++ PKGBUILD 2017-06-16 16:31:47 UTC (rev 237741)
@@ -5,12 +5,12 @@
_hkgname=network-multicast
pkgname=haskell-network-multicast
pkgver=0.2.0
-pkgrel=2
+pkgrel=3
pkgdesc="Simple multicast library"
url="https://hackage.haskell.org/package/${_hkgname}"
license=("custom:PublicDomain")
arch=('i686' 'x86_64')
-depends=("ghc=8.0.1" "haskell-network")
+depends=("ghc" "haskell-network")
source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
sha256sums=('0f3b50abc3a401c20cc6a0ec51a49d2a48e5b467d9fbd63b7cf803165fe975f2')
@@ -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