[arch-commits] Commit in haskell-primitive/trunk (PKGBUILD)

Felix Yan felixonmars at archlinux.org
Tue Nov 6 20:05:06 UTC 2018


    Date: Tuesday, November 6, 2018 @ 20:05:06
  Author: felixonmars
Revision: 402056

upgpkg: haskell-primitive 0.6.4.0-3

rebuild with ghc 8.6.1

Modified:
  haskell-primitive/trunk/PKGBUILD

----------+
 PKGBUILD |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-11-06 20:04:22 UTC (rev 402055)
+++ PKGBUILD	2018-11-06 20:05:06 UTC (rev 402056)
@@ -3,7 +3,7 @@
 
 pkgname=haskell-primitive
 pkgver=0.6.4.0
-pkgrel=2
+pkgrel=3
 pkgdesc="Wrappers for primitive operations"
 url="https://hackage.haskell.org/package/primitive"
 license=("custom:BSD3")
@@ -21,7 +21,7 @@
 build() {
   cd primitive-$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
@@ -32,8 +32,8 @@
 
 package() {
   cd primitive-$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"
+  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 -Dm644 LICENSE "$pkgdir"/usr/share/licenses/${pkgname}/LICENSE
   rm -f "$pkgdir"/usr/share/doc/${pkgname}/LICENSE


More information about the arch-commits mailing list