[arch-commits] Commit in haskell-monadrandom/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Tue Nov 6 21:50:15 UTC 2018
Date: Tuesday, November 6, 2018 @ 21:50:14
Author: felixonmars
Revision: 402274
upgpkg: haskell-monadrandom 0.5.1.1-7
rebuild with ghc 8.6.2
Modified:
haskell-monadrandom/trunk/PKGBUILD
----------+
PKGBUILD | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-11-06 21:49:36 UTC (rev 402273)
+++ PKGBUILD 2018-11-06 21:50:14 UTC (rev 402274)
@@ -4,7 +4,7 @@
_hkgname=MonadRandom
pkgname=haskell-monadrandom
pkgver=0.5.1.1
-pkgrel=6
+pkgrel=7
pkgdesc="Random-number generation monad."
url="https://hackage.haskell.org/package/${_hkgname}"
license=("custom")
@@ -15,10 +15,10 @@
sha512sums=('0a3c15076f162e985b37c14981d1fb89ab835cbfde207b7825ae27088d81218949336599b56c56c36a653a99566319c60d95bea9acab3248749b39597a297edb')
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