Date: Saturday, April 1, 2023 @ 13:22:00 Author: felixonmars Revision: 1431642
upgpkg: haskell-mtl-prelude 2.0.3.2-1: rebuild with mtl-prelude 2.0.3.2 Modified: haskell-mtl-prelude/trunk/PKGBUILD ----------+ PKGBUILD | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2023-04-01 13:20:29 UTC (rev 1431641) +++ PKGBUILD 2023-04-01 13:22:00 UTC (rev 1431642) @@ -2,27 +2,32 @@ _hkgname=mtl-prelude pkgname=haskell-mtl-prelude -pkgver=2.0.3.1 -pkgrel=3 +pkgver=2.0.3.2 +pkgrel=1 pkgdesc='Reexports of most definitions from "mtl" and "transformers"' url="https://github.com/nikita-volkov/mtl-prelude" license=("MIT") arch=('x86_64') depends=('ghc-libs') -makedepends=('ghc') +makedepends=('ghc' 'uusi') source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz") -sha256sums=('c4a6dda093d63bd2161f55030c5825903dfa9b7d5e766c487fd848cb2aa01233') +sha256sums=('40e83a8b08d1d95a1d15430f2d2923bbafe587b9491880ccb93feefe4215a0e9') +prepare() { + cd $_hkgname-$pkgver + gen-setup +} + build() { cd $_hkgname-$pkgver runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ - --prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \ - --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ + --prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname --enable-tests \ + --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm \ --ghc-option=-optl-Wl\,-z\,relro\,-z\,now \ --ghc-option='-pie' - runhaskell Setup build + runhaskell Setup build $MAKEFLAGS runhaskell Setup register --gen-script runhaskell Setup unregister --gen-script sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
