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

Felix Yan felixonmars at archlinux.org
Wed Nov 7 10:48:28 UTC 2018


    Date: Wednesday, November 7, 2018 @ 10:48:27
  Author: felixonmars
Revision: 402696

upgpkg: haskell-path-io 1.4.0-18

rebuild with ghc 8.6.2

Modified:
  haskell-path-io/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-11-07 10:47:49 UTC (rev 402695)
+++ PKGBUILD	2018-11-07 10:48:27 UTC (rev 402696)
@@ -5,7 +5,7 @@
 _hkgname=path-io
 pkgname=haskell-path-io
 pkgver=1.4.0
-pkgrel=17
+pkgrel=18
 pkgdesc="Interface to ‘directory’ package for users of ‘path’"
 url="https://github.com/mrkkrp/path-io"
 license=("custom:BSD3")
@@ -23,7 +23,7 @@
 build() {
   cd "$srcdir/$_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-dev
   runhaskell Setup build
@@ -34,10 +34,10 @@
 }
 
 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"
+  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.md" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.md"
   rm -f "$pkgdir/usr/share/doc/$pkgname/LICENSE.md"


More information about the arch-commits mailing list