[arch-commits] Commit in haskell-process-extras/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Fri Jun 16 16:14:31 UTC 2017
Date: Friday, June 16, 2017 @ 16:14:30
Author: felixonmars
Revision: 237727
upgpkg: haskell-process-extras 0.7.1-6
rebuild with ghc,8.0.2
Modified:
haskell-process-extras/trunk/PKGBUILD
----------+
PKGBUILD | 11 +++++++----
1 file changed, 7 insertions(+), 4 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-06-16 16:12:16 UTC (rev 237726)
+++ PKGBUILD 2017-06-16 16:14:30 UTC (rev 237727)
@@ -5,13 +5,13 @@
_hkgname=process-extras
pkgname=haskell-process-extras
pkgver=0.7.1
-pkgrel=5
+pkgrel=6
pkgdesc="Process extras"
url="https://github.com/seereason/process-extras"
license=('MIT')
arch=('i686' 'x86_64')
-depends=('ghc=8.0.1' 'haskell-data-default' 'haskell-generic-deriving' 'haskell-listlike'
- 'haskell-mtl' 'haskell-text')
+depends=('ghc' 'haskell-data-default' 'haskell-generic-deriving' 'haskell-listlike' 'haskell-mtl'
+ 'haskell-text')
source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
md5sums=('cd676fa7e659099b52221322c2cbfcc6')
@@ -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
@@ -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