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

Felix Yan felixonmars at archlinux.org
Tue Nov 6 19:15:40 UTC 2018


    Date: Tuesday, November 6, 2018 @ 19:15:39
  Author: felixonmars
Revision: 401941

upgpkg: haskell-iwlib 0.1.0-5

rebuild with ghc 8.6.1

Modified:
  haskell-iwlib/trunk/PKGBUILD

----------+
 PKGBUILD |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-11-06 19:15:34 UTC (rev 401940)
+++ PKGBUILD	2018-11-06 19:15:39 UTC (rev 401941)
@@ -2,7 +2,7 @@
 _hkgname=iwlib
 pkgname=haskell-iwlib
 pkgver=0.1.0
-pkgrel=4
+pkgrel=5
 pkgdesc='Binding to the iw library for getting info about the current WiFi connection'
 url='http://hackage.haskell.org/package/iwlib'
 license=('BSD')
@@ -15,7 +15,7 @@
 build() {
   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
     runhaskell Setup build
     runhaskell Setup haddock
@@ -29,7 +29,7 @@
   install -Dm 744 register.sh "${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
   install -Dm 744 unregister.sh "${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
   install -dm 755 "${pkgdir}/usr/share/doc/ghc/html/libraries"
-  runhaskell Setup copy --destdir="${pkgdir}"
+  runhaskell Setup copy --destdir="$pkgdir"
 
   install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
   install -Dm 644 readme.md -t "${pkgdir}/usr/share/doc/${pkgname}"



More information about the arch-commits mailing list