[arch-commits] Commit in haskell-th-reify-many/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Thu Jun 15 16:36:35 UTC 2017
Date: Thursday, June 15, 2017 @ 16:36:35
Author: felixonmars
Revision: 237242
upgpkg: haskell-th-reify-many 0.1.7-2
rebuild with ghc,8.0.2
Modified:
haskell-th-reify-many/trunk/PKGBUILD
----------+
PKGBUILD | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-06-15 16:35:09 UTC (rev 237241)
+++ PKGBUILD 2017-06-15 16:36:35 UTC (rev 237242)
@@ -4,12 +4,12 @@
_hkgname=th-reify-many
pkgname=haskell-th-reify-many
pkgver=0.1.7
-pkgrel=1
+pkgrel=2
pkgdesc="Recurseively reify template haskell datatype info"
url="http://github.com/mgsloan/th-reify-many"
license=('custom:BSD3')
arch=('i686' 'x86_64')
-depends=('ghc=8.0.1' 'haskell-mtl' 'haskell-safe' 'haskell-th-expand-syns')
+depends=('ghc' 'haskell-mtl' 'haskell-safe' 'haskell-th-expand-syns')
source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
sha512sums=('ab7dd43c0e1f957b962d1c8b688eeef0525e487c8643765bfcdc1ababce36e1763da03aff75e2c5fbe7d2c0c005455192f914909f1cd9ae5bb3cbdeabb5d6c5f')
@@ -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