Date: Tuesday, November 6, 2018 @ 19:26:26 Author: felixonmars Revision: 401968
upgpkg: haskell-mime-types 0.1.0.8-3 rebuild with ghc 8.6.1 Modified: haskell-mime-types/trunk/PKGBUILD ----------+ PKGBUILD | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2018-11-06 19:25:45 UTC (rev 401967) +++ PKGBUILD 2018-11-06 19:26:26 UTC (rev 401968) @@ -5,7 +5,7 @@ _hkgname=mime-types pkgname=haskell-mime-types pkgver=0.1.0.8 -pkgrel=2 +pkgrel=3 pkgdesc="Basic mime-type handling types and functions" url="https://hackage.haskell.org/package/${_hkgname}" license=('MIT') @@ -16,9 +16,9 @@ sha512sums=('acbc69bbaac28db72da2b23f6da3654a69eea236e836f078ab3bfd09d9e9e199ad81cd72105ab42681ed0534152ce4ee5c3f2816a8617c2e1c9cda60dda4cf9f') 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 -fnetwork-uri runhaskell Setup build runhaskell Setup register --gen-script @@ -28,11 +28,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" }