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

Felix Yan felixonmars at archlinux.org
Wed Nov 7 18:16:57 UTC 2018


    Date: Wednesday, November 7, 2018 @ 18:16:57
  Author: felixonmars
Revision: 403051

upgpkg: haskell-hjsonschema 1.9.0-118

rebuild with ghc 8.6.2

Modified:
  haskell-hjsonschema/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-11-07 18:15:31 UTC (rev 403050)
+++ PKGBUILD	2018-11-07 18:16:57 UTC (rev 403051)
@@ -4,7 +4,7 @@
 _hkgname=hjsonschema
 pkgname=haskell-hjsonschema
 pkgver=1.9.0
-pkgrel=117
+pkgrel=118
 pkgdesc="JSON Schema library"
 url="https://github.com/seagreen/hjsonschema"
 license=("MIT")
@@ -18,10 +18,10 @@
 sha512sums=('c71f4f23453abbb7e5c3b8a04e9fd2bea560e03ccf590fbad3739f609fe0e4e5292acfe94204b2d52d30f8fda8cc1c94edac41d5095f6be1c4cf8c05ec08e273')
 
 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}" --enable-tests \
+        --prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
         --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
     runhaskell Setup build
     runhaskell Setup register --gen-script
@@ -36,11 +36,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 "MIT-LICENSE.txt" "${pkgdir}/usr/share/licenses/${pkgname}/MIT-LICENSE.txt"
     rm -f "${pkgdir}/usr/share/doc/${pkgname}/MIT-LICENSE.txt"
 }


More information about the arch-commits mailing list