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

Felix Yan felixonmars at archlinux.org
Wed Nov 7 16:05:27 UTC 2018


    Date: Wednesday, November 7, 2018 @ 16:05:26
  Author: felixonmars
Revision: 402884

upgpkg: haskell-rerebase 1.3-7

rebuild with ghc 8.6.2

Modified:
  haskell-rerebase/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-11-07 16:04:27 UTC (rev 402883)
+++ PKGBUILD	2018-11-07 16:05:26 UTC (rev 402884)
@@ -4,7 +4,7 @@
 _hkgname=rerebase
 pkgname=haskell-rerebase
 pkgver=1.3
-pkgrel=6
+pkgrel=7
 pkgdesc='Reexports from "base" with a bunch of other standard libraries'
 url="https://github.com/nikita-volkov/rerebase"
 license=("MIT")
@@ -15,10 +15,10 @@
 sha512sums=('c6ff34c4c192bc1b8445b7a9b4b7d27762bf820e0be9cb89bc25b12ae83ebb425e2654d3c29b7713cb20dfe974c88f87a9fa312a5f8cc04f74d69a74f3955bb5')
 
 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,11 +28,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