[arch-commits] Commit in haskell-pattern-arrows/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Tue Nov 6 19:53:36 UTC 2018
Date: Tuesday, November 6, 2018 @ 19:53:35
Author: felixonmars
Revision: 402032
upgpkg: haskell-pattern-arrows 0.0.2-11
rebuild with ghc 8.6.1
Modified:
haskell-pattern-arrows/trunk/PKGBUILD
----------+
PKGBUILD | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-11-06 19:53:01 UTC (rev 402031)
+++ PKGBUILD 2018-11-06 19:53:35 UTC (rev 402032)
@@ -4,7 +4,7 @@
_hkgname=pattern-arrows
pkgname=haskell-pattern-arrows
pkgver=0.0.2
-pkgrel=10
+pkgrel=11
pkgdesc="Arrows for Pretty Printing"
url="http://blog.functorial.com/posts/2013-10-27-Pretty-Printing-Arrows.html"
license=("MIT")
@@ -15,10 +15,10 @@
sha512sums=('085d4c2e023a4762af885ec9043ca5b16fae3de4b9ecca879d8a4415d027febeef6b10d705ef0bfbdae1db7346c29269bd60c14a4ca06197d2747748ed3e0070')
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