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

Felix Yan felixonmars at archlinux.org
Tue Nov 6 17:56:26 UTC 2018


    Date: Tuesday, November 6, 2018 @ 17:56:26
  Author: felixonmars
Revision: 401751

upgpkg: haskell-basement 0.0.8-3

rebuild with ghc 8.6.1

Modified:
  haskell-basement/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-11-06 17:55:23 UTC (rev 401750)
+++ PKGBUILD	2018-11-06 17:56:26 UTC (rev 401751)
@@ -4,7 +4,7 @@
 _hkgname=basement
 pkgname=haskell-basement
 pkgver=0.0.8
-pkgrel=2
+pkgrel=3
 pkgdesc="Foundation scrap box of array & string"
 url="https://github.com/haskell-foundation/foundation"
 license=("custom:BSD3")
@@ -15,10 +15,10 @@
 sha512sums=('37969ab403b23ac1f129eb6e2f81d46f53e6ba931a59695cc9a37a7387a77b24e9ba6da9cdec1ee2523410a9dad9ee5af0f8a45b59af7d07f4d467e1ad55b66f')
 
 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