[arch-commits] Commit in haskell-th-orphans/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Thu Jun 15 17:57:02 UTC 2017
Date: Thursday, June 15, 2017 @ 17:57:01
Author: felixonmars
Revision: 237323
upgpkg: haskell-th-orphans 0.13.3-12
rebuild with ghc,8.0.2
Modified:
haskell-th-orphans/trunk/PKGBUILD
----------+
PKGBUILD | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-06-15 17:54:55 UTC (rev 237322)
+++ PKGBUILD 2017-06-15 17:57:01 UTC (rev 237323)
@@ -4,13 +4,12 @@
_hkgname=th-orphans
pkgname=haskell-th-orphans
pkgver=0.13.3
-pkgrel=11
+pkgrel=12
pkgdesc="Orphan instances for TH datatypes"
url="http://github.com/ekmett/th-orphans/"
license=('custom:BSD3')
arch=('i686' 'x86_64')
-depends=('ghc=8.0.1' 'haskell-mtl' 'haskell-th-lift' 'haskell-th-lift-instances'
- 'haskell-th-reify-many')
+depends=('ghc' 'haskell-mtl' 'haskell-th-lift' 'haskell-th-lift-instances' 'haskell-th-reify-many')
source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
md5sums=('d56c8222885e82e47076a27224fd4ced')
@@ -17,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
@@ -38,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