[arch-commits] Commit in haskell-zip-archive/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Thu Jun 15 17:01:16 UTC 2017
Date: Thursday, June 15, 2017 @ 17:01:15
Author: felixonmars
Revision: 237277
upgpkg: haskell-zip-archive 0.3.1-2
rebuild with ghc,8.0.2
Modified:
haskell-zip-archive/trunk/PKGBUILD
----------+
PKGBUILD | 11 +++++++----
1 file changed, 7 insertions(+), 4 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-06-15 16:59:42 UTC (rev 237276)
+++ PKGBUILD 2017-06-15 17:01:15 UTC (rev 237277)
@@ -5,13 +5,13 @@
_hkgname=zip-archive
pkgname=haskell-zip-archive
pkgver=0.3.1
-pkgrel=1
+pkgrel=2
pkgdesc="Library for creating and modifying zip archives."
url="http://github.com/jgm/zip-archive"
license=("custom:BSD3")
arch=('i686' 'x86_64')
-depends=("ghc=8.0.1" "haskell-digest" "haskell-mtl" "haskell-old-time" "haskell-temporary"
- "haskell-text" "haskell-zlib")
+depends=("ghc" "haskell-digest" "haskell-mtl" "haskell-old-time" "haskell-temporary" "haskell-text"
+ "haskell-zlib")
source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
sha512sums=('84de97b4adea5337b03b66056735b9aa1c359440cc0b4ff95463b51846adadce79ab070a455f81e386b9292b34206b727f8111e67b1f83f6962000c4cc0883a6')
@@ -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 \
-f-executable -fsplitbase
@@ -40,4 +40,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