[arch-commits] Commit in haskell-pipes-http/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Wed Nov 7 17:49:09 UTC 2018
Date: Wednesday, November 7, 2018 @ 17:49:09
Author: felixonmars
Revision: 403018
upgpkg: haskell-pipes-http 1.0.5-171
rebuild with ghc 8.6.2
Modified:
haskell-pipes-http/trunk/PKGBUILD
----------+
PKGBUILD | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-11-07 17:48:27 UTC (rev 403017)
+++ PKGBUILD 2018-11-07 17:49:09 UTC (rev 403018)
@@ -4,7 +4,7 @@
_hkgname=pipes-http
pkgname=haskell-pipes-http
pkgver=1.0.5
-pkgrel=170
+pkgrel=171
pkgdesc="HTTP client with pipes interface"
url="https://hackage.haskell.org/package/${_hkgname}"
license=("custom:BSD3")
@@ -15,10 +15,10 @@
sha512sums=('48d2b7236d4f04688bdc083452346974031c3123003c9c0ffe32e00b70c2e1ef294e66f713e590a72fa9005d8bf9aa4daed22bf85fc0505ecd534662e4e4ed70')
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