diff options
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 14 |
2 files changed, 8 insertions, 8 deletions
@@ -1,7 +1,7 @@ pkgbase = ghcid pkgdesc = GHCi based bare bones IDE pkgver = 0.8.7 - pkgrel = 2 + pkgrel = 3 url = https://github.com/ndmitchell/ghcid arch = x86_64 license = BSD @@ -3,7 +3,7 @@ _hkgname=ghcid pkgname=ghcid pkgver=0.8.7 -pkgrel=2 +pkgrel=3 pkgdesc="GHCi based bare bones IDE" arch=("x86_64") url="https://github.com/ndmitchell/ghcid" @@ -16,22 +16,22 @@ sha512sums=("69748c115db36d4b41dafdbbfaeedc80be3a3bdadf15b16386e36138193fcc8c89d build() { cd "$_hkgname-$pkgver" - runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ + /usr/bin/runhaskell Setup configure -w /usr/bin/ghc -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 \ --ghc-option=-optl-Wl\,-z\,relro\,-z\,now \ --ghc-option=-pie - runhaskell Setup build $MAKEFLAGS - runhaskell Setup register --gen-script - runhaskell Setup unregister --gen-script + /usr/bin/runhaskell Setup build $MAKEFLAGS + /usr/bin/runhaskell Setup register --gen-script + /usr/bin/runhaskell Setup unregister --gen-script sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh } check() { cd "$_hkgname-$pkgver" - runhaskell Setup test || echo "Tests failed" + /usr/bin/runhaskell Setup test || echo "Tests failed" } package() { @@ -39,7 +39,7 @@ package() { install -D -m744 register.sh "$pkgdir/usr/share/haskell/register/$pkgname.sh" install -D -m744 unregister.sh "$pkgdir/usr/share/haskell/unregister/$pkgname.sh" - runhaskell Setup copy --destdir="$pkgdir" + /usr/bin/runhaskell Setup copy --destdir="$pkgdir" install -D -m644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" rm -f "$pkgdir/usr/share/doc/$pkgname/LICENSE" } |