[arch-commits] Commit in haskell-xml-hamlet/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Wed Aug 23 07:58:44 UTC 2017
Date: Wednesday, August 23, 2017 @ 07:58:43
Author: felixonmars
Revision: 253050
upgpkg: haskell-xml-hamlet 0.4.1-45
rebuild with xml-conduit,1.6.0
Modified:
haskell-xml-hamlet/trunk/PKGBUILD
----------+
PKGBUILD | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-08-23 07:54:59 UTC (rev 253049)
+++ PKGBUILD 2017-08-23 07:58:43 UTC (rev 253050)
@@ -5,7 +5,7 @@
_hkgname=xml-hamlet
pkgname=haskell-xml-hamlet
pkgver=0.4.1
-pkgrel=44
+pkgrel=45
pkgdesc="Hamlet-style quasiquoter for XML content"
url="http://www.yesodweb.com/"
license=("custom:BSD3")
@@ -17,13 +17,13 @@
sha256sums=('7df390f59599a0b16831c3f2cbb13ad0bebb92faa4a350fc6ae613bfba4ec2bb')
prepare() {
- sed -i 's/, xml-conduit >= 1.0 && < 1.5/, xml-conduit >= 1.0 \&\& < 1.6/' \
+ sed -i 's/, xml-conduit >= 1.0 && < 1.5/, xml-conduit >= 1.0/' \
${_hkgname}-${pkgver}/${_hkgname}.cabal
}
build() {
cd "${srcdir}/${_hkgname}-${pkgver}"
-
+
runhaskell Setup configure -O --enable-shared --enable-executable-dynamic \
--prefix=/usr --docdir="/usr/share/doc/${pkgname}" \
--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
@@ -36,7 +36,7 @@
package() {
cd "${srcdir}/${_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}"
More information about the arch-commits
mailing list