[arch-commits] Commit in haskell-aeson-better-errors/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Thu Sep 21 06:46:00 UTC 2017
Date: Thursday, September 21, 2017 @ 06:46:00
Author: felixonmars
Revision: 258946
upgpkg: haskell-aeson-better-errors 0.9.1.0-30
rebuild with aeson,1.2.2.0
Modified:
haskell-aeson-better-errors/trunk/PKGBUILD
----------+
PKGBUILD | 11 ++++-------
1 file changed, 4 insertions(+), 7 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-09-21 06:45:23 UTC (rev 258945)
+++ PKGBUILD 2017-09-21 06:46:00 UTC (rev 258946)
@@ -5,7 +5,7 @@
_hkgname=aeson-better-errors
pkgname=haskell-aeson-better-errors
pkgver=0.9.1.0
-pkgrel=29
+pkgrel=30
pkgdesc="Better error messages when decoding JSON values."
url="https://github.com/hdgarrood/aeson-better-errors"
license=("MIT")
@@ -18,8 +18,8 @@
build() {
cd "${srcdir}/${_hkgname}-${pkgver}"
-
- runhaskell Setup configure -O --enable-shared --enable-executable-dynamic \
+
+ runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \
--prefix=/usr --docdir="/usr/share/doc/${pkgname}" \
--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
runhaskell Setup build
@@ -31,13 +31,10 @@
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}"
install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
-
- # Remove static libs
- find "$pkgdir"/usr/lib -name "*.a" -delete
}
More information about the arch-commits
mailing list