[arch-commits] Commit in haskell-gnuidn/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Thu Jun 15 19:51:50 UTC 2017
Date: Thursday, June 15, 2017 @ 19:51:49
Author: felixonmars
Revision: 237399
upgpkg: haskell-gnuidn 0.2.2-6
rebuild with ghc,8.0.2
Modified:
haskell-gnuidn/trunk/PKGBUILD
----------+
PKGBUILD | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-06-15 19:50:22 UTC (rev 237398)
+++ PKGBUILD 2017-06-15 19:51:49 UTC (rev 237399)
@@ -5,12 +5,12 @@
_hkgname=gnuidn
pkgname=haskell-gnuidn
pkgver=0.2.2
-pkgrel=5
+pkgrel=6
pkgdesc="Bindings for GNU IDN"
url="https://john-millikin.com/software/haskell-gnuidn/"
license=("GPL3")
arch=('i686' 'x86_64')
-depends=("ghc=8.0.1" "libidn" "haskell-text")
+depends=("ghc" "libidn" "haskell-text")
makedepends=('c2hs')
source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
sha256sums=('61346b1f764cead5633bdc83f7dc9836b1627f484984094cdffa95dfd365b96f')
@@ -18,7 +18,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 @@
ln -s "/usr/share/doc/${pkgname}/html" "${pkgdir}/usr/share/doc/ghc/html/libraries/${_hkgname}"
runhaskell Setup copy --destdir="${pkgdir}"
rm -f "${pkgdir}/usr/share/doc/${pkgname}/license.txt"
+
+ # Remove static libs
+ find "$pkgdir"/usr/lib -name "*.a" -delete
}
More information about the arch-commits
mailing list