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

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


    Date: Tuesday, November 6, 2018 @ 20:18:12
  Author: felixonmars
Revision: 402086

upgpkg: haskell-regex-pcre 0.94.4-11

rebuild with ghc 8.6.1

Modified:
  haskell-regex-pcre/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-11-06 20:17:28 UTC (rev 402085)
+++ PKGBUILD	2018-11-06 20:18:12 UTC (rev 402086)
@@ -4,7 +4,7 @@
 _hkgname=regex-pcre
 pkgname=haskell-regex-pcre
 pkgver=0.94.4
-pkgrel=10
+pkgrel=11
 pkgdesc="Replaces/Enhances Text.Regex"
 url="https://hackage.haskell.org/package/regex-pcre"
 license=("custom:BSD3")
@@ -15,10 +15,10 @@
 sha512sums=('b14db2fb88f9a70b60cfac0ecc242554929d03982b7ffef18e36a2a8ddbef3bbc3f7f1ccb549aa805aec43f30b3ca22856d2e4315dba15e9c22ed34638dba92e')
 
 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 \
             -fsplitbase -fnewbase
     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