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

Felix Yan felixonmars at archlinux.org
Tue Nov 6 19:58:36 UTC 2018


    Date: Tuesday, November 6, 2018 @ 19:58:36
  Author: felixonmars
Revision: 402042

upgpkg: haskell-cpphs 1.20.8-12

rebuild with ghc 8.6.1

Modified:
  haskell-cpphs/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-11-06 19:57:52 UTC (rev 402041)
+++ PKGBUILD	2018-11-06 19:58:36 UTC (rev 402042)
@@ -4,7 +4,7 @@
 _hkgname=cpphs
 pkgname=haskell-cpphs
 pkgver=1.20.8
-pkgrel=11
+pkgrel=12
 pkgdesc="A liberalised re-implementation of cpp, the C pre-processor."
 url="http://projects.haskell.org/cpphs/"
 license=("LGPL")
@@ -15,10 +15,10 @@
 sha512sums=('ec9323f9e1cb6de450d8af6b6b98005bf46427c2926694e1cba942fd54a03d9d36a7e8f2541eb095949110ddaf6317597699b7c4472942a509d496cb9b4da747')
 
 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
     runhaskell Setup build
     runhaskell Setup register --gen-script
@@ -28,9 +28,9 @@
 }
 
 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"
 }


More information about the arch-commits mailing list