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

Felix Yan felixonmars at archlinux.org
Tue Nov 6 20:43:55 UTC 2018


    Date: Tuesday, November 6, 2018 @ 20:43:54
  Author: felixonmars
Revision: 402147

upgpkg: haskell-syb 0.7-8

rebuild with ghc 8.6.1

Modified:
  haskell-syb/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-11-06 20:43:18 UTC (rev 402146)
+++ PKGBUILD	2018-11-06 20:43:54 UTC (rev 402147)
@@ -6,7 +6,7 @@
 _hkgname=syb
 pkgname=haskell-syb
 pkgver=0.7
-pkgrel=7
+pkgrel=8
 pkgdesc="library for generic programming in Haskell"
 url="https://hackage.haskell.org/package/${_hkgname}"
 license=('custom:BSD3')
@@ -17,10 +17,10 @@
 sha512sums=('b1bc61cfb828dcf344784ca1686b563bfe12388363fe387b86ddfa8a90f6f38a2f2a595cff969cb577e0a6460c2ad032d7477b701bd2503cc05ee6f974c5bcb9')
 
 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
@@ -30,11 +30,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