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

Felix Yan felixonmars at archlinux.org
Tue Nov 6 19:17:27 UTC 2018


    Date: Tuesday, November 6, 2018 @ 19:17:27
  Author: felixonmars
Revision: 401946

upgpkg: haskell-knob 0.1.1-7

rebuild with ghc 8.6.1

Modified:
  haskell-knob/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-11-06 19:16:51 UTC (rev 401945)
+++ PKGBUILD	2018-11-06 19:17:27 UTC (rev 401946)
@@ -4,7 +4,7 @@
 _hkgname=knob
 pkgname=haskell-knob
 pkgver=0.1.1
-pkgrel=6
+pkgrel=7
 pkgdesc="Memory-backed handles"
 url="https://john-millikin.com/software/knob"
 license=("MIT")
@@ -15,10 +15,10 @@
 sha512sums=('b13e9a88de99fa941521135c7f61be4ad5b838806e7424ac4b38607d59635ec2ddd6808560f1568f6d974c531185d43b5e1510886e07bcb567b859a12659277b')
 
 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.txt" "${pkgdir}/usr/share/licenses/${pkgname}/license.txt"
     rm -f "${pkgdir}/usr/share/doc/${pkgname}/license.txt"
 }



More information about the arch-commits mailing list