[arch-commits] Commit in haskell-ghc-typelits-extra/trunk (PKGBUILD)

Felix Yan felixonmars at archlinux.org
Tue Nov 6 23:06:15 UTC 2018


    Date: Tuesday, November 6, 2018 @ 23:06:14
  Author: felixonmars
Revision: 402417

upgpkg: haskell-ghc-typelits-extra 0.3-7

rebuild with ghc 8.6.2

Modified:
  haskell-ghc-typelits-extra/trunk/PKGBUILD

----------+
 PKGBUILD |   10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-11-06 23:05:36 UTC (rev 402416)
+++ PKGBUILD	2018-11-06 23:06:14 UTC (rev 402417)
@@ -3,7 +3,7 @@
 _hkgname=ghc-typelits-extra
 pkgname=haskell-ghc-typelits-extra
 pkgver=0.3
-pkgrel=6
+pkgrel=7
 pkgdesc="Additional type-level operations on GHC.TypeLits.Nat"
 url="https://github.com/clash-lang/ghc-typelits-extra"
 license=('custom:BSD2')
@@ -18,7 +18,7 @@
     cd $_hkgname-$pkgver
     
     runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \
-        --prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
+        --prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
         --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
     runhaskell Setup build
     runhaskell Setup register --gen-script
@@ -35,9 +35,9 @@
 package() {
     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"
 }


More information about the arch-commits mailing list