[arch-commits] Commit in haskell-pandoc-types/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Mon Aug 14 06:16:04 UTC 2017
Date: Monday, August 14, 2017 @ 06:16:04
Author: felixonmars
Revision: 250181
upgpkg: haskell-pandoc-types 1.17.0.5-24
rebuild with aeson,1.2.1.0
Modified:
haskell-pandoc-types/trunk/PKGBUILD
----------+
PKGBUILD | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-08-14 06:10:26 UTC (rev 250180)
+++ PKGBUILD 2017-08-14 06:16:04 UTC (rev 250181)
@@ -5,7 +5,7 @@
_hkgname=pandoc-types
pkgname=haskell-pandoc-types
pkgver=1.17.0.5
-pkgrel=23
+pkgrel=24
pkgdesc="Types for representing a structured document"
url="http://johnmacfarlane.net/pandoc"
license=("custom:BSD3")
@@ -15,12 +15,14 @@
sha256sums=('c8825588b587ff5ed0c105156a11a43f3b752279997231cfc13102809bbc51b3')
prepare() {
- sed -i 's/syb >= 0.1 && < 0.7,/syb >= 0.1 \&\& < 0.8,/' $_hkgname-$pkgver/$_hkgname.cabal
+ sed -e 's/syb >= 0.1 && < 0.7,/syb >= 0.1 \&\& < 0.8,/' \
+ -e 's/aeson >= 0.6.2 && < 1.2,/aeson >= 0.6.2 \&\& < 1.3,/' \
+ -i $_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
@@ -34,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"
install -d -m755 "${pkgdir}/usr/share/doc/ghc/html/libraries"
More information about the arch-commits
mailing list