Date: Tuesday, November 6, 2018 @ 19:50:41 Author: felixonmars Revision: 402024
upgpkg: haskell-parser-combinators 1.0.0-4 rebuild with ghc 8.6.1 Modified: haskell-parser-combinators/trunk/PKGBUILD ----------+ PKGBUILD | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2018-11-06 19:49:58 UTC (rev 402023) +++ PKGBUILD 2018-11-06 19:50:41 UTC (rev 402024) @@ -4,7 +4,7 @@ _hkgname=parser-combinators pkgname=haskell-parser-combinators pkgver=1.0.0 -pkgrel=3 +pkgrel=4 pkgdesc="Lightweight package providing commonly useful parser combinators" url="https://github.com/mrkkrp/parser-combinators" license=("custom:BSD3") @@ -15,10 +15,10 @@ sha512sums=('308b38faca865801c2356b9eb0128824956f00a31d98de075166018b34d53a04bad0dc7f1afabafa9946b307ef3fb77df303db78ac7bd6ff476c9b96a3020e9c') 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 \ -f-dev 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.md" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.md" rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE.md" }