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

Felix Yan felixonmars at archlinux.org
Tue Nov 6 23:28:41 UTC 2018


    Date: Tuesday, November 6, 2018 @ 23:28:41
  Author: felixonmars
Revision: 402463

upgpkg: haskell-fingertree 0.1.4.1-9

rebuild with ghc 8.6.2

Modified:
  haskell-fingertree/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-11-06 23:27:48 UTC (rev 402462)
+++ PKGBUILD	2018-11-06 23:28:41 UTC (rev 402463)
@@ -4,7 +4,7 @@
 _hkgname=fingertree
 pkgname=haskell-fingertree
 pkgver=0.1.4.1
-pkgrel=8
+pkgrel=9
 pkgdesc="Generic finger-tree structure, with example instances"
 url="https://hackage.haskell.org/package/${_hkgname}"
 license=("custom:BSD3")
@@ -16,10 +16,10 @@
 sha512sums=('91f676c29ada1944f3da6f16923fcaab2f550bac819357f4ad47c0429298ced23057c8d63ce6d6b0e33f441b1bb9857853ed90a1b964c00abb3ad2fecdaefcaf')
 
 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}" --enable-tests \
+        --prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
         --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
     runhaskell Setup build
     runhaskell Setup register --gen-script
@@ -34,11 +34,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