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

Felix Yan felixonmars at archlinux.org
Wed Nov 7 12:46:38 UTC 2018


    Date: Wednesday, November 7, 2018 @ 12:46:38
  Author: felixonmars
Revision: 402786

upgpkg: haskell-iproute 1.7.6-4

rebuild with ghc 8.6.2

Modified:
  haskell-iproute/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-11-07 12:45:47 UTC (rev 402785)
+++ PKGBUILD	2018-11-07 12:46:38 UTC (rev 402786)
@@ -4,7 +4,7 @@
 _hkgname=iproute
 pkgname=haskell-iproute
 pkgver=1.7.6
-pkgrel=3
+pkgrel=4
 pkgdesc="IP Routing Table"
 url="http://www.mew.org/~kazu/proj/iproute/"
 license=("custom:BSD3")
@@ -15,10 +15,10 @@
 sha512sums=('51334d7aeeff39f9b203eaf92c1b2cacc5cc1ce442ad3d24fbbef23f7c4242eec3166701b1674f42168660fb9e999e29b62d3c120b5488f7169750838a4d01c2')
 
 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