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

Felix Yan felixonmars at archlinux.org
Tue Nov 6 19:20:18 UTC 2018


    Date: Tuesday, November 6, 2018 @ 19:20:18
  Author: felixonmars
Revision: 401952

upgpkg: haskell-libxml 0.1.1-6

rebuild with ghc 8.6.1

Modified:
  haskell-libxml/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-11-06 19:19:45 UTC (rev 401951)
+++ PKGBUILD	2018-11-06 19:20:18 UTC (rev 401952)
@@ -3,7 +3,7 @@
 _hkgname=libxml
 pkgname=haskell-libxml
 pkgver=0.1.1
-pkgrel=5
+pkgrel=6
 pkgdesc="Binding to libxml2"
 url="https://hackage.haskell.org/package/libxml"
 license=('custom:BSD3')
@@ -14,10 +14,10 @@
 sha512sums=('59a52200e7c7ab17a60a89e4a3aefdf6356e868be6be53696e5708a4d30863ae879834404ccfecb91b6d4b93a7ce0e147a3cc04bc4d5838c2aa990a290af5c5c')
 
 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}" --extra-include-dirs=/usr/include/libxml2 \
+        --prefix=/usr --docdir=/usr/share/doc/$pkgname --extra-include-dirs=/usr/include/libxml2 \
         --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
             -fsmall_base
     runhaskell Setup build
@@ -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" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
     rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
 }


More information about the arch-commits mailing list