diff options
-rw-r--r-- | .SRCINFO | 11 | ||||
-rw-r--r-- | PKGBUILD | 16 |
2 files changed, 8 insertions, 19 deletions
@@ -1,23 +1,16 @@ pkgbase = haskell-ghc-exactprint pkgdesc = Using the API Annotations available from GHC 7.10.2, this library provides a means to round trip any code that can be compiled by GHC, currently excluding lhs files. pkgver = 0.5.4.0 - pkgrel = 1 + pkgrel = 2 url = https://hackage.haskell.org/package/ghc-exactprint arch = i686 arch = x86_64 license = custom:BSD3 depends = ghc>=7.10.2 - depends = haskell-diff - depends = haskell-filemanip - depends = haskell-free depends = haskell-ghc-paths>=0.1 - depends = haskell-hunit depends = haskell-mtl>=2.2.1 depends = haskell-syb>=0.5 - depends = haskell-temporary - depends = haskell-text>=1.2.2 - depends = haskell-turtle>=1.3.0 - options = strip + depends = haskell-free>=4.12 source = https://hackage.haskell.org/package/ghc-exactprint-0.5.4.0/ghc-exactprint-0.5.4.0.tar.gz sha256sums = d39a76c0659290075adb053c22fe4147c395a8e29f512008b16de418039aeece @@ -3,30 +3,23 @@ _hkgname=ghc-exactprint pkgname=haskell-ghc-exactprint pkgver=0.5.4.0 -pkgrel=1 +pkgrel=2 pkgdesc="Using the API Annotations available from GHC 7.10.2, this library provides a means to round trip any code that can be compiled by GHC, currently excluding lhs files." arch=('i686' 'x86_64') url="https://hackage.haskell.org/package/${_hkgname}" license=("custom:BSD3") depends=("ghc>=7.10.2" - "haskell-diff" - "haskell-filemanip" - "haskell-free" "haskell-ghc-paths>=0.1" - "haskell-hunit" "haskell-mtl>=2.2.1" "haskell-syb>=0.5" - "haskell-temporary" - "haskell-text>=1.2.2" - "haskell-turtle>=1.3.0") -options=('strip') + "haskell-free>=4.12") source=("https://hackage.haskell.org/package/${_hkgname}-${pkgver}/${_hkgname}-${pkgver}.tar.gz") sha256sums=('d39a76c0659290075adb053c22fe4147c395a8e29f512008b16de418039aeece') 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 @@ -47,4 +40,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 } |