[arch-commits] Commit in haskell-wai-cors/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Wed Nov 7 16:35:09 UTC 2018
Date: Wednesday, November 7, 2018 @ 16:35:09
Author: felixonmars
Revision: 402926
upgpkg: haskell-wai-cors 0.2.6-67
rebuild with ghc 8.6.2
Modified:
haskell-wai-cors/trunk/PKGBUILD
----------+
PKGBUILD | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-11-07 16:34:32 UTC (rev 402925)
+++ PKGBUILD 2018-11-07 16:35:09 UTC (rev 402926)
@@ -4,7 +4,7 @@
_hkgname=wai-cors
pkgname=haskell-wai-cors
pkgver=0.2.6
-pkgrel=66
+pkgrel=67
pkgdesc="CORS for WAI"
url="https://github.com/larskuhtz/wai-cors"
license=("MIT")
@@ -16,10 +16,10 @@
sha512sums=('aa1454096e6243edd48cf52d2e9ad27f174fe934b2256c58bec84c6da2de899e523ff70af783e458fe5f95d51371d2111d8f979cc89a0ecbf646b23a74ae6617')
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
@@ -29,11 +29,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