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

Felix Yan felixonmars at archlinux.org
Tue Nov 6 20:53:13 UTC 2018


    Date: Tuesday, November 6, 2018 @ 20:53:13
  Author: felixonmars
Revision: 402155

upgpkg: haskell-tabular 0.2.2.7-11

rebuild with ghc 8.6.2

Modified:
  haskell-tabular/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-11-06 20:52:27 UTC (rev 402154)
+++ PKGBUILD	2018-11-06 20:53:13 UTC (rev 402155)
@@ -4,7 +4,7 @@
 _hkgname=tabular
 pkgname=haskell-tabular
 pkgver=0.2.2.7
-pkgrel=10
+pkgrel=11
 pkgdesc="Two-dimensional data tables with rendering functions"
 url="http://hub.darcs.net/kowey/tabular"
 license=("custom:BSD3")
@@ -15,10 +15,10 @@
 sha512sums=('e56bb8731d325a9b705ce4374431bd72a05f336d0918976d72a664b10ccd4468d99d443914f307d9ee7d89508a5c54e629b7ebbb82f3e7f26b202a82771679c8')
 
 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
@@ -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