[arch-commits] Commit in haskell-nettle/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Thu Jun 15 20:05:13 UTC 2017
Date: Thursday, June 15, 2017 @ 20:05:12
Author: felixonmars
Revision: 237413
upgpkg: haskell-nettle 0.2.0-14
rebuild with ghc,8.0.2
Modified:
haskell-nettle/trunk/PKGBUILD
----------+
PKGBUILD | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-06-15 20:04:51 UTC (rev 237412)
+++ PKGBUILD 2017-06-15 20:05:12 UTC (rev 237413)
@@ -4,12 +4,12 @@
_hkgname=nettle
pkgname=haskell-nettle
pkgver=0.2.0
-pkgrel=13
+pkgrel=14
pkgdesc="Safe nettle binding"
url="https://github.com/stbuehler/haskell-nettle"
license=('MIT')
arch=('i686' 'x86_64')
-depends=('ghc=8.0.1' 'nettle' 'haskell-byteable' 'haskell-crypto-cipher-types' 'haskell-tagged'
+depends=('ghc' 'nettle' 'haskell-byteable' 'haskell-crypto-cipher-types' 'haskell-tagged'
'haskell-securemem')
source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
md5sums=('1635e7a0d6446f91872a5dac7f8aaba4')
@@ -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 "COPYING" "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
rm -f "${pkgdir}/usr/share/doc/${pkgname}/COPYING"
+
+ # Remove static libs
+ find "$pkgdir"/usr/lib -name "*.a" -delete
}
More information about the arch-commits
mailing list