Date: Monday, June 19, 2017 @ 06:27:50 Author: felixonmars Revision: 238123
upgpkg: xmonad-contrib 0.13-2 rebuild with ghc,8.0.2 Modified: xmonad-contrib/trunk/PKGBUILD ----------+ PKGBUILD | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2017-06-19 06:27:36 UTC (rev 238122) +++ PKGBUILD 2017-06-19 06:27:50 UTC (rev 238123) @@ -5,19 +5,22 @@ pkgname=xmonad-contrib pkgver=0.13 -pkgrel=1 +pkgrel=2 pkgdesc="Add-ons for xmonad" arch=('i686' 'x86_64') url="http://xmonad.org/" license=('BSD') -depends=('ghc=8.0.1' 'xmonad=0.13' 'sh' 'haskell-x11' 'haskell-x11-xft' 'haskell-utf8-string' 'haskell-random' 'haskell-old-time') +depends=('ghc' 'xmonad' 'sh' 'haskell-x11' 'haskell-x11-xft' 'haskell-utf8-string' 'haskell-random' + 'haskell-old-time') source=("$pkgname-$pkgver.tar.gz::https://github.com/xmonad/xmonad-contrib/archive/v${pkgver}.tar.gz") +md5sums=('ccda8bbc3dd0c23ec98a1c6668716f59') build() { cd $srcdir/$pkgname-$pkgver - runhaskell Setup.lhs configure --ghc --enable-shared --enable-split-objs --prefix=/usr -fuse_xft \ - --libsubdir=\$compiler/site-local/\$pkgid --docdir=/usr/share/doc/${pkgname} + runhaskell Setup.lhs configure -O --enable-shared --enable-executable-dynamic \ + --prefix=/usr -fuse_xft --libsubdir=\$compiler/site-local/\$pkgid \ + --docdir=/usr/share/doc/${pkgname} runhaskell Setup build runhaskell Setup haddock runhaskell Setup register --gen-script @@ -35,5 +38,7 @@ ln -s /usr/share/doc/$pkgname/html "$pkgdir/usr/share/doc/ghc/html/libraries/$pkgname" install -D LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" + + # Remove static libs + find "$pkgdir"/usr/lib -name "*.a" -delete } -md5sums=('ccda8bbc3dd0c23ec98a1c6668716f59')