[arch-commits] Commit in haskell-time-locale-compat/trunk (PKGBUILD)

Felix Yan felixonmars at archlinux.org
Tue Nov 6 21:43:51 UTC 2018


    Date: Tuesday, November 6, 2018 @ 21:43:50
  Author: felixonmars
Revision: 402256

upgpkg: haskell-time-locale-compat 0.1.1.5-3

rebuild with ghc 8.6.2

Modified:
  haskell-time-locale-compat/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-11-06 21:43:50 UTC (rev 402255)
+++ PKGBUILD	2018-11-06 21:43:50 UTC (rev 402256)
@@ -4,7 +4,7 @@
 _hkgname=time-locale-compat
 pkgname=haskell-time-locale-compat
 pkgver=0.1.1.5
-pkgrel=2
+pkgrel=3
 pkgdesc="Compatibile module for time-format locale"
 url="http://twitter.com/khibino/"
 license=("custom:BSD3")
@@ -15,10 +15,10 @@
 sha512sums=('a8a87b77f017ca7e4db98101b527016a39abe4f264b3684b887464c53b792f564d0bec3304d8ed5f5889a3e3cb7e41f4d049e61e5adab688363a3342608f695c')
 
 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 \
             -f-old-locale
     runhaskell Setup build
@@ -29,11 +29,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