[arch-commits] Commit in haskell-pretty-show/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Tue Nov 6 20:02:24 UTC 2018
Date: Tuesday, November 6, 2018 @ 20:02:24
Author: felixonmars
Revision: 402050
upgpkg: haskell-pretty-show 1.8.2-4
rebuild with ghc 8.6.1
Modified:
haskell-pretty-show/trunk/PKGBUILD
----------+
PKGBUILD | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-11-06 20:01:41 UTC (rev 402049)
+++ PKGBUILD 2018-11-06 20:02:24 UTC (rev 402050)
@@ -3,7 +3,7 @@
_hkgname=pretty-show
pkgname=haskell-pretty-show
pkgver=1.8.2
-pkgrel=3
+pkgrel=4
pkgdesc='Tools for working with derived `Show` instances and generic inspection of values.'
url="http://wiki.github.com/yav/pretty-show"
license=('MIT')
@@ -14,10 +14,10 @@
sha512sums=('227c809a0e663427ba3e3ee32fe554c7f53a86ce567a0874f73be5f15f4a6e742c53b75960b944bd9a50b7be7d1a90fd34d5aa4119a6076661f51d6ef758210d')
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
@@ -27,11 +27,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