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

Felix Yan felixonmars at archlinux.org
Tue Nov 6 22:40:33 UTC 2018


    Date: Tuesday, November 6, 2018 @ 22:40:32
  Author: felixonmars
Revision: 402365

upgpkg: haskell-safecopy 0.9.4.1-8

rebuild with ghc 8.6.2

Modified:
  haskell-safecopy/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-11-06 22:39:39 UTC (rev 402364)
+++ PKGBUILD	2018-11-06 22:40:32 UTC (rev 402365)
@@ -3,7 +3,7 @@
 _hkgname=safecopy
 pkgname=haskell-safecopy
 pkgver=0.9.4.1
-pkgrel=7
+pkgrel=8
 pkgdesc="Binary serialization with version control."
 url="http://acid-state.seize.it/safecopy"
 license=('custom:PublicDomain')
@@ -19,10 +19,10 @@
 }
 
 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
@@ -32,9 +32,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