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

Felix Yan felixonmars at archlinux.org
Tue Nov 6 20:07:03 UTC 2018


    Date: Tuesday, November 6, 2018 @ 20:07:03
  Author: felixonmars
Revision: 402060

upgpkg: haskell-abstract-deque 0.3-10

rebuild with ghc 8.6.1

Modified:
  haskell-abstract-deque/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-11-06 20:06:21 UTC (rev 402059)
+++ PKGBUILD	2018-11-06 20:07:03 UTC (rev 402060)
@@ -4,7 +4,7 @@
 _hkgname=abstract-deque
 pkgname=haskell-abstract-deque
 pkgver=0.3
-pkgrel=9
+pkgrel=10
 pkgdesc="Abstract, parameterized interface to mutable Deques."
 url="https://github.com/rrnewton/haskell-lockfree/wiki"
 license=("custom:BSD3")
@@ -15,10 +15,10 @@
 sha512sums=('9293a366918f54458ffe13f6737bab2bee961b730732eff563d900b451bf5f7dde30276c9406bfc5c0ea64104afb70db3588b13d478bf9c60842dad906195f7a')
 
 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 \
             -f-usecas
     runhaskell Setup build
@@ -29,11 +29,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