[arch-commits] Commit in haskell-ranged-sets/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Sat Jun 17 17:12:04 UTC 2017
Date: Saturday, June 17, 2017 @ 17:12:03
Author: felixonmars
Revision: 237978
upgpkg: haskell-ranged-sets 0.3.0-4
rebuild with ghc,8.0.2
Modified:
haskell-ranged-sets/trunk/PKGBUILD
----------+
PKGBUILD | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-06-17 17:10:45 UTC (rev 237977)
+++ PKGBUILD 2017-06-17 17:12:03 UTC (rev 237978)
@@ -4,12 +4,12 @@
_hkgname=Ranged-sets
pkgname=haskell-ranged-sets
pkgver=0.3.0
-pkgrel=3
+pkgrel=4
pkgdesc="Ranged sets for Haskell"
url="http://code.haskell.org/ranged-sets"
license=('custom:BSD3')
arch=('i686' 'x86_64')
-depends=('ghc=8.0.1' 'haskell-hunit' 'haskell-quickcheck')
+depends=('ghc' 'haskell-hunit' 'haskell-quickcheck')
source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
md5sums=('c9c20783a74d280f0cd5f35691d705c2')
@@ -16,7 +16,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
@@ -37,4 +37,7 @@
runhaskell Setup copy --destdir="${pkgdir}"
install -D -m644 "LICENSE.txt" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.txt"
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