diff options
-rw-r--r-- | .SRCINFO | 3 | ||||
-rw-r--r-- | PKGBUILD | 8 |
2 files changed, 6 insertions, 5 deletions
@@ -1,13 +1,12 @@ pkgbase = haskell-ghc-events pkgdesc = Parses .eventlog files emitted by GHC 6.12.1 and later. Includes the ghc-events tool permitting, in particular, to dump an event log file as text. pkgver = 0.6.0 - pkgrel = 1 + pkgrel = 2 url = http://hackage.haskell.org/package/ghc-events arch = i686 arch = x86_64 license = custom:BSD3 depends = ghc>=8.0.1 - options = strip source = https://hackage.haskell.org/package/ghc-events-0.6.0/ghc-events-0.6.0.tar.gz sha256sums = 277da9dcd9a1910e530c76b2ad8875868f5e2d8acff44091623dc97255ce0769 @@ -3,20 +3,19 @@ _hkgname=ghc-events pkgname=haskell-ghc-events pkgver=0.6.0 -pkgrel=1 +pkgrel=2 pkgdesc="Parses .eventlog files emitted by GHC 6.12.1 and later. Includes the ghc-events tool permitting, in particular, to dump an event log file as text." url="http://hackage.haskell.org/package/${_hkgname}" license=('custom:BSD3') arch=('i686' 'x86_64') depends=('ghc>=8.0.1') -options=('strip') source=("https://hackage.haskell.org/package/${_hkgname}-${pkgver}/${_hkgname}-${pkgver}.tar.gz") sha256sums=('277da9dcd9a1910e530c76b2ad8875868f5e2d8acff44091623dc97255ce0769') 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 +36,7 @@ package() { 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 } |