Date: Tuesday, November 6, 2018 @ 20:41:15 Author: felixonmars Revision: 402141
upgpkg: haskell-strict 0.3.2-10 rebuild with ghc 8.6.1 Modified: haskell-strict/trunk/PKGBUILD ----------+ PKGBUILD | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2018-11-06 20:40:41 UTC (rev 402140) +++ PKGBUILD 2018-11-06 20:41:15 UTC (rev 402141) @@ -4,7 +4,7 @@ _hkgname=strict pkgname=haskell-strict pkgver=0.3.2 -pkgrel=9 +pkgrel=10 pkgdesc="Strict data types and String IO." url="http://www.cse.unsw.edu.au/~rl/code/strict.html" license=("custom:BSD3") @@ -15,10 +15,10 @@ sha512sums=('ca27ee2b557669c409c0417b2005ceb612ad95040fd4a798535cdbc83b8b7a51a36bb66bc2e7bff04b5b965313894a51910a274d67a891530ed119c831bcd686') build() { - cd "${srcdir}/${_hkgname}-${pkgver}" + cd $_hkgname-$pkgver runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ - --prefix=/usr --docdir="/usr/share/doc/${pkgname}" \ + --prefix=/usr --docdir=/usr/share/doc/$pkgname \ --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ -fsplit-base runhaskell Setup build @@ -29,11 +29,11 @@ } package() { - cd "${srcdir}/${_hkgname}-${pkgver}" + cd $_hkgname-$pkgver - 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}" + 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" install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE" }