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

Felix Yan felixonmars at archlinux.org
Tue Nov 6 20:24:39 UTC 2018


    Date: Tuesday, November 6, 2018 @ 20:24:38
  Author: felixonmars
Revision: 402098

upgpkg: haskell-roman-numerals 0.5.1.5-14

rebuild with ghc 8.6.1

Modified:
  haskell-roman-numerals/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-11-06 20:24:01 UTC (rev 402097)
+++ PKGBUILD	2018-11-06 20:24:38 UTC (rev 402098)
@@ -4,7 +4,7 @@
 _hkgname=roman-numerals
 pkgname=haskell-roman-numerals
 pkgver=0.5.1.5
-pkgrel=13
+pkgrel=14
 pkgdesc="Parsing and pretty printing of Roman numerals"
 url="https://github.com/roelvandijk/roman-numerals"
 license=("custom:BSD3")
@@ -15,10 +15,10 @@
 sha512sums=('9c202664f9d4f1afecc439a4b7d348a0d1cf5b97494e1e345e56818056605678cd4b0b3036b5205f2966b60539409d3ac5c2b6a46a51d3e98b405cf055746844')
 
 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