[arch-commits] Commit in haskell-http-common/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Wed Nov 7 12:44:26 UTC 2018
Date: Wednesday, November 7, 2018 @ 12:44:25
Author: felixonmars
Revision: 402782
upgpkg: haskell-http-common 0.8.2.0-31
rebuild with ghc 8.6.2
Modified:
haskell-http-common/trunk/PKGBUILD
----------+
PKGBUILD | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-11-07 12:43:42 UTC (rev 402781)
+++ PKGBUILD 2018-11-07 12:44:25 UTC (rev 402782)
@@ -3,7 +3,7 @@
_hkgname=http-common
pkgname=haskell-http-common
pkgver=0.8.2.0
-pkgrel=30
+pkgrel=31
pkgdesc="Common types for HTTP clients and servers"
url="https://github.com/afcowie/http-common"
license=('custom:BSD3')
@@ -18,7 +18,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
@@ -30,9 +30,9 @@
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"
install -D -m644 "LICENCE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENCE"
rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENCE"
}
More information about the arch-commits
mailing list