[arch-commits] Commit in haskell-aeson-pretty/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Thu Sep 21 06:51:09 UTC 2017
Date: Thursday, September 21, 2017 @ 06:51:08
Author: felixonmars
Revision: 258954
upgpkg: haskell-aeson-pretty 0.8.5-12
rebuild with aeson,1.2.2.0
Modified:
haskell-aeson-pretty/trunk/PKGBUILD
----------+
PKGBUILD | 11 ++++-------
1 file changed, 4 insertions(+), 7 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-09-21 06:51:01 UTC (rev 258953)
+++ PKGBUILD 2017-09-21 06:51:08 UTC (rev 258954)
@@ -5,7 +5,7 @@
_hkgname=aeson-pretty
pkgname=haskell-aeson-pretty
pkgver=0.8.5
-pkgrel=11
+pkgrel=12
pkgdesc="JSON pretty-printing library and command-line tool."
url="http://github.com/informatikr/aeson-pretty"
license=("custom:BSD3")
@@ -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 \
-f-lib-only
@@ -32,13 +32,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