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

Felix Yan felixonmars at archlinux.org
Wed Nov 7 16:59:35 UTC 2018


    Date: Wednesday, November 7, 2018 @ 16:59:34
  Author: felixonmars
Revision: 402956

upgpkg: haskell-xcb-types 0.9.0-5

rebuild with ghc 8.6.2

Modified:
  haskell-xcb-types/trunk/PKGBUILD

----------+
 PKGBUILD |   14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-11-07 16:58:47 UTC (rev 402955)
+++ PKGBUILD	2018-11-07 16:59:34 UTC (rev 402956)
@@ -4,7 +4,7 @@
 _hkgname=xcb-types
 pkgname=haskell-xcb-types
 pkgver=0.9.0
-pkgrel=4
+pkgrel=5
 pkgdesc="Parses XML files used by the XCB project"
 url="https://hackage.haskell.org/package/${_hkgname}"
 license=("custom:BSD3")
@@ -21,10 +21,10 @@
 }
 
 build() {
-    cd "${srcdir}/${_hkgname}-${pkgver}"
+    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 \
             -fsplit-base
     runhaskell Setup build
@@ -35,11 +35,11 @@
 }
 
 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"
-    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