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

Felix Yan felixonmars at archlinux.org
Wed Nov 7 17:51:42 UTC 2018


    Date: Wednesday, November 7, 2018 @ 17:51:42
  Author: felixonmars
Revision: 403024

upgpkg: haskell-simple-sendfile 0.2.27-96

rebuild with ghc 8.6.2

Modified:
  haskell-simple-sendfile/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-11-07 17:50:43 UTC (rev 403023)
+++ PKGBUILD	2018-11-07 17:51:42 UTC (rev 403024)
@@ -4,7 +4,7 @@
 _hkgname=simple-sendfile
 pkgname=haskell-simple-sendfile
 pkgver=0.2.27
-pkgrel=95
+pkgrel=96
 pkgdesc="Cross platform library for the sendfile system call"
 url="https://hackage.haskell.org/package/${_hkgname}"
 license=("custom:BSD3")
@@ -16,10 +16,10 @@
 sha512sums=('a4cc0385619d5047cb56c449d474796a549265100738a1da7f5106e2c67cacf3c6ca0b14d8ca982ed7e1a16263227c6be521735e75293bf04dddbbdbf578cc08')
 
 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 \
             -fallow-bsd
     runhaskell Setup build
@@ -35,11 +35,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