[arch-commits] Commit in haskell-interpolatedstring-perl6/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Sun Jun 18 11:29:02 UTC 2017
Date: Sunday, June 18, 2017 @ 11:29:01
Author: felixonmars
Revision: 238040
upgpkg: haskell-interpolatedstring-perl6 1.0.0-19
rebuild with ghc,8.0.2
Modified:
haskell-interpolatedstring-perl6/trunk/PKGBUILD
----------+
PKGBUILD | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-06-18 11:27:33 UTC (rev 238039)
+++ PKGBUILD 2017-06-18 11:29:01 UTC (rev 238040)
@@ -4,12 +4,12 @@
_hkgname=interpolatedstring-perl6
pkgname=haskell-interpolatedstring-perl6
pkgver=1.0.0
-pkgrel=18
+pkgrel=19
pkgdesc="QuasiQuoter for Perl6-style multi-line interpolated strings"
url="https://github.com/audreyt/interpolatedstring-perl6"
license=('custom:PublicDomain')
arch=('i686' 'x86_64')
-depends=('ghc=8.0.1' 'haskell-src-meta' 'haskell-text')
+depends=('ghc' 'haskell-src-meta' 'haskell-text')
source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
md5sums=('fa05580d47b3d00a74fbe2b0013de14d')
@@ -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" "${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