Date: Tuesday, November 6, 2018 @ 18:10:10 Author: felixonmars Revision: 401781
upgpkg: haskell-clock 0.7.2-10 rebuild with ghc 8.6.1 Modified: haskell-clock/trunk/PKGBUILD ----------+ PKGBUILD | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2018-11-06 18:09:23 UTC (rev 401780) +++ PKGBUILD 2018-11-06 18:10:10 UTC (rev 401781) @@ -4,7 +4,7 @@ _hkgname=clock pkgname=haskell-clock pkgver=0.7.2 -pkgrel=9 +pkgrel=10 pkgdesc="High-resolution clock functions: monotonic, realtime, cputime." url="https://github.com/corsis/clock" license=("custom:BSD3") @@ -15,10 +15,10 @@ sha512sums=('cf44dfca6c0825a003018c68266ef0fe503a9b147aaf784435f6297b365c6d18fc71b63b77a23ee2a3298ace638a35de0c6118e361d43b418a45d4fdd24d57cf') 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-llvm 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" }