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

Felix Yan felixonmars at archlinux.org
Tue Nov 6 19:44:33 UTC 2018


    Date: Tuesday, November 6, 2018 @ 19:44:33
  Author: felixonmars
Revision: 402008

upgpkg: haskell-only 0.1-8

rebuild with ghc 8.6.1

Modified:
  haskell-only/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-11-06 19:43:57 UTC (rev 402007)
+++ PKGBUILD	2018-11-06 19:44:33 UTC (rev 402008)
@@ -4,7 +4,7 @@
 _hkgname=Only
 pkgname=haskell-only
 pkgver=0.1
-pkgrel=7
+pkgrel=8
 pkgdesc='The 1-tuple type or single-value "collection"'
 url="https://github.com/hvr/Only"
 license=("custom:BSD3")
@@ -15,10 +15,10 @@
 sha512sums=('6b64178a433079449b6840b03345e70f2c5c03e322184a60d3ff2f4d0ae48be87042ff32dc1cabe1911b6c43f7162090ee067aa582c6d5ab56610ca4897a33de')
 
 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