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

Felix Yan felixonmars at archlinux.org
Tue Nov 6 21:22:37 UTC 2018


    Date: Tuesday, November 6, 2018 @ 21:22:36
  Author: felixonmars
Revision: 402210

upgpkg: haskell-data-default 0.7.1.1-17

rebuild with ghc 8.6.2

Modified:
  haskell-data-default/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-11-06 21:21:57 UTC (rev 402209)
+++ PKGBUILD	2018-11-06 21:22:36 UTC (rev 402210)
@@ -3,7 +3,7 @@
 _hkgname=data-default
 pkgname=haskell-data-default
 pkgver=0.7.1.1
-pkgrel=16
+pkgrel=17
 pkgdesc="A class for types with a default value"
 url="https://hackage.haskell.org/package/${_hkgname}"
 license=('custom:BSD3')
@@ -16,7 +16,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 -fnetwork-uri
     runhaskell Setup build
     runhaskell Setup register   --gen-script
@@ -26,10 +26,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 ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
     rm -f ${pkgdir}/usr/share/doc/${pkgname}/LICENSE


More information about the arch-commits mailing list