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

Felix Yan felixonmars at archlinux.org
Wed Nov 7 13:18:10 UTC 2018


    Date: Wednesday, November 7, 2018 @ 13:18:09
  Author: felixonmars
Revision: 402840

upgpkg: haskell-checkers 0.4.11-12

rebuild with ghc 8.6.2

Modified:
  haskell-checkers/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-11-07 13:17:19 UTC (rev 402839)
+++ PKGBUILD	2018-11-07 13:18:09 UTC (rev 402840)
@@ -3,7 +3,7 @@
 _hkgname=checkers
 pkgname=haskell-checkers
 pkgver=0.4.11
-pkgrel=11
+pkgrel=12
 pkgdesc="Check properties on standard classes and data structures"
 url="https://github.com/conal/checkers"
 license=('custom:BSD3')
@@ -14,10 +14,10 @@
 sha512sums=('beffe2d1e2e9ba08c07a5885278f8b616205110670b46bbcbd590cae342e5978fdc79347054d6c49e73f41bc4f5028cf5d3bf2aca4e7ae37da00578a63a49ca4')
 
 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
@@ -27,11 +27,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 "COPYING" "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
     rm -f "${pkgdir}/usr/share/doc/${pkgname}/COPYING"
 }


More information about the arch-commits mailing list