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

Felix Yan felixonmars at archlinux.org
Tue Nov 6 17:59:00 UTC 2018


    Date: Tuesday, November 6, 2018 @ 17:58:59
  Author: felixonmars
Revision: 401757

upgpkg: haskell-bindings-uname 0.1-8

rebuild with ghc 8.6.1

Modified:
  haskell-bindings-uname/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-11-06 17:58:27 UTC (rev 401756)
+++ PKGBUILD	2018-11-06 17:58:59 UTC (rev 401757)
@@ -4,7 +4,7 @@
 _hkgname=bindings-uname
 pkgname=haskell-bindings-uname
 pkgver=0.1
-pkgrel=7
+pkgrel=8
 pkgdesc="Low-level binding to POSIX uname(3)"
 url="https://hackage.haskell.org/package/bindings-uname"
 license=("custom:PublicDomain")
@@ -15,10 +15,10 @@
 sha512sums=('e668b8524cd35e0558d2321f8b89e5b8f9666d43c6950a4b8e56468a84d4664bd7f6c679160fd85370ba3109fb38c00d15bf0ece9da548affcba7ec375b8b394')
 
 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,9 +28,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