[arch-commits] Commit in haskell-html/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Tue Nov 6 19:04:58 UTC 2018
Date: Tuesday, November 6, 2018 @ 19:04:58
Author: felixonmars
Revision: 401912
upgpkg: haskell-html 1.0.1.2-11
rebuild with ghc 8.6.1
Modified:
haskell-html/trunk/PKGBUILD
----------+
PKGBUILD | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-11-06 19:04:22 UTC (rev 401911)
+++ PKGBUILD 2018-11-06 19:04:58 UTC (rev 401912)
@@ -4,7 +4,7 @@
_hkgname=html
pkgname=haskell-html
pkgver=1.0.1.2
-pkgrel=10
+pkgrel=11
pkgdesc="HTML combinator library"
url="https://hackage.haskell.org/package/${_hkgname}"
license=("custom:BSD3")
@@ -15,10 +15,10 @@
sha512sums=('e7ce2be53ce4c7898aa8772c34d1469a90fcb5258ffec0cb1da544f334b6f13ecb73060dfec2284622be1156a2adbadec8b9cac5088c1ca9d84edfb50719b9e0')
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