[arch-commits] Commit in haskell-hsyaml/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Tue Nov 6 21:26:05 UTC 2018
Date: Tuesday, November 6, 2018 @ 21:26:04
Author: felixonmars
Revision: 402216
upgpkg: haskell-hsyaml 0.1.1.2-4
rebuild with ghc 8.6.2
Modified:
haskell-hsyaml/trunk/PKGBUILD
----------+
PKGBUILD | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-11-06 21:25:17 UTC (rev 402215)
+++ PKGBUILD 2018-11-06 21:26:04 UTC (rev 402216)
@@ -3,7 +3,7 @@
_hkgname=HsYAML
pkgname=haskell-hsyaml
pkgver=0.1.1.2
-pkgrel=3
+pkgrel=4
pkgdesc="Pure Haskell YAML 1.2 parser"
url="https://github.com/hvr/HsYAML"
license=('GPL')
@@ -22,7 +22,7 @@
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
@@ -34,8 +34,8 @@
package() {
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"
rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.GPLv{2,3}
}
More information about the arch-commits
mailing list