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

Felix Yan felixonmars at archlinux.org
Wed Nov 7 18:35:39 UTC 2018


    Date: Wednesday, November 7, 2018 @ 18:35:39
  Author: felixonmars
Revision: 403085

upgpkg: haskell-dav 1.3.2-148

rebuild with ghc 8.6.2

Modified:
  haskell-dav/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-11-07 18:34:46 UTC (rev 403084)
+++ PKGBUILD	2018-11-07 18:35:39 UTC (rev 403085)
@@ -4,7 +4,7 @@
 _hkgname=DAV
 pkgname=haskell-dav
 pkgver=1.3.2
-pkgrel=147
+pkgrel=148
 pkgdesc="RFC 4918 WebDAV support"
 url="http://floss.scru.org/hDAV"
 license=("GPL3")
@@ -19,10 +19,10 @@
 sha512sums=('8dd729c09f7b415dda13948bbd533606a7ccf45eb933fd6e984539f76defa8f938e6ec0c954c0955630182ee014fd611bd8a4e8a70fc863253d9a3f6a229c497')
 
 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 \
             -fnetwork-uri -f-mtl-compat
     runhaskell Setup build
@@ -33,11 +33,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