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

Felix Yan felixonmars at archlinux.org
Wed Nov 7 18:30:07 UTC 2018


    Date: Wednesday, November 7, 2018 @ 18:30:07
  Author: felixonmars
Revision: 403075

upgpkg: haskell-feed 1.0.0.0-126

rebuild with ghc 8.6.2

Modified:
  haskell-feed/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-11-07 18:29:07 UTC (rev 403074)
+++ PKGBUILD	2018-11-07 18:30:07 UTC (rev 403075)
@@ -4,7 +4,7 @@
 _hkgname=feed
 pkgname=haskell-feed
 pkgver=1.0.0.0
-pkgrel=125
+pkgrel=126
 pkgdesc="Interfacing with RSS (v 0.9x, 2.x, 1.0) + Atom feeds."
 url="https://github.com/bergmark/feed"
 license=("custom:BSD3")
@@ -23,10 +23,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}" --datasubdir="$pkgname" \
+        --prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir="$pkgname" \
         --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
     runhaskell Setup build
     runhaskell Setup register --gen-script
@@ -36,11 +36,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