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

Felix Yan felixonmars at archlinux.org
Tue Nov 6 19:29:01 UTC 2018


    Date: Tuesday, November 6, 2018 @ 19:29:01
  Author: felixonmars
Revision: 401976

upgpkg: haskell-monad-loops 0.4.3-11

rebuild with ghc 8.6.1

Modified:
  haskell-monad-loops/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-11-06 19:28:27 UTC (rev 401975)
+++ PKGBUILD	2018-11-06 19:29:01 UTC (rev 401976)
@@ -4,7 +4,7 @@
 _hkgname=monad-loops
 pkgname=haskell-monad-loops
 pkgver=0.4.3
-pkgrel=10
+pkgrel=11
 pkgdesc="Monadic loops"
 url="https://github.com/mokus0/monad-loops"
 license=("custom:PublicDomain")
@@ -15,10 +15,10 @@
 sha512sums=('41a1314777661a411acf62dfa25cbb1a59fedd5d60d1a2b8566a3dd64dec361ab1fe35827320529a723a612e0443571ce38b17fa900eb8d5289bc52f653d47a5')
 
 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 \
             -fbase4
     runhaskell Setup build
@@ -29,9 +29,9 @@
 }
 
 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"
 }


More information about the arch-commits mailing list